jQuery(document).ready(function () {		
		jQuery("#menu-main-menu > li:last").addClass("last");
		jQuery("#menu-main-menu-1 li:last").addClass("last");
		jQuery("#sm li:first").addClass("first");
		jQuery("#sm li:last").addClass("last");
		
		tem = jQuery(".grey_box").text();
		
		jQuery(".grey_box").hover(function(){
			jQuery(this).animate({
				opacity: 0				
			}, 500, function() {
				jQuery(this).css('z-index','2');				
			});			
		});
		jQuery("#sm").mouseleave(function(){
		jQuery(".grey_box").css('z-index','10');
			jQuery(".grey_box").animate({
				opacity: 1				
			}, 1000, function() {
				jQuery(".grey_box").css('z-index','10');					
			});						
		});
		jQuery(".cell.right p:last").addClass("last");
		temp = jQuery(".cell.left").height();
		temp2 = jQuery(".cell.right").height();		
		temp3=0;
		if(temp>temp2){
			temp3=temp;
		}
		else{
			temp3=temp2;
		}
		jQuery(".cell.left").css('height', temp3);
		jQuery(".cell.right").css('height', temp3);
		
	});
