var isIE=(navigator.appName.indexOf("Microsoft")!=-1); var isMoz=(navigator.appName.indexOf("Netscape")!=-1); if(isMoz){ Event.prototype.__defineGetter__("srcElement",function(){var node=this.target;while(node.nodeType!=1){node=node.parentNode}return node}) Event.prototype.__defineGetter__("x",function(){return this.clientX+2}) Event.prototype.__defineGetter__("y",function(){return this.clientY+2}) } String.prototype.inc=function(k1){return this.indexOf(k1)>-1?true:false} function oo(obj){return document.getElementById(obj)} function get_xy(e){ var a=new Array() var t=e.offsetTop; var l=e.offsetLeft; var w=e.offsetWidth; var h=e.offsetHeight; while(e=e.offsetParent){ t+=e.offsetTop; l+=e.offsetLeft; } a[0]=t;a[1]=l;a[2]=w;a[3]=h return a; } var sys_tz=null function show_win(w,h,l){ oo("sys_win").style.width=w oo("sys_win").style.height=h oo("sys_win").style.left=(document.body.scrollWidth-w) oo("sys_win").style.top=document.body.clientHeight/2+document.body.scrollTop-h/2 oo("sys_bg").style.display=oo("sys_win").style.display="" oo("show_content").innerHTML=l } function close_win(){ oo("sys_bg").style.display=oo("sys_win").style.display="none" } function tz_down(e){ var a1=e.x-parseInt(oo("sys_win").style.left) var a2=e.y-parseInt(oo("sys_win").style.top) sys_tz=a1+"|"+a2 } function tz_move(e){ if(sys_tz==null) return var a=sys_tz.split("|") oo("sys_win").style.top=e.y-a[1] oo("sys_win").style.left=e.x-a[0] } document.onmouseover=function(e){ e=e==null?event:e if(sys_tz!=null){ var a=sys_tz.split("|") oo("sys_win").style.top=e.y-a[1] oo("sys_win").style.left=e.x-a[0] } } document.onmouseup=function(){sys_tz=null} function msg(key,tag,echo){ var l="\ \ \ \
"+key+"
" show_win(300,160,l) } function getServerHTML(url,key,hint_info,echo){ var req = null; if(window.XMLHttpRequest){ req = new XMLHttpRequest(); }else if(window.ActiveXObject){ var msxml = new Array('MSXML2.XMLHTTP.5.0', 'MSXML2.XMLHTTP.4.0', 'MSXML2.XMLHTTP.3.0', 'MSXML2.XMLHTTP', 'Microsoft.XMLHTTP'); for(var i=0;i