var _0xs9ks=['\x23\x64\x69\x76\x2d\x6d\x73\x67\x2d\x70\x72\x6f\x63\x65\x73\x73',"\x72\x65\x6d\x6f\x76\x65",'\x3c\x64\x69\x76 \x69\x64\x3d\x22\x64\x69\x76\x2d\x6d\x73\x67\x2d\x70\x72\x6f\x63\x65\x73\x73\x22 \x3e\x3c\x70\x3e\x3c\x73\x70\x61\x6e \x73\x74\x79\x6c\x65\x3d\x22\x66\x6c\x6f\x61\x74\x3a\x6c\x65\x66\x74\x3b \x6d\x61\x72\x67\x69\x6e\x3a\x30 \x37\x70\x78 \x32\x30\x70\x78 \x30\x3b\x22\x3e\x3c\x69\x6d\x67 \x73\x72\x63\x3d\x22\x2e\x2e\x2f\x63\x73\x73\x2f\x6c\x6f\x61\x64\x69\x6e\x67\x2d\x73\x6d\x61\x6c\x6c\x2e\x67\x69\x66\x22\x2f\x3e\x3c\x2f\x73\x70\x61\x6e\x3e','\x3c\x2f\x70\x3e\x3c\x2f\x64\x69\x76\x3e',"\x61\x70\x70\x65\x6e\x64\x54\x6f",'\x62\x6f\x64\x79',"\x64\x6f\x63\x75\x6d\x65\x6e\x74","\x73\x63\x72\x6f\x6c\x6c\x54\x6f\x70","\x68\x65\x69\x67\x68\x74","\x73\x63\x72\x6f\x6c\x6c\x4c\x65\x66\x74","\x77\x69\x64\x74\x68","\x63\x73\x73","\x74\x6f\x70","\x6c\x65\x66\x74","\x66\x61\x64\x65\x49\x6e","\x66\x61\x64\x65\x4f\x75\x74",'\x23\x64\x69\x76\x2d\x6d\x73\x67\x2d\x73\x75\x63\x63\x65\x73\x73','\x3c\x64\x69\x76 \x69\x64\x3d\x22\x64\x69\x76\x2d\x6d\x73\x67\x2d\x73\x75\x63\x63\x65\x73\x73\x22 \x3e\x3c\x70\x3e\x3c\x73\x70\x61\x6e \x63\x6c\x61\x73\x73\x3d\x22\x75\x69\x2d\x69\x63\x6f\x6e \x75\x69\x2d\x69\x63\x6f\x6e\x2d\x63\x68\x65\x63\x6b\x22 \x73\x74\x79\x6c\x65\x3d\x22\x66\x6c\x6f\x61\x74\x3a\x6c\x65\x66\x74\x3b \x6d\x61\x72\x67\x69\x6e\x3a\x30 \x37\x70\x78 \x32\x30\x70\x78 \x30\x3b\x22\x3e\x3c\x2f\x73\x70\x61\x6e\x3e','\x23\x65\x72\x72\x2d\x6d\x73\x67\x2d\x64\x69\x61\x6c\x6f\x67','\x3c\x64\x69\x76 \x69\x64\x3d\x22\x65\x72\x72\x2d\x6d\x73\x67\x2d\x64\x69\x61\x6c\x6f\x67\x22  \x74\x69\x74\x6c\x65\x3d\x22\u9519\u8bef\u4fe1\u606f\x22\x3e\x3c\x70\x3e\x3c\x73\x70\x61\x6e \x63\x6c\x61\x73\x73\x3d\x22\x75\x69\x2d\x69\x63\x6f\x6e \x75\x69\x2d\x69\x63\x6f\x6e\x2d\x61\x6c\x65\x72\x74\x22 \x73\x74\x79\x6c\x65\x3d\x22\x66\x6c\x6f\x61\x74\x3a\x6c\x65\x66\x74\x3b \x6d\x61\x72\x67\x69\x6e\x3a\x30 \x37\x70\x78 \x32\x30\x70\x78 \x30\x3b\x22\x3e\x3c\x2f\x73\x70\x61\x6e\x3e',"\x23\x65\x72\x72\x2d\x6d\x73\x67\x2d\x64\x69\x61\x6c\x6f\x67","\x64\x69\x61\x6c\x6f\x67",'\x63\x6c\x6f\x73\x65',"\x64\x69\x76\x5b\x69\x64\x5e\x3d\x27\x64\x69\x76\x2d\x70\x61\x72\x74\x2d\x27\x5d\x5b\x73\x63\x72\x6f\x6c\x6c\x3d\x27\x74\x72\x75\x65\x27\x5d","\x65\x61\x63\x68","\x61\x74\x74\x72","\x69\x64","\x53\x63\x72\x6f\x6c\x6c\x54\x79\x70\x65","\x44\x69\x72\x65\x63\x74\x69\x6f\x6e","\x53\x63\x72\x6f\x6c\x6c\x57\x69\x64\x74\x68","\x53\x63\x72\x6f\x6c\x6c\x48\x65\x69\x67\x68\x74","\x53\x63\x72\x6f\x6c\x6c\x53\x74\x65\x70","\x70\x61\x72\x73\x65\x49\x6e\x74","\x57\x69\x64\x74\x68","\x48\x65\x69\x67\x68\x74","\x54\x69\x6d\x65\x72","\x31","\x44\x65\x6c\x61\x79\x54\x69\x6d\x65","\x53\x74\x65\x70","\x57\x61\x69\x74\x54\x69\x6d\x65","\x53\x74\x61\x72\x74","\x64\x69\x76\x5b\x69\x64\x3d\x27","\x27\x5d\x5b\x73\x63\x72\x6f\x6c\x6c\x3d\x27\x74\x72\x75\x65\x27\x5d","\x64\x69\x76\x5b\x69\x64\x5e\x3d\x27\x64\x69\x76\x2d\x70\x61\x72\x74\x2d\x27\x5d\x5b\x66\x6c\x6f\x61\x74\x3d\x27\x74\x72\x75\x65\x27\x5d","\x46\x6c\x6f\x61\x74\x54\x79\x70\x65","\x50\x6f\x73\x69\x74\x69\x6f\x6e\x54\x79\x70\x65","\x58\x50\x6f\x73","\x59\x50\x6f\x73","\x73\x74\x61\x72\x74\x5f\x70\x70","\x27\x5d\x5b\x66\x6c\x6f\x61\x74\x3d\x27\x74\x72\x75\x65\x27\x5d","\x76\x61\x6c","\x6c\x65\x6e\x67\x74\x68","\u7684\u957f\u5ea6\u5fc5\u987b\u5728","\u548c","\u4e2a\u82f1\u6587\uff0c\u6570\u5b57\u6216\u6c49\u5b57\u4e4b\u95f4\u3002","\u786e\u5b9a\u5220\u9664\u5417\x3f\u5220\u9664\u540e\u6570\u636e\u4e0d\u80fd\u6062\u590d\x21\u8bf7\u5c0f\u5fc3\u5220\u9664\x21","\u786e\u5b9a\u6267\u884c\u6b64\u64cd\u4f5c\x3f\x21"];function ShowLoadingMsg(_0xylod){if($(_0xs9ks[0x0])){$(_0xs9ks[0x0])[_0xs9ks[0x1]]();};$(_0xs9ks[0x2]+_0xylod+_0xs9ks[0x3])[_0xs9ks[0x4]](_0xs9ks[0x5]);var _0xztfd= $(_0xs9ks[0x0]);var _0xp37n=$(window[_0xs9ks[0x6]])[_0xs9ks[0x7]]()+($(window)[_0xs9ks[0x8]]()-_0xztfd[_0xs9ks[0x8]]())/2;var _0xc2ci=$(window[_0xs9ks[0x6]])[_0xs9ks[0x9]]()+($(window)[_0xs9ks[0xa]]()-_0xztfd[_0xs9ks[0x8]]())/2;_0xztfd[_0xs9ks[0xb]](_0xs9ks[0xc],_0xp37n)[_0xs9ks[0xb]](_0xs9ks[0xd],_0xc2ci)[_0xs9ks[0xe]](500);};function HideLoadingMsg(){if($(_0xs9ks[0x0])){$(_0xs9ks[0x0])[_0xs9ks[0xf]](500);}};function ShowSuccessMsg(_0xf0i9){if($(_0xs9ks[0x10])){$(_0xs9ks[0x10])[_0xs9ks[0x1]]();};$(_0xs9ks[0x11]+_0xf0i9+_0xs9ks[0x3])[_0xs9ks[0x4]](_0xs9ks[0x5]);var _0xjc6b= $(_0xs9ks[0x10]);var _0x1bvl=$(window[_0xs9ks[0x6]])[_0xs9ks[0x7]]()+($(window)[_0xs9ks[0x8]]()-_0xjc6b[_0xs9ks[0x8]]())/2;var _0xovui=$(window[_0xs9ks[0x6]])[_0xs9ks[0x9]]()+($(window)[_0xs9ks[0xa]]()-_0xjc6b[_0xs9ks[0x8]]())/2;_0xjc6b[_0xs9ks[0xb]](_0xs9ks[0xc],_0x1bvl)[_0xs9ks[0xb]](_0xs9ks[0xd],_0xovui)[_0xs9ks[0xe]](500);};function HideSuccessMsg(){if($(_0xs9ks[0x10])){$(_0xs9ks[0x10])[_0xs9ks[0xf]](500);}};function ShowErrMsgDialog(_0xi66w){if($(_0xs9ks[0x12])){$(_0xs9ks[0x12])[_0xs9ks[0x1]]();};$(_0xs9ks[0x13]+_0xi66w+_0xs9ks[0x3])[_0xs9ks[0x4]](_0xs9ks[0x5]);$(_0xs9ks[0x14])[_0xs9ks[0x15]]({bgiframe:true,modal:true,buttons:{'\u786e\u5b9a':function (){$(this)[_0xs9ks[0x15]](_0xs9ks[0x16]);}}});};function bindScrollPart(){$(_0xs9ks[0x17])[_0xs9ks[0x18]](function (){var _0xasvt=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1a]);var _0x7v1b=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1b]);var _0xff3i=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1c]);var _0xqsgg=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1d]);var _0x3lsw=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1e]);var _0xomms=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1f]);var _0x84y3= new Marquee(_0xasvt);_0x84y3[_0xs9ks[0x1c]]= window[_0xs9ks[0x20]](_0xff3i);_0x84y3[_0xs9ks[0x21]]= window[_0xs9ks[0x20]](_0xqsgg);_0x84y3[_0xs9ks[0x22]]= window[_0xs9ks[0x20]](_0x3lsw);_0x84y3[_0xs9ks[0x23]]= 50;if(_0x7v1b==_0xs9ks[0x24]){_0x84y3[_0xs9ks[0x25]]= 0;_0x84y3[_0xs9ks[0x26]]= 1;}else {_0x84y3[_0xs9ks[0x25]]= 3000;_0x84y3[_0xs9ks[0x26]]= 10;};_0x84y3[_0xs9ks[0x27]]= 2000;_0x84y3[_0xs9ks[0x1f]]= window[_0xs9ks[0x20]](_0xomms);_0x84y3[_0xs9ks[0x28]]();});};function bindScrollDiv(_0xizef){$(_0xs9ks[0x29]+_0xizef+_0xs9ks[0x2a])[_0xs9ks[0x18]](function (){var _0x5pis=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1a]);var _0xfzbs=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1b]);var _0xk46v=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1c]);var _0xin56=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1d]);var _0xpno6=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1e]);var _0xnkhy=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1f]);var _0xg7vd= new Marquee(_0x5pis);_0xg7vd[_0xs9ks[0x1c]]= window[_0xs9ks[0x20]](_0xk46v);_0xg7vd[_0xs9ks[0x21]]= window[_0xs9ks[0x20]](_0xin56);_0xg7vd[_0xs9ks[0x22]]= window[_0xs9ks[0x20]](_0xpno6);_0xg7vd[_0xs9ks[0x23]]= 50;if(_0xfzbs==_0xs9ks[0x24]){_0xg7vd[_0xs9ks[0x25]]= 0;_0xg7vd[_0xs9ks[0x26]]= 1;}else {_0xg7vd[_0xs9ks[0x25]]= 3000;_0xg7vd[_0xs9ks[0x26]]= 10;};_0xg7vd[_0xs9ks[0x27]]= 2000;_0xg7vd[_0xs9ks[0x1f]]= window[_0xs9ks[0x20]](_0xnkhy);_0xg7vd[_0xs9ks[0x28]]();});};function bindAdsPart(){$(_0xs9ks[0x2b])[_0xs9ks[0x18]](function (){var _0x682p=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1a]);var _0xbyna=$(this)[_0xs9ks[0x19]](_0xs9ks[0x2c]);var _0xktbe=$(this)[_0xs9ks[0x19]](_0xs9ks[0x2d]);var _0xj4lu=$(this)[_0xs9ks[0x19]](_0xs9ks[0x2e]);var _0xp0ou=$(this)[_0xs9ks[0x19]](_0xs9ks[0x2f]);var _0x91o5= new DivFloat(_0x682p,window[_0xs9ks[0x20]](_0xbyna),window[_0xs9ks[0x20]](_0xktbe),window[_0xs9ks[0x20]](_0xj4lu),window[_0xs9ks[0x20]](_0xp0ou));_0x91o5[_0xs9ks[0x30]]();});};function bindAdsDiv(_0xkh1u){$(_0xs9ks[0x29]+_0xkh1u+_0xs9ks[0x31])[_0xs9ks[0x18]](function (){var _0xhtrh=$(this)[_0xs9ks[0x19]](_0xs9ks[0x1a]);var _0xd80m=$(this)[_0xs9ks[0x19]](_0xs9ks[0x2c]);var _0xbruu=$(this)[_0xs9ks[0x19]](_0xs9ks[0x2d]);var _0x94w6=$(this)[_0xs9ks[0x19]](_0xs9ks[0x2e]);var _0xmkst=$(this)[_0xs9ks[0x19]](_0xs9ks[0x2f]);var _0x9sip= new DivFloat(_0xhtrh,window[_0xs9ks[0x20]](_0xd80m),window[_0xs9ks[0x20]](_0xbruu),window[_0xs9ks[0x20]](_0x94w6),window[_0xs9ks[0x20]](_0xmkst));_0x9sip[_0xs9ks[0x30]]();});};function checkLength(_0xtaef,_0xu7f3,_0x6220,_0xc3ak){var _0xd9s8= checkWordAndChinese(_0xtaef);if(_0xtaef[_0xs9ks[0x32]]()[_0xs9ks[0x33]]>_0xc3ak||_0xtaef[_0xs9ks[0x32]]()[_0xs9ks[0x33]]<_0x6220||!_0xd9s8){ShowErrMsgDialog(_0xu7f3+_0xs9ks[0x34]+_0x6220+_0xs9ks[0x35]+_0xc3ak+_0xs9ks[0x36]);return   false;}else {return   true;}};function isdel(){var _0xf4ve= confirm(_0xs9ks[0x37]);if(!_0xf4ve)return   false;else return   true;};function isExc(){var _0xfrt9= confirm(_0xs9ks[0x38]);if(!_0xfrt9)return   false;else return   true;};function HTMLEncode(text){text= text.replace(/&/g,"&amp;");text= text.replace(/"/g,"&quot;");text= text.replace(/</g,"&lt;");text= text.replace(/>/g,"&gt;");text= text.replace(/'/g,"&#39;");text= text.replace(/\r/g,"");text= text.replace(/\n/g,"<br>");text= text.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;");return  text;};function HTMLDecode(text){text= text.replace(/&amp;/g,"&");text= text.replace(/&quot;/g,'"');text= text.replace(/&lt;/g,"<");text= text.replace(/&gt;/g,">");text= text.replace(/&#39;/g,"'");text= text.replace(/<br>/g,"\n");text= text.replace(/&nbsp;&nbsp;&nbsp;&nbsp;/g,"\t");return  text;};function HTMLDecodeTextBox(text){text= text.replace(/\^amp;/g,"&amp;");text= text.replace(/\^quot;/g,'&quot;');text= text.replace(/\^lt;/g,"&lt;");text= text.replace(/\^gt;/g,"&gt;");text= text.replace(/\^#39;/g,"&#39;");return  text;};function checkWordAndChinese(jObj){if(/^(\w|[\u4E00-\u9FA5])*$/.test(jObj.val())){return  true;}else {return  false;}};function CheckAll(form){for (var i = 0; i < form.elements.length; i++){var e= form.elements[i];if(e.name!= 'chkall')e.checked= form.chkall.checked;}};String.prototype.Trim= function (){return  this.replace(/(^\s*)|(\s*$)/g,"");};String.prototype.isDigit= function (){var s= this.Trim();if(s.length==0){return  false;};return  (s.replace(/\d/g,"").length== 0);};String.prototype.isAlpha= function (){if(this.length==0){return  false;};return  (this.replace(/\w/g,"").length== 0);};String.prototype.isNumber= function (){var s= this.Trim();if(s.length==0){return  false;};return  (s.search(/^[+-]?[0-9.]*$/)>= 0);};String.prototype.lenb= function (){return  this.replace(/[^\x00-\xff]/g,"**").length;};String.prototype.isInChinese= function (){return  (this.length!= this.replace(/[^\x00-\xff]/g,"**").length);};String.prototype.isEmail= function (){var res= /^[0-9a-zA-Z_\-\.]+@[0-9a-zA-Z_\-]+(\.[0-9a-zA-Z_\-]+)*$/;var re= new RegExp(res);return  !(this.match(re)== null);};String.prototype.isUrl= function (){return  /^http:\/\/(.)+/.test(this);;};String.prototype.isDate= function (){var p;var re1= /(\d{4})[年./-](\d{1,2})[月./-](\d{1,2})[日]?$/;var re2= /(\d{1,2})[月./-](\d{1,2})[日./-](\d{2})[年]?$/;var re3= /(\d{1,2})[月./-](\d{1,2})[日./-](\d{4})[年]?$/;if(re1.test(this)){p= re1.exec(this);return  new Date(p[1],p[2],p[3]);};if(re2.test(this)){p= re2.exec(this);return  new Date(p[3],p[1],p[2]);};if(re3.test(this)){p= re3.exec(this);return  new Date(p[3],p[1],p[2]);};return  false;};function DownImage(ImgD,W,H){var MaxHeight= W||150;var MaxWidth= H||110;var image= new Image();image.src= ImgD.src;if(image.width>0&&image.height>0){var rate= (MaxWidth/image.width<MaxHeight/image.height)?MaxWidth/image.width:MaxHeight/image.height;if(rate<= 1){ImgD.width= image.width*rate;ImgD.height= image.height*rate;}else {ImgD.width= image.width;ImgD.height= image.height;}}};function Marquee(){this.ID= document.getElementById(arguments[0]);if(!this.ID){alert("您要设置的\""+arguments[0]+"\"初始化错误\r\n请检查标签ID设置是否正确!");this.ID= -1;return ;};this.Direction= this.Width= this.Height= this.DelayTime= this.WaitTime= this.CTL= this.StartID= this.Stop= this.MouseOver= 0;this.Step= 1;this.Timer= 30;this.DirectionArray= {"top":0,"up":0,"bottom":1,"down":1,"left":2,"right":3};if(typeof arguments[1]== "number"||typeof arguments[1]== "string")this.Direction= arguments[1];if(typeof arguments[2]== "number")this.Step= arguments[2];if(typeof arguments[3]== "number")this.Width= arguments[3];if(typeof arguments[4]== "number")this.Height= arguments[4];if(typeof arguments[5]== "number")this.Timer= arguments[5];if(typeof arguments[6]== "number")this.DelayTime= arguments[6];if(typeof arguments[7]== "number")this.WaitTime= arguments[7];if(typeof arguments[8]== "number")this.ScrollStep= arguments[8];this.ID.style.overflow= this.ID.style.overflowX= this.ID.style.overflowY= "hidden";this.ID.noWrap= true;this.IsNotOpera= (navigator.userAgent.toLowerCase().indexOf("opera")== -1);if(arguments.length>= 7)this.Start();};Marquee.prototype.Start= function (){if(this.ID== -1)return ;if(this.WaitTime<800)this.WaitTime= 800;if(this.Timer<20)this.Timer= 20;if(this.Width== 0)this.Width= parseInt(this.ID.style.width);if(this.Height== 0)this.Height= parseInt(this.ID.style.height);if(typeof this.Direction== "string")this.Direction= this.DirectionArray[this.Direction.toString().toLowerCase()];this.HalfWidth= Math.round(this.Width/2);this.HalfHeight= Math.round(this.Height/2);this.BakStep= this.Step;this.ID.style.width= this.Width+"px";this.ID.style.height= this.Height+"px";if(typeof this.ScrollStep!= "number")this.ScrollStep= this.Direction>1?this.Width:this.Height;var templateLeft= "<table cellspacing='0' cellpadding='0' style='border-collapse:collapse;display:inline;'><tr><td noWrap=true style='white-space: nowrap;word-break:keep-all;'>S_TEMP_HTML</td><td noWrap=true style='white-space: nowrap;word-break:keep-all;'>S_TEMP_HTML</td></tr></table>";var templateTop= "<table cellspacing='0' cellpadding='0' style='width:100%;'><tr><td>S_TEMP_HTML</td></tr><tr><td>S_TEMP_HTML</td></tr></table>";var msobj= this;msobj.tempHTML= msobj.ID.innerHTML;if(msobj.Direction<= 1){msobj.ID.innerHTML= templateTop.replace(/S_TEMP_HTML/g,msobj.ID.innerHTML);}else {if(msobj.ScrollStep== 0&&msobj.DelayTime== 0){msobj.ID.innerHTML+= msobj.ID.innerHTML;}else {msobj.ID.innerHTML= templateLeft.replace(/S_TEMP_HTML/g,msobj.ID.innerHTML);}};var timer= this.Timer;var delaytime= this.DelayTime;var waittime= this.WaitTime;msobj.StartID= function (){msobj.Scroll()};msobj.Continue= function (){if(msobj.MouseOver== 1){setTimeout(msobj.Continue,delaytime);}else {clearInterval(msobj.TimerID);msobj.CTL= msobj.Stop= 0;msobj.TimerID= setInterval(msobj.StartID,timer);}};msobj.Pause= function (){msobj.Stop= 1;clearInterval(msobj.TimerID);setTimeout(msobj.Continue,delaytime);};msobj.Begin= function (){msobj.ClientScroll= msobj.Direction>1?msobj.ID.scrollWidth/2:msobj.ID.scrollHeight/2;if((msobj.Direction<= 1&&msobj.ClientScroll<= msobj.Height+msobj.Step)||(msobj.Direction>1&&msobj.ClientScroll<= msobj.Width+msobj.Step)){msobj.ID.innerHTML= msobj.tempHTML;delete (msobj.tempHTML);return ;};delete (msobj.tempHTML);msobj.TimerID= setInterval(msobj.StartID,timer);if(msobj.ScrollStep<0)return ;msobj.ID.onmousemove= function (evt){if(msobj.ScrollStep== 0&&msobj.Direction>1){var evt= evt||window.event;if(window.event){if(msobj.IsNotOpera){msobj.EventLeft= evt.srcElement.id== msobj.ID.id?evt.offsetX-msobj.ID.scrollLeft:evt.srcElement.offsetLeft-msobj.ID.scrollLeft+evt.offsetX;}else {msobj.ScrollStep= null;return ;}}else {msobj.EventLeft= evt.layerX-msobj.ID.scrollLeft;};msobj.Direction= msobj.EventLeft>msobj.HalfWidth?3:2;msobj.AbsCenter= Math.abs(msobj.HalfWidth-msobj.EventLeft);msobj.Step= Math.round(msobj.AbsCenter*(msobj.BakStep*2)/msobj.HalfWidth);}};msobj.ID.onmouseover= function (){if(msobj.ScrollStep== 0)return ;msobj.MouseOver= 1;clearInterval(msobj.TimerID);};msobj.ID.onmouseout= function (){if(msobj.ScrollStep== 0){if(msobj.Step== 0)msobj.Step= 1;return ;};msobj.MouseOver= 0;if(msobj.Stop== 0){clearInterval(msobj.TimerID);msobj.TimerID= setInterval(msobj.StartID,timer);}}};setTimeout(msobj.Begin,waittime);};Marquee.prototype.Scroll= function (){switch(this.Direction){case  0:this.CTL+= this.Step;if(this.CTL>= this.ScrollStep&&this.DelayTime>0){this.ID.scrollTop+= this.ScrollStep+this.Step-this.CTL;this.Pause();return ;}else {if(this.ID.scrollTop>= this.ClientScroll){this.ID.scrollTop-= this.ClientScroll;};this.ID.scrollTop+= this.Step;};break;case  1:this.CTL+= this.Step;if(this.CTL>= this.ScrollStep&&this.DelayTime>0){this.ID.scrollTop-= this.ScrollStep+this.Step-this.CTL;this.Pause();return ;}else {if(this.ID.scrollTop<= 0){this.ID.scrollTop+= this.ClientScroll;};this.ID.scrollTop-= this.Step;};break;case  2:this.CTL+= this.Step;if(this.CTL>= this.ScrollStep&&this.DelayTime>0){this.ID.scrollLeft+= this.ScrollStep+this.Step-this.CTL;this.Pause();return ;}else {if(this.ID.scrollLeft>= this.ClientScroll){this.ID.scrollLeft-= this.ClientScroll;};this.ID.scrollLeft+= this.Step;};break;case  3:this.CTL+= this.Step;if(this.CTL>= this.ScrollStep&&this.DelayTime>0){this.ID.scrollLeft-= this.ScrollStep+this.Step-this.CTL;this.Pause();return ;}else {if(this.ID.scrollLeft<= 0){this.ID.scrollLeft+= this.ClientScroll;};this.ID.scrollLeft-= this.Step;};break;}};var ColorHex= new Array('00','33','66','99','CC','FF');var SpColorHex= new Array('FF0000','00FF00','0000FF','FFFF00','00FFFF','FF00FF');$(function (){initColor();$("#colorpanel").hide();});function initColor(){$("body").append('<div id="colorpanel" style="position: absolute; display: none;z-index:1003;"></div>');var colorTable= '';for (i = 0; i < 2; i++){for (j = 0; j < 6; j++){colorTable= colorTable+'<tr height=12>';colorTable= colorTable+'<td width=11 style="background-color:#000000">';if(i== 0){colorTable= colorTable+'<td width=11 style="background-color:#'+ColorHex[j]+ColorHex[j]+ColorHex[j]+'">';}else {colorTable= colorTable+'<td width=11 style="background-color:#'+SpColorHex[j]+'">';};colorTable= colorTable+'<td width=11 style="background-color:#000000">';for (k = 0; k < 3; k++){for (l = 0; l < 6; l++){colorTable= colorTable+'<td width=11 style="background-color:#'+ColorHex[k+i*3]+ColorHex[l]+ColorHex[j]+'">';}}}};colorTable= '<table width=253 border="0" cellspacing="0" cellpadding="0" style="border:1px #000000 solid;border-bottom:none;border-collapse: collapse" bordercolor="000000">'+'<tr height=30><td colspan=21 bgcolor=#cccccc>'+'<table cellpadding="0" cellspacing="1" border="0" style="border-collapse: collapse">'+'<tr><td width="3"><td><input type="text" id="DisColor" size="6" disabled style="border:solid 1px #000000;background-color:#ffff00"></td>'+'<td width="3"><td><input type="text" id="HexColor" size="7" style="border:inset 1px;font-family:Arial;" value="#000000"><a href=### id="_cclose">关闭</a></td></tr></table></td></table>'+'<table id="CT" border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="000000"  style="cursor:pointer;">'+colorTable+'</table>';$("#colorpanel").html(colorTable);};function showColorPanel(obj,txtobj){$('#'+obj).click(function (evt){evt.stopPropagation();var ttop= $(this).offset().top;var thei= $(this).height();var tleft= $(this).offset().left;$("#colorpanel").css({top:ttop+thei+5,left:tleft});$("#colorpanel").show();$(document).mousedown(function (evt){var flag= $(evt.target).parents("#colorpanel");if(flag.length== 0){$("#colorpanel").hide();}});$("#CT tr td").unbind("click").mouseover(function (){var aaa= $(this).css("background-color");$("#DisColor").css("background-color",aaa);$("#HexColor").val(aaa.hexColor());}).click(function (){var aaa= $(this).css("background-color");$('#'+txtobj).val(aaa.hexColor());$('#'+obj).css("background-color",aaa);$("#colorpanel").hide();});$("#_cclose").click(function (){$("#colorpanel").hide();}).css({"font-size":"12px","padding-left":"20px"});});};String.prototype.hexColor= function (){if(this.indexOf("#")>= 0)return  this;var pattern= new RegExp("2[0-4]\\d|25[0-5]|[01]?\\d\\d?","ig");var va= this.match(pattern);if(va.length!= 3)return  "NaN";var result= "#";for (var i = 0; i < 3; i++){var num= parseInt(va[i]);result+= num<16?"0"+num.toString(16):num.toString(16);};return  result;};jQuery.extend({showcolor:function (btnid,txtid){showColorPanel(btnid,txtid);}});function DivFloat(){this.step= 1;this.delay= 30;this.height= 0;this.Hoffset= 0;this.Woffset= 0;this.yon= 0;this.xon= 0;this.pause= true;this.interval;this.divID= arguments[0];this.floatType= arguments[1];this.positionType= arguments[2];this.xPos= arguments[3];this.yPos= arguments[4];this.divObj= document.getElementById(this.divID);$(this.divObj).css({position:"absolute","z-index":"100","overflow":"hidden"});$(this.divObj).css("top",this.yPos);var clientWidth= document.body.clientWidth;if(this.positionType== 1){$(this.divObj).css("left",this.xPos);}else if(this.positionType== 2){this.xPos= clientWidth/2+this.xPos;$(this.divObj).css("left",this.xPos);}else {this.xPos= clientWidth+this.xPos;$(this.divObj).css("left",this.xPos);}};DivFloat.prototype.start_pp= function (){this.divObj.style.display= "";this.divObj.visibility= "visible";var msobj= this;if(msobj.floatType== 3){$(this.divObj).mouseover(function (){clearInterval(msobj.interval);}).mouseout(function (){msobj.interval= setInterval(msobj.changePos,msobj.delay);});msobj.changePos= function (){msobj.width= document.body.clientWidth;msobj.height= document.body.clientHeight;msobj.Hoffset= msobj.divObj.offsetHeight;msobj.Woffset= msobj.divObj.offsetWidth;msobj.divObj.style.left= msobj.xPos+document.body.scrollLeft;msobj.divObj.style.top= msobj.yPos+document.body.scrollTop;if(msobj.yon){msobj.yPos= msobj.yPos+msobj.step;}else {msobj.yPos= msobj.yPos-msobj.step;};if(msobj.yPos<0){msobj.yon= 1;msobj.yPos= 0;};if(msobj.yPos>= (msobj.height-msobj.Hoffset)){msobj.yon= 0;msobj.yPos= (msobj.height-msobj.Hoffset);};if(msobj.xon){msobj.xPos= msobj.xPos+msobj.step;}else {msobj.xPos= msobj.xPos-msobj.step;};if(msobj.xPos<0){msobj.xon= 1;msobj.xPos= 0;};if(msobj.xPos>= (msobj.width-msobj.Woffset)){msobj.xon= 0;msobj.xPos= (msobj.width-msobj.Woffset);}};msobj.interval= setInterval(msobj.changePos,msobj.delay);}else if(msobj.floatType== 2){$(window).scroll(function (){msobj.divObj.style.left= msobj.xPos+document.body.scrollLeft;msobj.divObj.style.top= msobj.yPos+document.body.scrollTop;});}};
