$(function() { 
	$(".gb_relimg a").mouseover(function(){
	
	$(".gb_relimg a").removeAttr("className")
										 
	$(".gb_relimg a").each(function(){
		if ($(this).attr("className")=="gb_active")
		{
			$(this).removeAttr("className")
		}
		else
		{
			//$(this).attr("className","gb_active")
			{$(this).mouseover(function(){$(this).attr("className","gb_active")})};
		}
	});
			
  			$(this).attr("className","gb_active")
			$(".gb_relimg_show").attr("src",$(this).attr("rel"));
			$(".gb_relimg_show").attr("jqimg",$(this).attr("rel"));

});
	
	$(".jqzoom").jqueryzoom({
				xzoom: 250, //zooming div default width(default width value is 200)
				yzoom: 250, //zooming div default width(default height value is 200)
				offset: 10, //zooming div default offset(default offset value is 10)
				position: "right", //zooming div position(default position value is "right")
 				preload:1,
				lens:1
});
});


