/*begin*/
/*2011-02-11 17:51:56*/
jQuery(function(){jQuery("#gameCategoryListPy li a").mouseover(function(){type=jQuery(this).html();if(type=="\u53f0\u670d\u6e38\u620f"||type=="\u7f51\u9875\u6e38\u620f")type="WEBG";jQuery("#gameCategoryListPy li").removeClass();jQuery(this).parent().addClass("currert");jQuery("#py_index").addClass("first");jQuery("#gameCategoryListPyFrame").show();html="";if(type=="O"||type=="U")html='<li style="width:200px; font-size:14px;">\u8be5\u5b57\u6bcd\u4e0b\u6682\u65e0\u6e38\u620f</li>';else for(key in gamelist)if(gamelist[key].name.toUpperCase()==
type)for(key1 in gamelist[key].list){if(gamelist[key].list[key1].hot==1)tmpclass='class="hotgame"';else tmpclass="";html+="<li "+tmpclass+'><a href="http://trading.5173.com/search/'+gamelist[key].list[key1].gameid+'.shtml" title="'+gamelist[key].list[key1].name+'">'+gamelist[key].list[key1].name+"</a></li>"}if(type!="WEBG")jQuery("#gameCategoryListPy li:last").addClass("last");if(type!="A")jQuery("#py_a").parent().addClass("sec");jQuery("#gameCategoryListPyFrame").html(html)});jQuery(".home_gamelist .title").mouseover(function(){_removeGameListDiv()});
jQuery(".appraise").mouseover(function(){_removeGameListDiv()});jQuery("#gameCategoryListPyFrame").bind("mouseleave",function(){_removeGameListDiv()});function _removeGameListDiv(){if(jQuery("#gameCategoryListPyFrame").css("display")=="block"){jQuery("#gameCategoryListPyFrame").hide();jQuery("#gameCategoryListPy li").removeClass();jQuery("#py_index").addClass("first");jQuery("#py_a").parent().addClass("sec");jQuery("#gameCategoryListPy li:last").addClass("last")}}jQuery("#gameCategoryListPy li:last").addClass("last");
jQuery("#diankaNavTab li").mouseover(function(){jQuery("#diankaNavTab li").removeClass("currert");jQuery(this).addClass("currert");jQuery(".cardlist").hide();jQuery("#diankaNavFrame"+this.id.substr(4)).show()});jQuery("#hotinfoTabNav li").mouseover(function(){jQuery("#hotinfoTabNav li").removeClass("currert");jQuery(this).addClass("currert");jQuery(".hotinfo_frame").hide();jQuery("#hotinfo"+this.id.substr(4)).show()})});
function Each(list,fun){for(var i=0,len=list.length;i<len;i++)fun(list[i],i)}var objs=document.getElementById("numID").getElementsByTagName("li");var tv=new TransformView("carousellist","playcarouse",200,objs.length,{onStart:function(){Each(objs,function(o,i){o.className=tv.Index==i?"currert":""})},Pause:3E3});tv.Start();Each(objs,function(o,i){o.onmouseover=function(){o.className="currert";tv.Auto=false;tv.Index=i;tv.Start()};o.onmouseout=function(){o.className="";tv.Auto=true;tv.Start()}});
if(document.getElementById("grouplist"))ued_marquee("grouplist",22,50,5E3);if(document.getElementById("marqueebox1"))ued_marquee("marqueebox1",21,50,3E3);if(document.getElementById("marqueebox2"))ued_marquee("marqueebox2",21,50,3E3);
function ued_marquee(id,lineheight,speed,delay){var t;var p=false;var o=document.getElementById(id);o.innerHTML+=o.innerHTML;o.onmouseover=function(){p=true};o.onmouseout=function(){p=false};o.scrollTop=0;function start(){t=setInterval(scrolling,speed);if(!p)o.scrollTop+=2}function scrolling(){if(o.scrollTop%lineheight!=0){o.scrollTop+=2;if(o.scrollTop>=o.scrollHeight/2)o.scrollTop=0}else{clearInterval(t);setTimeout(start,delay)}}setTimeout(start,delay)}
$(function(){var flash="http://images001.5173cdn.com/images/index/v3/1w/logo.swf";var flash_w=300;var flash_h=120;var transparent="transparent";var str_flash='<div id="flash">';str_flash+='<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+flash_w+'" height="'+flash_h+'">';str_flash+='<param name="movie" value="'+flash+'" />';str_flash+='<param name="quality" value="high" />';str_flash+='<param name="wmode" value="transparent">';str_flash+='<param name=bgcolor value="#FFFFFF>';
str_flash+='<param name="swfversion" value="6.0.65.0" />';str_flash+='<embed src="'+flash+'" width="'+flash_w+'" height="'+flash_h+'" bgcolor="#FFFFFF"  wmode="transparent"></embed>';str_flash+="</object>";str_flash+="</div>";$(str_flash).appendTo("H1");$("#flash").css({position:"absolute",width:flash_w,height:flash_h,"z-index":"999","margin-top":"-1px"})});

/*end*/