
function uc_product_image_catalog_viewall_run() {
	/*$('#product_catalog_viewall_images tr td').children('div').hide();
	$('#product_catalog_viewall_images tr td').eq(0).addClass("active");
	$('#product_catalog_desc').html($('#product_catalog_viewall_images tr td').eq(0).children('div').html());
	$('#product_catalog_viewall_images tr td').children('a').parent().mouseover(function() {
		$(this).parent().parent().find('tr > td').removeClass('active');
		$(this).addClass("active");
		var oText = $(this).children('div').html();
		$('#product_catalog_desc').html(oText);
	});*/
	//edit by haitao
	
    init();
	$("#product_catalog_viewall_images td").mouseover(function(){
		thisclass = $(this).attr("class")
        if(thisclass != "tdwhitebg")  {
			id = $(this).attr("id");
			
			//description
			$(".projectdescription").each(function(){
				$(this).css("visibility", "");
			   $(this).hide();
			})
			$("#des_"+id).show();	
			//$("#product_catalog_viewall_images").attr("class","tablemask");
		}
	
	}).mouseout(function(){
	   //init();
	})
		
}
function init() {
     $(".projectdescription").each(function(){
		  $(this).hide();
    })
	$(".projectdescription").eq(0).css("display", "");
	$(".projectdescription").eq(0).css("visibility", "hidden");
   

}
$(document).ready(function() {
	uc_product_image_catalog_viewall_run();
	
});

