jQuery(document).ready(function(){
	
	$('.port_r_v_a').animate({ 'opacity' : '0.6'}, 500);
	$('.port_r_n_a').animate({ 'opacity' : '0.6'}, 500);
	$('.port_r_z').animate({ 'opacity' : '0.6'}, 500);
	
	$('.img_port_link .my_bg .my_bg2').css({
		'opacity' : '0',
		'display' : 'none'
		});

	$('.img_port_link .my_bg .my_bg2 span').css({
		'height' : '0px',
		'paddingTop' : '0px',
		'overflow' : 'hidden'
		});
	/*Port*/
	$('.img_port_link .my_bg').hover( function () {
			$('.my_bg2', this).css({'display' : 'block'});
			$('.my_bg2', this).stop(false,true).animate({opacity : 1} , 600);
			$('.my_bg2 span', this).stop(false,true).animate({'height' : '66px', 'paddingTop' : '10px'} , 200);
		}, function (){
			$('.my_bg2', this).stop(false,true).animate({opacity : 0} , 400); 
			$('.my_bg2 span', this).stop(false,true).animate({'height' : '0px', 'paddingTop' : '0'} , 300);
			
	});
	
	
	$('.last_link #my_last_work_pic #my_last_work_pic2').css({
		'opacity' : '0',
		'display' : 'none'
		});

	$('.last_link #my_last_work_pic #my_last_work_pic2 span').css({
		'height' : '0px',
		'paddingTop' : '0px',
		'overflow' : 'hidden'
		});
	/*Last work*/
	$('.last_link #my_last_work_pic').hover( function () {
			$('#my_last_work_pic2', this).css({'display' : 'block'});
			$('#my_last_work_pic2', this).stop(false,true).animate({opacity : 1} , 600);
			$('#my_last_work_pic2 span', this).stop(false,true).animate({'height' : '66px', 'paddingTop' : '10px'} , 200);
		}, function (){
			$('#my_last_work_pic2', this).stop(false,true).animate({opacity : 0} , 400); 
			$('#my_last_work_pic2 span', this).stop(false,true).animate({'height' : '0px', 'paddingTop' : '0'} , 300);
			
	});
	

	
	$('.port_r_v_a').hover( function(){
			$(this).stop(false,true).animate({'opacity' : '1'},400);
			$('img', this).stop(false,true).animate({'width' :  '186px'},300);
			$('a',this).css({'borderColor' : ' #fff'});
	},function(){
			$(this).stop(false,true).animate({'opacity' : '0.6'},400);
			$('img', this).stop(false,true).animate({'width' :  '140px'},200);
			$('a',this).css({'borderColor' : ' #98a9b8'});
	});
	
		$('.port_r_z').hover( function(){
			$(this).stop(false,true).animate({'opacity' : '1'},400);
	},function(){
			$(this).stop(false,true).animate({'opacity' : '0.6'},400);
	});
	
	
	
		$('.port_r_n_a').hover( function(){
			$(this).stop(false,true).animate({'opacity' : '1'},400);
			$('img', this).stop(false,true).animate({'width' :  '186px'},300);
			$('a',this).css({'borderColor' : ' #fff'});

	},function(){
			$(this).stop(false,true).animate({'opacity' : '0.6'},400);
			$('img', this).stop(false,true).animate({'width' :  '140px'},200);
			$('a',this).css({'borderColor' : ' #98a9b8'});
	});
	
});

