$(document).ready(function(){
	$('#btn_wrapper a').click(function(){
		var img = $(this).attr('href');
		
		$('#btn_wrapper a').removeClass('current');
		$(this).addClass('current');
		$('#pic img').attr('src', img);
		
		return false;
	});
	
	
	$('#folio_c1 li').hover(function(){
		$(this).addClass('hoverbg');
	}, function(){
		$(this).removeClass('hoverbg');
	});
	
	$('#home_c2 li').hover(function(){
		$(this).addClass('hoverbg');
		$(this).css('cursor', 'pointer');
		$(this).css('color', '#febf0f');
	}, function(){
		$(this).removeClass('hoverbg');
		$(this).css('color', '#383838');
	});
	
	$('#home_c2 li').click(function(){
		var url = $(this).attr('title');
		document.location = url;
	});
	
	$('.homelargepic').hover(function(){
		$(this).css('cursor', 'pointer');
	}, function(){
		//$(this).removeClass('hoverbg');
	});
	
	$('.homelargepic').click(function(){
		var url = $(this).attr('title');
		document.location = url;
	});
	
	$('#sendbtn_ro').hover(function(){
		$(this).attr('src', 'http://www.graphicline.ro/images/layout/frm_send_a_ro.gif');
	}, function(){
		$(this).attr('src', 'http://www.graphicline.ro/images/layout/frm_send_n_ro.gif');
	});
	
	$('#sendbtn_en').hover(function(){
		$(this).attr('src', 'http://www.graphicline.ro/images/layout/frm_send_a_en.gif');
	}, function(){
		$(this).attr('src', 'http://www.graphicline.ro/images/layout/frm_send_n_en.gif');
	});
});
