function iksaover(a){for(i=1;3>=i;i++)document.getElementById("iksa"+i).className="l1",document.getElementById("ksm"+i).style.display="none";document.getElementById("iksa"+a).className="l1 l11",document.getElementById("ksm"+a).style.display=""}function ejlover(a,b){for(biga=parseInt(document.getElementById("bigiall").innerHTML),smalla=parseInt(document.getElementById("ejl"+a+"all").innerHTML),i=0;smalla>i;i++)document.getElementById("ejl"+a+"_"+i).className="l3",document.getElementById("rsmall"+a+"_"+i).style.display="none";document.getElementById("ejl"+a+"_"+b).className="l3 l31",document.getElementById("rsmall"+a+"_"+b).style.display=""}function newscaponc(a){for(i=0;1>=i;i++)document.getElementById("newscap"+i).className="",document.getElementById("nmain"+i).style.display="none";document.getElementById("newscap"+a).className="a1",document.getElementById("nmain"+a).style.display=""}function banner(){function f(){b=a+1,b>$("#banner .d1").length-1&&(b=0),$("#banner .d1").eq(a).css("z-index","2"),$("#banner .d1").eq(b).css("z-index","1"),$("#banner .d1").eq(b).show(),$("#banner .d1").eq(a).fadeOut("slow"),$("#banner_id li").removeClass("nuw"),$("#banner_id li").eq(b).addClass("nuw"),a=b}var e,a=0,b=1,c=1e4,d=1;$("#banner .d1").hide(),$("#banner .d1").eq(0).fadeIn("slow"),$("#banner .d1").length>1?($("#banner_id li").eq(0).addClass("nuw"),e=setInterval(f,c),$("#banner_id li").click(function(){var b=$("#banner_id li").index(this);b!=a&&1==d&&(d=0,$("#banner .d1").eq(a).css("z-index","2"),$("#banner .d1").eq(b).css("z-index","1"),$("#banner .d1").eq(b).show(),$("#banner .d1").eq(a).fadeOut("slow",function(){d=1}),$("#banner_id li").removeClass("nuw"),$("#banner_id li").eq(b).addClass("nuw"),a=b)}),$("#banner_id").hover(function(){clearInterval(e)},function(){e=setInterval(f,c)})):$("#banner_id").hide()}function show_time(a){var c,e,f,g,h,b=new Date;b=b.getTime()+time_server_client,1==a?(time_end=time_end1,timerID=timerID1):2==a?(time_end=time_end2,timerID=timerID2):3==a?(time_end=time_end3,timerID=timerID3):4==a?(time_end=time_end4,timerID=timerID4):5==a&&(time_end=time_end5,timerID=timerID5),c=time_end-b,c>0?(e=parseInt(Math.floor(c/864e5)),c-=864e5*e,f=parseInt(Math.floor(c/36e5)),c-=36e5*f,g=parseInt(Math.floor(c/6e4)),c-=6e4*g,h=parseInt(Math.floor(c/1e3)),mm=Math.floor(c%1e3/100),tv=e+"<span class='s1'>天</span>",tv=tv+f+"<span class='s1'>时</span>",tv=tv+g+"<span class='s1'>分</span>",tv=tv+h+"."+mm+"<span class='s1'>秒</span>",document.getElementById("djs"+a).innerHTML="剩余："+tv,setTimeout("show_time("+a+")",100)):(tv="<span class='feng'>已结束</span>",document.getElementById("djs"+a).innerHTML=tv,document.getElementById("s"+a+"sj1").innerHTML=0,document.getElementById("s"+a+"sj2").innerHTML=0,document.getElementById("s"+a+"sj3").innerHTML=0,clearTimeout(timerID))}function updatePagesj(){4==xmlHttpsj.readyState&&(responsesj=xmlHttpsj.responseText,document.getElementById("dqsj1")&&(dsj1=document.getElementById("dqsj1").innerHTML,time_end1=new Date(dsj1),time_end1=time_end1.getTime()),document.getElementById("dqsj2")&&(dsj2=document.getElementById("dqsj2").innerHTML,time_end2=new Date(dsj2),time_end2=time_end2.getTime()),document.getElementById("dqsj3")&&(dsj3=document.getElementById("dqsj3").innerHTML,time_end3=new Date(dsj3),time_end3=time_end3.getTime()),document.getElementById("dqsj4")&&(dsj4=document.getElementById("dqsj4").innerHTML,time_end4=new Date(dsj4),time_end4=time_end4.getTime()),document.getElementById("dqsj5")&&(dsj5=document.getElementById("dqsj5").innerHTML,time_end5=new Date(dsj5),time_end5=time_end5.getTime()),time_now_server=new Date(responsesj),time_now_server=time_now_server.getTime(),time_now_client=new Date,time_now_client=time_now_client.getTime(),time_server_client=time_now_server-time_now_client,document.getElementById("dqsj1")&&(timerID1=setTimeout("show_time(1)",100)),document.getElementById("dqsj2")&&(timerID2=setTimeout("show_time(2)",100)),document.getElementById("dqsj3")&&(timerID3=setTimeout("show_time(3)",100)),document.getElementById("dqsj4")&&(timerID4=setTimeout("show_time(4)",100)),document.getElementById("dqsj5")&&(timerID5=setTimeout("show_time(5)",100)))}function userChecksj(){if(document.getElementById("dqsj1")){var a=document.getElementById("webhttp").innerHTML+"tem/sjCheck.php";xmlHttpsj.open("post",a,!0),xmlHttpsj.onreadystatechange=updatePagesj,xmlHttpsj.send(null)}}var responsesj,time_server_client,timerID,xs,time_end1,time_end2,time_end3,time_end4,time_end5,timerID1,timerID2,timerID3,timerID4,timerID5,xmlHttpsj=!1;try{xmlHttpsj=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{xmlHttpsj=new ActiveXObject("Microsoft.XMLHTTP")}catch(e2){xmlHttpsj=!1}}xmlHttpsj||"undefined"==typeof XMLHttpRequest||(xmlHttpsj=new XMLHttpRequest);