// JavaScript Document
/* 
	Trp JS Document 
	Author By Globalstech.LS
	date:2011-05-02
*/
jQuery(function($){
   $("tr.ModuleTitle_MenuBreak").css("display","none");
   $("tr.ModuleTitle_MenuItem td.ModuleTitle_MenuIcon").css("height","22px");
   $(".Trp_nav .navmenu-container ul.navmenu li").eq(0).css({}).end().not(":first").find("a").hover(function(){$(this).css({"background":"url(/portals/20/skins/trp_index/images/smenu_itembg.jpg) repeat-x","color":"#ffffff"})},function(){$(this).css({"background":"url(/portals/20/skins/trp_index/images/menu_itembg.jpg) 100% center no-repeat","color":"#646665"});
})

$(".cpjs-module-module").each(function(){
	var pi=$(this);
	var activep=pi.children(".sdxc-product-item:last");
	activep.addClass("p-show");
	pi.children(".sdxc-product-item").each(function(){
		$(this).hover(function(){
			if($(this).hasClass("p-show")) return;
			else{
				activep.removeClass("p-show");
				activep=$(this);
				activep.addClass("p-show");
			}
		},function(){})
	})
	
})
   
});
