var Speed_1 = 10; //速度(毫秒) var Space_1 = 20; //每次移动(px) var PageWidth_1 = 200 * 2; //翻页宽度 var interval_1 = 5000; //翻页间隔时间 var fill_1 = 0; //整体移位 var MoveLock_1 = false; var MoveTimeObj_1; var MoveWay_1="right"; var Comp_1 = 0; var AutoPlayObj_1=null; function GetObj(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval('document.all.'+objName)}} function AutoPlay_1(){clearInterval(AutoPlayObj_1);AutoPlayObj_1=setInterval('ISL_GoDown_1();ISL_StopDown_1();',interval_1)} function ISL_GoUp_1(){if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="left";MoveTimeObj_1=setInterval('ISL_ScrUp_1();',Speed_1);} function ISL_StopUp_1(){if(MoveWay_1 == "right"){return};clearInterval(MoveTimeObj_1);if((GetObj('ISL_Cont_1').scrollLeft-fill_1)%PageWidth_1!=0){Comp_1=fill_1-(GetObj('ISL_Cont_1').scrollLeft%PageWidth_1);CompScr_1()}else{MoveLock_1=false} AutoPlay_1()} function ISL_ScrUp_1(){if(GetObj('ISL_Cont_1').scrollLeft<=0){GetObj('ISL_Cont_1').scrollLeft=GetObj('ISL_Cont_1').scrollLeft+GetObj('List1_1').offsetWidth} GetObj('ISL_Cont_1').scrollLeft-=Space_1} function ISL_GoDown_1(){clearInterval(MoveTimeObj_1);if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="right";ISL_ScrDown_1();MoveTimeObj_1=setInterval('ISL_ScrDown_1()',Speed_1)} function ISL_StopDown_1(){if(MoveWay_1 == "left"){return};clearInterval(MoveTimeObj_1);if(GetObj('ISL_Cont_1').scrollLeft%PageWidth_1-(fill_1>=0?fill_1:fill_1+1)!=0){Comp_1=PageWidth_1-GetObj('ISL_Cont_1').scrollLeft%PageWidth_1+fill_1;CompScr_1()}else{MoveLock_1=false} AutoPlay_1()} function ISL_ScrDown_1(){if(GetObj('ISL_Cont_1').scrollLeft>=GetObj('List1_1').scrollWidth){GetObj('ISL_Cont_1').scrollLeft=GetObj('ISL_Cont_1').scrollLeft-GetObj('List1_1').scrollWidth} GetObj('ISL_Cont_1').scrollLeft+=Space_1} function CompScr_1(){if(Comp_1==0){MoveLock_1=false;return} var num,TempSpeed=Speed_1,TempSpace=Space_1;if(Math.abs(Comp_1)TempSpace){Comp_1-=TempSpace;num=TempSpace}else{num=Comp_1;Comp_1=0} GetObj('ISL_Cont_1').scrollLeft+=num;setTimeout('CompScr_1()',TempSpeed)}} function picrun_ini(){ GetObj("List2_1").innerHTML=GetObj("List1_1").innerHTML; GetObj('ISL_Cont_1').scrollLeft=fill_1>=0?fill_1:GetObj('List1_1').scrollWidth-Math.abs(fill_1); GetObj("ISL_Cont_1").onmouseover=function(){clearInterval(AutoPlayObj_1)} GetObj("ISL_Cont_1").onmouseout=function(){AutoPlay_1()} AutoPlay_1(); } function all_pro_div(){ document.getElementById("all_pro_div").style.display='block'; } function all_pro_div_out(){ document.getElementById("all_pro_div").style.display='none'; } function all_pro_div_over(){ document.getElementById("all_pro_div").style.display='block'; } function replace(){ var txt01 = document.getElementById('List1_1').innerHTML; txt01 = txt01.replace(/考研专业课资料-/g, " "); document.getElementById('List1_1').innerHTML = txt01; var txt02 = document.getElementById('List2_1').innerHTML; txt02 = txt02.replace(/考研专业课资料-/g, " "); document.getElementById('List2_1').innerHTML = txt02; }
CheckIsLogin1(); function CheckIsLogin1(){ document.getElementById('PnlLogOnStatus1').innerHTML = "\"载入中\"/"; var x = new AjaxRequest('XML', 'status'); x.para = []; x.post('logincheck', '/ajax.aspx', function(s){ var xml = x.createXmlDom(s); var status = xml.getElementsByTagName("status")[0].firstChild.data; if (status == 'ok') { document.getElementById('PnlLogOnStatus1').style.display = ""; document.getElementById('LoginFrom1').style.display = "none"; document.getElementById('PnlLogOnStatus1').innerHTML = GetUserInfo1(xml); } else { document.getElementById('PnlLogOnStatus1').style.display = "none"; document.getElementById('LoginFrom1').style.display = ""; } }); } function GetUserInfo1(xml){ var userInfo = "
" + "您好"+","+ "" + xml.getElementsByTagName("username")[0].firstChild.data + ""+"!"+ "欢迎来到考研1V1!"; userInfo = userInfo + "注销"; userInfo = userInfo + "   会员中心"; userInfo = userInfo + "   我的订单"; userInfo = userInfo + "
"; return userInfo; }
全部商品分类
function OnAllSearchCheckAndSubmit() { var keyword = document.getElementById("keyword").value; keyword = keyword.replace(/[\s ]{2,}/g, ' ') if (keyword == '' || keyword == null) { alert("请填写您想搜索的关键词"); return; } else { var strd = new Array(); strd = keyword.split(" "); if (strd.length > 3) { alert("请不要输入大于3个搜索的关键词"); return; } else { var stre = strd[0]; var strf = strd[1]; var strg = strd[2]; window.location = "/search.aspx?searchtype=0&stra=" + escape(stre) + "&strb=" + escape(strf) + "&strc=" + escape(strg); } } }
购物车()件
合作伙伴
友情连接欢迎优质同类网站与我站进行友链互换,要求各项数据对等. 联系QQ:528855965

业务合作广告服务关于我们 人才招聘网站地图

版权所有 2004-2016 可锐教育(kaoyan1v1.com) 浙ICP备16039064号-2 可锐考研村总部地址:杭州市下沙6号大街260号中自科技园3幢3层(下沙大学城) 电话:400-018-9832