/*Run It Easy , Javascript Package, leedoom@qq.com, (C)7113.Com*/(function(){var _Ri=function(o){this.doc=typeof o=="string"?document.getElementById(o):o;};window.$=function(o){return new _Ri(o)};_Ri.prototype={click:function(e){try{this.doc.onclick=e;}catch(r){}},dbclick:function(e){try{this.doc.ondblclick=e;}catch(r){}},over:function(e){try{this.doc.onmouseover=e;}catch(r){}},out:function(e){try{this.doc.onmouseout=e;}catch(r){}},move:function(e){try{this.doc.onmousemove=e;}catch(r){}},up:function(e){try{this.doc.onmouseup=e;}catch(r){}},down:function(e){try{this.doc.onmousedown=e;}catch(r){}},focus:function(e){try{this.doc.onfocus=e;}catch(r){}},blur:function(e){try{this.doc.onblur=e;}catch(r){}},change:function(e){try{this.doc.onchange=e;}catch(r){}},html:function(a){var t=typeof(a)=="string"?a:typeof(a)=="function"?a():"null";if(t!="null"&&t!=undefined)this.doc.innerHTML=t;return this.doc.innerHTML;},text:function(a){var t=typeof(a)=="string"?a:typeof(a)=="function"?a():"null";if(t!="null"&&t!=undefined){this.doc.innerText=t;}return this.doc.innerText;},css:function(a){var o=this.doc;for(var i in a)try{eval("o.style."+i+"='"+a[i]+"'");}catch(e){};},drag:function(){var o=this.doc;$(o).css({zIndex:100,position:"absolute",cursor:"move"});if(o.style.top==""&&o.style.left==""){var x=_Plugin.func.getPosition(o);$(o).css({top:x["top"]+"px",left:x["left"]+"px"});}$(o).down(function(){var f;f=function(event){if(_Plugin.setting.evtX==0){_Plugin.setting.evtX=event.clientX;_Plugin.setting.evtY=event.clientY;}else{var t,l,x=event.clientX,y=event.clientY;l=x-_Plugin.setting.evtX;t=y-_Plugin.setting.evtY;_Plugin.setting.evtX=x;_Plugin.setting.evtY=y;$(o).css({top:(t+parseInt(o.style.top)>0?t+parseInt(o.style.top):0)+"px",left:(l+parseInt(o.style.left)>0?l+parseInt(o.style.left):0)+"px"});}};var i=_Plugin.func.EventMonitor.add(document,"mousemove",f);$(o).up(function(event){with(_Plugin.setting){evtX=0;evtY=0;}_Plugin.func.EventMonitor.remove(document,"mousemove",f);});});},marquee:function(a,s){var o=this.doc;a=a=="top"?1:a=="right"?2:a=="bottom"?3:a=="left"?4:1;if(o)_Plugin.item.marquee.init(o,a,s);},show:function(){var n,t=300,s=t/10,f=1,obj=this.doc,fade,slide,k=arguments[0];if(obj.style.display!="none")return false;try{fade=typeof(k["fade"])!="number"?0:k["fade"]!=1?0:1;}catch(e){fade=0;}try{slide=typeof(k["slide"])!="number"?0:k["slide"]>3?0:k["slide"]<1?0:k["slide"];}catch(e){slide=0;}if(fade){try{if(_Plugin.isIE){with(obj.filters.alpha){n=opacity;opacity="0";}}else{n=obj.style.opacity;if(n=="")throw "!ie opacity";obj.style.opacity="0";}}catch(e){if(_Plugin.isIE)obj.style.filter="alpha(opacity=0)";else obj.style.opacity="0";}fade={flag:fade,start:0,end:100};}else{fade={flag:0,start:0,end:0};}with(obj.style){display="";visibility="visible";}if(slide)slide={flag:slide,width:0,height:0};else slide={flag:0,width:0,height:0};_Plugin.event["list"].push(function(){setTimeout(function(){_Plugin.trans(obj,fade,slide,t,s,f,0);},t/s);});},hide:function(){var n,t=300,s=t/10,f=1,obj=this.doc,fade,slide,k=arguments[0];if(obj.style.display=="none")return false;try{fade=k["fade"];typeof fade!="number"?fade=0:fade<2?fade=0:fade>2?fade=0:fade=fade;}catch(e){fade=0;}try{slide=k["slide"];typeof slide!="number"?slide=0:slide<4?slide=0:slide>6?slide=0:slide=slide;}catch(e){slide=0;}if(fade){try{if(_Plugin.isIE){with(obj.filters.alpha){n=opacity;opacity="100";}}else{n=obj.style.opacity;if(n=="")throw "!ie opacity";obj.style.opacity="1";}}catch(e){if(_Plugin.isIE)obj.style.filter="alpha(opacity=100)";else obj.style.opacity="1";}fade={flag:fade,start:0,end:100};}else{fade={flag:0,start:0,end:0};}if(slide)slide={flag:slide,width:0,height:0};else slide={flag:0,width:0,height:0};_Plugin.event["list"].push(function(){setTimeout(function(){_Plugin.trans(obj,fade,slide,t,s,f,1);},t/s);});}};window._Plugin={setting:{evtX:0,evtY:0},init:(function(){setInterval(function(){_Plugin.event.run();},10);document.write("<"+"!"+"--"+"le"+"ed"+"oo"+"m-"+"->");})(),isIE:document.all?true:false,event:{list:new Array(),action:false,run:function(){var t=_Plugin.event;if(!t.action&&t.list.length>0){t.action=true;t.list[0]();t.list.shift();}}},stopEvent:function(event){var e=window.event||event;if(e!="null"&&e!=undefined){try{e.stopPropagation();}catch(err){e.cancelBubble=true;}}},trans:function(obj,fade,slide,t,s,f,q){var n,sW=0,sH=0;if(f==1){if(obj.clientWidth==0||obj.clientHeight==0){_Plugin.event.action=false;return false;}slide["width"]=obj.clientWidth;slide["height"]=obj.clientHeight;}if(slide["flag"]){if(slide["flag"]<4){for(var i=0;i<f;i++){sW+=i<(s/4)?slide["width"]/s+(slide["width"]/s)/2:i<(s*3/4)?slide["width"]/s:(slide["width"]/s)/2;sH+=i<(s/4)?slide["height"]/s+(slide["height"]/s)/2:i<(s*3/4)?slide["height"]/s:(slide["height"]/s)/2;}}else{for(var i=0;i<f;i++){sW+=i<(s/4)?(slide["width"]/s)/2:i<(s*3/4)?slide["width"]/s:slide["width"]/s+(slide["width"]/s)/2;sH+=i<(s/4)?(slide["height"]/s)/2:i<(s*3/4)?slide["height"]/s:slide["height"]/s+(slide["height"]/s)/2;}}if(slide["flag"]==1||slide["flag"]===3||slide["flag"]===4||slide["flag"]===6){var cW=slide["flag"]===1||slide["flag"]===3?sW+"px":slide["width"]-sW>0?slide["width"]-sW+"px":0+"px";if(cW>slide["width"])cW=slide["width"];if(cW<0)cW=0;obj.style.width=cW}if(slide["flag"]==2||slide["flag"]===3||slide["flag"]===5||slide["flag"]===6){var cH=slide["flag"]===2||slide["flag"]===3?sH+"px":slide["height"]-sH>0?slide["height"]-sH+"px":0+"px";if(cH>slide["height"])cH=slide["height"];if(cH<0)cH=0;obj.style.height=cH;}}if(fade["flag"]>0){if(_Plugin.isIE){n=obj.filters.alpha.opacity;n=fade["flag"]>1?fade["end"]-fade["end"]*f/s:fade["end"]*f/s;obj.style.filter="alpha(opacity="+n+")";}else{n=obj.style.opacity;n=(fade["flag"]>1?fade["end"]-fade["end"]*f/s:fade["end"]*f/s)/100;obj.style.opacity=n;n*=100;}}if(!fade["flag"]&&!slide["flag"])f=s;if(f<s){++f;setTimeout(function(){_Plugin.trans(obj,fade,slide,t,s,f,q);},t/s);}else{if(q)obj.style.display="none";if(slide["width"]>0&&slide["height"]>0){with(obj.style){width = slide["width"]+"px";height = slide["height"]+"px";}}_Plugin.event["action"]=false;}},ajax:{url:"",method:"get",data:"",async:true,callback:new Object,xml:(function(){var xmlobj;if(window.ActiveXObject){xmlobj = new ActiveXObject("Microsoft.XMLHTTP");}else{if(window.XMLHttpRequest){xmlobj = new XMLHttpRequest();}}return xmlobj;})(),AppendUrl:function(){var RndAppend="Random=" + new Date().getTime();if(this.url.indexOf("?") == -1){this.url += "?" + RndAppend;}else{this.url += "&" + RndAppend;}},BackCall:function(XmlObj,CBObj){function innerCall(){if(XmlObj.readyState == 4){CBObj(XmlObj.responseText,XmlObj.getAllResponseHeaders());}}return innerCall;},Send:function(){var sUrl = this.url;var sMethod = this.method;var sAsync = this.async;var XmlObj = this.xml;var sCallBack = this.callback;try{XmlObj.open(sMethod,sUrl,sAsync);if(sMethod == "post"){if(document.all){XmlObj.SetRequestHeader("Content-Type","application/x-www-form-urlencoded");}else{XmlObj.setRequestHeader("Content-Type","application/x-www-form-urlencoded");}}if(!document.all){XmlObj.onreadystatechange = this.BackCall(XmlObj,sCallBack);}else{if(sAsync){XmlObj.onreadystatechange=this.BackCall(this.xml,sCallBack);}}XmlObj.send(this.data);}catch(Ex){alert(Ex);}},post:function(arg){this.url = arg["url"];this.method = arg["method"];this.data = arg["data"];this.callback = arg["callback"];this.AppendUrl();this.Send();}},item:{CovObj:undefined,FormObj:undefined,cover:{show:function(color,opact,autohide){var k=_Plugin.item.CovObj;if(k==undefined){k=_Plugin.func.create("","div");k.id="7113CoverDiv";opact=typeof opact!="number"?100:opact<0?100:opact>100?100:!_Plugin.isIE?opact/100:opact;color=color||"#000";$(k).css({zIndex:90,background:color,filter:"alpha(opacity="+opact+")",opacity:opact,border:"2px solid #00f",width:"0px",height:"0px",textAlign:"center",display:"none",position:"absolute",zIndex:"98"});$(k).html("&nbsp;");_Plugin.item.CovObj=k;}if(k.style.display!="none")return false;if(autohide)$(k).click(function(){_Plugin.item.cover.hide();});_Plugin.event.list.push(function(){setTimeout(function(){_Plugin.item.cover.trans(k,2,true);},100);});},trans:function(k,n,i){var w,h,t,l;n!=4?$(k).css({border:"2px solid #00f"}):$(k).css({border:"none"});with(document.documentElement){h=scrollHeight;w=scrollWidth;}if(document.body.scrollHeight>h){with(document.body){h=scrollHeight;w=scrollWidth;}}t=i?(h-h*n/4)/2:(h-h*(4-n)/4)/2;l=i?(w-w*n/4)/2:(w-w*(4-n)/4)/2;with(k.style){top=t+"px";left=l+"px";width=i?w*n/4+"px":w*(4-n)/4+"px";height=i?h*n/4+"px":h*(4-n)/4+"px";}if(n<4){++n;k.style.display="";setTimeout(function(){_Plugin.item.cover.trans(k,n,i);},50);}else{_Plugin.event.action=false;if(!i)$(k).css({display:"none"});}},hide:function(){var k=_Plugin.item.CovObj;if(k==undefined||k.style.display=="none")return false;_Plugin.event.list.push(function(){setTimeout(function(){_Plugin.item.cover.trans(k,2,false);},100);});}},form:{show:function(a){var w,h,d,aw,ah,sw,sh,t,l,s,k=_Plugin.item.FormObj;try{w=a["width"];}catch(e){w=200;}try{h=a["height"];}catch(e){h=100;}try{c=a["html"];}catch(e){c="&nbsp;";}try{t=a["top"];}catch(e){t=0;}try{l=a["left"];}catch(e){l=0;}try{s=a["css"];}catch(e){s={};}try{d=a["delay"];if(typeof(d)!="number"){d=0;}}catch(e){d=0;}if(k==undefined){k=_Plugin.func.create("","div");k.id="7113FormDiv";}with(document.documentElement){ah=clientHeight;sh=scrollTop;aw=clientWidth;sw=scrollLeft;}if(ah==0&&aw==0&&sh==0&&sw==0){with(document.body){ah=clientHeight;sh=scrollTop;aw=clientWidth;sw=scrollLeft;}}t=t=="center"?parseInt((ah-10)/2+sh)-100:t;l=l=="center"?parseInt((aw-200)/2+sw):l;$(k).css({zIndex:99,position:"absolute",width:w+"px",height:h+"px",display:"",top:t+"px",left:l+"px"});if(_Plugin.func.hasNode(s))$(k).css(s);$(k).html(c);d>0?setTimeout(function(){$(k).hide();},d):d=0;},hide:function(){var k=_Plugin.item.FormObj;$(k).hide();}},marquee:{eventArr:new Array(),init:function(o,a,s){var h,i;a=a<1?1:a>4?1:a;s=s||50;$(o).css({overflow:"hidden"});if(a==1||a==3)$(o).html("<div id=\""+o.id+"_1\">"+$(o).html()+"</div><div id=\""+o.id+"_2\">"+$(o).html()+"</div>");else if(a==2||a==4)$(o).html("<table cellpadding=\"0\" cellspace=\"0\" border=\"0\" style=\"border-collapse:collapse;display:inline;\"><tr><td id=\""+o.id+"_1\" noWrap=\"true\" style=\"white-space:nowrap;word-break:keep-all;\">"+$(o).html()+"</td><td id=\""+o.id+"_2\" noWrap=\"true\" style=\"white-space:nowrap;word-break:keep-all;\">"+$(o).html()+"</td></tr></table>");if(a==1)o.scrollTop=0;else if(a==2)o.scrollLeft=o.scrollWidth;else if(a==3)o.scrollTop=o.scrollHeight;else if(a==4)o.scrollLeft=0;h=setInterval(function(){_Plugin.item.marquee.move(o.id,a)},s);_Plugin.item.marquee.eventArr.push({obj:o,handle:h,direct:a});i=_Plugin.item.marquee.getIndex(o);$(o).over(function(){clearInterval(_Plugin.item.marquee.eventArr[i]["handle"])});$(o).out(function(){_Plugin.item.marquee.eventArr[i]["handle"]=setInterval(function(){_Plugin.item.marquee.move(o.id,a)},s)});},move:function(o,a){var pST,sI=$(o+"_1").doc,sII=$(o+"_1").doc,s=$(o).doc;if(a==1){s.scrollTop+=2;if(s.scrollTop>sI.offsetHeight){s.scrollTop=0;}}else if(a==2){if(sI.offsetLeft-s.scrollLeft>=0){s.scrollLeft+=sI.offsetWidth;}else{s.scrollLeft-=2;}}else if(a==3){if(sI.offsetTop-s.scrollTop>=0){s.scrollTop+=sII.offsetHeight;}else{s.scrollTop-=2;}}else if(a==4){s.scrollLeft+=2;if(s.scrollLeft>sI.offsetWidth){s.scrollLeft=0;}}},getIndex:function(o){if(!o)return -1;with(_Plugin.item.marquee){for(var i=0;i<eventArr.length;i++){if(eventArr[i]["obj"]==o){return i;break;}}}return -1;}}},func:{EventMonitor:{add:function(o,t,f){if(o.addEventListener){o.addEventListener(t,f,false);}else if(o.attachEvent){o.attachEvent('on'+t,f);}},remove:function(o,t,f){try{if(o.removeEventListener){o.removeEventListener(t,f,false);}else if(o.detachEvent){o.detachEvent('on'+t,f);}}catch(e){}}},create:function(doc,tag){var Doc=doc||document.body,k=document.createElement(tag);return Doc.appendChild(k);},hasNode:function(a){for(var i in a)return true;return false;},getPosition:function(a){var t=$(a).doc;try{var h=t.offsetTop,w=t.offsetLeft;while(t==t.offsetParent){h+=t.offsetTop;w+=t.offsetLeft;}return {left:w,top:h};}catch(e){return {left:0,top:0}}},getParent:function(a){try{return $(a).doc.parentNode;}catch(e){return undefined;}},eachNode:function(node,tag,fun){function eachnode(node){node=$(node).doc;var n=node.firstChild;while(n){var next=n.nextSibling;try{tag==""?fun(n):n.tagName==tag.toUpperCase()?fun(n):"";}catch(e){}if(!eachnode(n))return false;n=next;}return true;};eachnode(node);}}};})();
