function GetOsName(){ s=navigator.userAgent; if(s.indexOf('IRIX')!=-1){return "Irix";} if((s.indexOf('Win')!=-1)&&(s.indexOf('98')!=-1)){return "Windows 98"; } if((s.indexOf('Win')!=-1)&&(s.indexOf('95')!=-1)){return "Windows 95"; } if(navigator.appVersion.indexOf("16") !=-1){ return "Windows 3.1"; } if(s.indexOf('Windows NT 5.2')!=-1){return "Windows 2003";} if(s.indexOf('Windows NT 5.1')!=-1){return "Windows XP";} if(s.indexOf('Windows NT 5.0')!=-1){return "Windows 2000";} if((s.indexOf('Win')!=-1)&&(s.indexOf('NT')!=-1)){return "Windows NT"; } if(navigator.appVersion.indexOf("SunOS")!=-1){return "SunOS"; } if(navigator.appVersion.indexOf("Linux")!=-1){return "Linux"; } if(s.indexOf('Mac') != -1){return "Macintosh"; } if(navigator.appName=="WebTV Internet Terminal"){return "WebTV"; } if(navigator.appVersion.indexOf("HP") !=-1){return "HP-UX"; } return "Unknow"; } function GetBrowseName(){ s=navigator.userAgent; if(s.indexOf('Safari')!=-1){ return "Safari"; } if(s.indexOf('MSIE')!=-1){ p=s.indexOf('MSIE'); tmp=s.substring(p,s.length-p); tmp=tmp.substring(5,tmp.indexOf(';')) return "Internet Explorer "+tmp; } if(s.indexOf('AOL')!=-1){ p=s.indexOf('AOL'); tmp=s.substring(p,s.length-p); tmp=tmp.substring(4,tmp.indexOf(';')) return "AOL "+tmp; } if(s.indexOf('Mozilla')!=-1){ p=s.indexOf('Mozilla'); tmp=s.substring(p,s.length-p); tmp=tmp.substring(8,tmp.indexOf(';')) return "Netscape "+tmp; } if(navigator.appName=="WebTV Internet Terminal") {return "WebTV Browser";} return "Unknow"; } var JV_WINDOW_VER="2010.07.05"; //OPTION PUBLIC VAR var JV_LANG_SUPPORT="def;eng;chs;cht"; var JV_IMGWIDTH=590; var JV_IMGSHOW=1; //0:flex 1:frame //COOKIE function SetCookie(n,v,d,m,p){if(d==null){e="";}else{e=";expires="+d.toGMTString();}; if(m==null){m=document.domain;}; if(p==null){p="/";}; document.cookie=n+"="+escape(v)+e+";path="+p+";domain="+m;} function GetCookie(n){s=n+"=";p=document.cookie.indexOf(s);if(p!=-1){p+=s.length;e=document.cookie.indexOf(";",p);if(e==-1){e=document.cookie.length;};return unescape(document.cookie.substring(p,e));}else{return "";};} function DelCookie(n){d=new Date();d.setMonth(d.getMonth()-1);SetCookie(n,"",d);} function GetCookieDef(n,def){c=GetCookie(n);if(c==""){c=def;}; return c;} //LANGUAGE var JV_LANGUAGE=GetCookie("XI_LANGUAGE"); function GetDefaultLang(){var c; switch(navigator.systemLanguage) { case "zh-cn" : c="chs"; break; case "zh-tw" : c="cht"; break; case "zh-hk" : c="cht"; break; case "jp" : c="jpn"; break; case "kr" : c="kor"; break; default: c="eng"; break; }return c; } if (JV_LANGUAGE=="")JV_LANGUAGE="def"; if (JV_LANGUAGE=="def")JV_LANGUAGE=GetDefaultLang(); function Lang_(s,lng,def){ var a,b,c; if (s==""){return def;}; if (s.indexOf("def")==-1){return s;}; a = s.split("}"); for(var i=0;i";} function DisplayTime(e){setInterval("DisplayTimeFunc('"+e+"')",1000);} function WinTitleOver(p){p.bgColor=JV_OVERCOLOR;p.borderColor=JV_OVERBDRCOLOR;} function WinTitleOut(p){p.bgColor=JV_BGCOLOR;p.borderColor=JV_BDRCOLOR;} function ShowFlash(f,w,h){ s=""; s=s+" "; s=s+" "; document.write(s+""); } function ImgOpacityFunc(c){if (c.filters.alpha.opacity<100){c.filters.alpha.opacity+=20} else {if(window.JV_IMG_TIMER)clearInterval(JV_IMG_TIMER)}; } function ImgHigh(t){JV_IMG_OBJ=t; JV_IMG_OBJ.filters.alpha.opacity=0; JV_IMG_TIMER=setInterval("ImgOpacityFunc(JV_IMG_OBJ)",60); } function ImgLow(t){clearInterval(JV_IMG_TIMER); t.filters.alpha.opacity=60;} function ImgOpacity(o,n){ID_(o).style.filter="Alpha(Opacity="+n+")";} function ImgWheel(o){if(o.enableZoom){return true;}; var n=parseInt(o.style.zoom,10)||100;n+=event.wheelDelta/12;if (n>0) o.style.zoom=n+'%';return false;} //function ZoneOpen(left,top,height,width) function WinAbsTop(e){t=e.offsetTop;while(e=e.offsetParent){t+=e.offsetTop; }return t; } function WinAbsLeft(e){l=e.offsetLeft;while(e=e.offsetParent){l+=e.offsetLeft; }return l; } function WinOpen(u,w,h){t=(window.screen.availHeight-30-h)/2; l=(window.screen.availWidth-10-w)/2; s="Width="+w+"px,Height="+h+"px,Top="+t+"px,Left="+l+"px,center=1,resizable=0,help=0,status=0";if((w==0)||(h==0)||(w==null)||(h==null))s=""; JV_PARAM[1]=window.open(u,"",s);return;} function WinOpenScroll(u,w,h){t=(window.screen.availHeight-30-h)/2; l=(window.screen.availWidth-10-w)/2; s="Width="+w+"px,Height="+h+"px,Top="+t+"px,Left="+l+"px,center=1,resizable=0,help=0,status=0,scrollbars=1";if((w==0)||(h==0)||(w==null)||(h==null))s=""; JV_PARAM[1]=window.open(u,"",s);return;} //function WinDiag(u,w,h){ s="dialogWidth:"+w+"px;dialogHeight:"+h+"px;center:1;resizable:0;help:0;status:0;scroll:0;modal:yes"; window.showModalDialog(u,window,s); return;} function WinDiag(u,w,h){ //if(window.showModalDialog){ // s="dialogWidth:"+w+"px;dialogHeight:"+h+"px;center:1;resizable:0;help:0;status:0;scroll:0;modal:yes"; // window.showModalDialog(u,window,s); return; //}else{ t=(window.screen.availHeight-30-h)/2; l=(window.screen.availWidth-10-w)/2; s="width="+w+",height="+h+",top="+t+",left="+l+",center=1,resizable=no,help=0,status=0,scroll=0,modal=yes,center=yes,dependent=no,alwaysRaised=yes,dialog=yes"; if((w==0)||(h==0)||(w==null)||(h==null))s=""; JV_PARAM[1]=window.open(u,"",s);return; //} } function WinLogout(){if(!confirm(L_(system.confirmlogout)))return; DelCookie("XI_USERNAME");DelCookie("XI_PASSWORD"); DelCookie("XI_UN_HASH"); DelCookie("XI_PW_HASH"); window.location=window.location; } ; function WinLogin(n,cpp,param){ JV_PARAM[0]=0; JV_PARAM[1]=cpp; JV_PARAM[2]=param; if(window.showModalDialog){ WinDiag("/xi/dialogs/dlg_user_login.htm?cpp="+cpp+"¶m="+param,480,400); if((JV_PARAM[0]==1)&&(!n)){ window.location.reload();}; }else{ WinOpen("/xi/dialogs/dlg_user_login.htm?cpp="+cpp+"¶m="+param,480,400); }; }; //function WinLogin(n,cpp,param){JV_PARAM[0]=0; JV_PARAM[1]=cpp; JV_PARAM[2]=param;WinDiag("/xi/dialogs/dlg_user_login.htm?cpp="+cpp+"¶m="+param,480,400); if((JV_PARAM[0]==1)&&(!n)){ window.location.reload();}; }; function WinCreate(n,cpp,param){JV_PARAM[0]=0;JV_PARAM[1]=cpp; JV_PARAM[2]=param; WinDiag("/xi/dialogs/dlg_message_add.htm?cpp="+cpp+"¶m="+param,"480","400"); if (JV_PARAM[0]==1)window.location.reload();} function WinComment(n,cpp,param){JV_PARAM[0]=0;JV_PARAM[1]=cpp; JV_PARAM[2]=param; WinDiag("/xi/dialogs/dlg_comment_add.htm?cpp="+cpp+"¶m="+param,"480","400"); if (JV_PARAM[0]==1)window.location.reload();} function WinPswChg(n,cpp,param){JV_PARAM[0]=0; JV_PARAM[1]=cpp; JV_PARAM[2]=param; WinDiag("/xi/dialogs/dlg_user_pswchg.htm?cpp="+cpp+"¶m="+param,"480","400"); if(JV_PARAM[0]==1){window.location.reload();};} function WinDelete(n,cpp,param){if(!confirm(L_(system.confirmdelete)))return; DelCookie("XI_USERNAME");DelCookie("XI_PASSWORD"); DelCookie("XI_UN_HASH"); DelCookie("XI_PW_HASH"); window.location.reload(); } ; function WinRegister(n,cpp,param,active){JV_PARAM[0]=0;WinDiag("/xi/dialogs/dlg_sys_license.htm","480","400"); if(JV_PARAM[0]==1){ JV_PARAM[0]=0; WinDiag("/xi/dialogs/dlg_user_register.htm?cpp="+cpp+"¶m="+param,"480","400");} if(active) {if(JV_PARAM[0]==1){ JV_PARAM[0]=0; WinDiag("/xi/dialogs/dlg_active.htm?cpp="+cpp+"¶m="+param,"480","400");} ;} } function WinUpload(n,cpp,param){JV_PARAM[0]=0; JV_PARAM[1]=cpp; JV_PARAM[2]=param; WinDiag("/xi/dialogs/dlg_file_upload.htm?cpp="+cpp+"¶m="+param,"340","340");if((JV_PARAM[0]==1)&&(!n)){ window.location.reload();};}; function WinServer(n){JV_PARAM[0]=0; WinDiag("/xi/dialogs/dlg_sys_server.htm","480","400");if((JV_PARAM[0]==1)&&(!n)){ window.location.reload();};}; function WinStart(n){JV_PARAM[0]=0; WinDiag("/xi/dialogs/dlg_sys_start.htm","480","400");if((JV_PARAM[0]==1)&&(!n)){ window.location.reload();};}; function WinLanguage(n){JV_PARAM[0]=0; WinDiag("/xi/dialogs/dlg_sys_language.htm","480","400");if((JV_PARAM[0]==1)&&(!n)){ window.location.reload();};}; function WinExeSQL(n,cpp,sql){ JV_PARAM[0]=0; JV_PARAM[1]=cpp; JV_PARAM[2]=sql; WinDiag("/xi/dialogs/dlg_sys_exesql.htm?cpp="+cpp,"480","400"); if((JV_PARAM[0]==1)&&(!n)){window.location.reload(); }; } function WinModify(n,cpp,param,id,content,var1,var2){ JV_PARAM[0]=0; JV_PARAM[1]=cpp; JV_PARAM[2]=param; JV_PARAM[3]=id; JV_PARAM[4]=content; JV_PARAM[5]=var1; JV_PARAM[6]=var2; WinDiag("/xi/dialogs/dlg_message_change.htm?cpp="+cpp+"¶m="+param,"480","400"); if ((JV_PARAM[0]==1)&&(!n)){window.location.reload();}else{return;} } function DebugPrint(s){if(JV_DEBUG)window.status=s;} function PageGuide(pos,last,disp,url,kind){ out=""; url=url.replace(/#nbsp;/g," "); if((last==0)||(pos==0)||(disp==0))return out; if((1..."; if(kind==1)if(pos!=1)out=out+url.replace(/\[#\]/g,(pos-1))+"Prev<\/a> "; start=0; if( last<=(disp*2+1) ) start=1; if( (start==0)&&(pos<=disp+1) ) start=1; if( (start==0)&&((last-pos)<=disp) )start=last-disp*2; if(start==0) start=pos-disp; forend=(start+disp*2); if (last<=(disp*2+1) )forend=last; for(k=start;k<=forend;k++)if(k==pos){out=out+pos+" ";}else{out=out+url.replace(/\[#\]/gi,k)+"["+k+"] ";}; if (kind==1) if(pos!=last)out=out+url.replace(/\[#\]/g,pos+1)+"Next "; if ((last>pos+disp)&&(disp*2+1 "; return out; } function UbbSpace(s){ c=""; while(true){ p1=s.indexOf("["); if(p1==-1)break; p2=s.indexOf("]"); if(p2==-1)break; c1=s.substr(0,p1); c2=s.substr(p1,p2-p1+1); s=s.substr(p2+1); c=c+c1+c2.replace(/\ \;/ig," "); }; return c+s; }; function UbbDecode(s,w,t){ if(w==null){w=JV_IMGWIDTH;} s=UbbSpace(s); s=s.replace(/(^|\s)(((http|ftp|https):\/\/\S+)|(www\.\S+))/ig,"$2<\/a>"); s=s.replace(/(\[i\])(.+?)(\[\/i\])/ig,"$2<\/i>"); s=s.replace(/(\[u\])(.+?)(\[\/u\])/ig,"$2<\/u>"); s=s.replace(/(\[b\])(.+?)(\[\/b\])/ig,"$2<\/b>"); s=s.replace(/(\[color=)([^\]]+)(\])(.+?)(\[\/color\])/ig,"$4<\/font>"); s=s.replace(/(\[size=)([^\]]+)(\])(.+?)(\[\/size\])/ig,"$4<\/font>"); s=s.replace(/(\[url=)([^\]]+)(\])(.+?)(\[\/url\])/ig,"$4<\/a>"); s=s.replace(/(\[go=)([^\]]+)(\])(.+?)(\[\/go\])/ig,"$4<\/a>"); s=s.replace(/(\[td)([^\]]+)(\])(.+?)(\[\/td\])/ig,"$4<\/td>"); s=s.replace(/(\[tr)([^\]]+)(\])(.+?)(\[\/tr\])/ig,"$4<\/tr>"); s=s.replace(/(\[table)([^\]]+)(\])(.+?)(\[\/table\])/ig,"$4<\/table>"); s=s.replace(/\[td\](.+?)(\[\/td\])/ig,"$1<\/tr>"); s=s.replace(/\[table\](.+?)(\[\/table\])/ig,"
$1<\/td>"); s=s.replace(/\[tr\](.+?)(\[\/tr\])/ig,"
$1<\/table>"); s=s.replace(/(\[img)([^\]]+)(\])(\S+?)(\[\/img\])/ig,"this.maxwidth)this.width=this.maxwidth\" >"); if (t==null){u="";}else{u="
IMAGE: $2<\/a><\/td><\/tr><\/table>";}; switch(JV_IMGSHOW){ case 0: p=""+w+")this.width="+w+"\" id=\"PDIVIMG\">"; break; case 1: p=u+"
<\/div>"; break; }; s=s.replace(/(\[img\])(\S+?)(\[\/img\])/ig,p); if (t==null){u="";}else{u="
Flash: $2<\/a><\/td><\/tr><\/table>";}; p=u+"" p=p+""; p=p+"<\/EMBED><\/OBJECT>"; s=s.replace(/(\[F\])(\S+?)(\[\/F\])/ig,p); p=""; JM_HTML=JM_HTML.replace("",s); JM_HTML=JM_HTML.replace(id+"nosub='true'",id+"nosub='false'"); } function MenuItem(id,text,url,hint){if(id==0){ItemAdd(text,url,hint)} else {SubAdd(text,url,hint)} ; } function MenuMove(){if(JM_LASTMENU==null)return; x=JV_MOUSEX; y=JV_MOUSEY; DebugPrint(x+":"+y); e=JM_LASTMENU; if( (xe.style.posLeft+e.offsetWidth+2)||(ye.style.posTop+e.offsetHeight+2) )SubHide(); } function MenuReset(){ JM_ITEMID=0; p=JM_REFER; if(p==null)return; JM_LEFT=WinAbsLeft(p)+JM_LEFTOFFSET; JM_TOP=WinAbsTop(p)+JM_TOPOFFSET; for(i=0;i
Flash: $4<\/a><\/td><\/tr><\/table>"; p=p+"" p=p+""; p=p+"<\/EMBED><\/OBJECT>"; s=s.replace(/(\[F)([^\]]+)(\])(\S+?)(\[\/F\])/ig,p); return s; } function DataDecode(s){ s=s.replace(/#/g,"&"); s=s.replace(/♯/gi,"#"); s=s.replace(/\/g,">"); s=s.replace(/\r\n/g,"
"); s=s.replace(/&enter;/g,"
"); s=s.replace(/\t/g,"    "); s=s.replace(/\ /g," "); s=s.replace(/&textarea;/gi,"\/textarea"); s=s.replace(/"/g,"\""); s=s.replace(/&invert;/g,"'") ; s=s.replace(/^plus;/g,"\+") ; return s; } function DataEncode(s){ s=s.replace(/#/g,"#sharp;"); s=s.replace(/&/g,"#amp;"); s=s.replace(/\"/g,"#quot;"); s=s.replace(/\'/g,"#invert;"); s=s.replace(/\/textarea/gi,"#textarea;"); s=s.replace(/\\/g,"\\\\"); s=s.replace(/\//g,"\\\/"); s=s.replace(/\r\n/g,"#enter;"); s=s.replace(/\+/g,"^plus;"); return s; } function Request(s,defvalue){ if (defvalue==undefined){defvalue='';}; var url = window.document.location.href; var p = url.indexOf("?"); var u2 = url.substr(p + 1); var a = u2.split("&"); for(var i = 0; i < a.length; i++){ var c = a[i].split("="); if(c[0].toUpperCase() == s.toUpperCase()) { if(c[1]=="undefined"){ return defvalue;} else { return c[1]; }; } } return defvalue; } function ParamField(paramstr,fieldname,defvalue){ if (defvalue==undefined){defvalue='';}; var a = paramstr.split("&"); for(var i = 0; i < a.length; i++){ var c = a[i].split("="); if(c[0].toUpperCase() == fieldname.toUpperCase()) return c[1]; } return defvalue; } function GetSubLines(s,b,c){ var a=s.split("#enter;"); if(a.length<2){a=s.split("\r\n");}; var p=a.length; if(b==null){b=0;}; if(c==null){c=p-b;}; if(p<=b+c){c=p-b;}; for(var i=b,r="";i<(c+b);i++){ r=r+a[i]; if(i<(c+b-1)){r=r+"\r\n";}; }; return r; } function GetLineCount(s){ var a = s.split("#enter;");if(a.length<2){a=s.split("\r\n");}; return a.length; } function DL_(s,sp){ if ((sp==undefined)||(sp==''))sp=';'; var L=s.split(sp); var rs=''; for(var i=0; i"; }; document.write(rs); return rs; } function TableLine(w,h,c){if(w==undefined)w=JV_IMGWIDTH;if(h==undefined)h=1;if(c==undefined)c='#cccccc'; return '
';}; function DoSize(s){ var e=document.all; for(var i=0;i { if (navigator.userAgentData.platform === "Windows") { const majorPlatformVersion = parseInt(ua.platformVersion.split('.')[0]); if (majorPlatformVersion >= 13) { // 这里大于 13 就是 Win11 document.cookie = "win11=true;path=/"; } } }); */ function ev_hotkey_default(){ k=window.event.keyCode; switch(k){ case 112: window.event.keyCode=27; window.event.returnValue=false; break; //F1 case 113: break; //F2 case 114: break; //F3 case 115: break; //F4 case 116: window.event.keyCode=0; window.event.returnValue=false; window.location=window.location; break; //F5 case 117: break; //F8 case 118: break; //F8 case 119: break; //F7 case 120: break; //F9 case 121: break; //F10 case 122: break; //F11 case 123: break; //F12 //window.event.keyCode=0; }; }; if (window.attachEvent){ document.attachEvent("onkeydown",ev_hotkey_default); }else { document.addEventListener("keydown",ev_hotkey_default,false);}; function system_lang(){ this.welcome="def{Welcome to here}chs{欢迎您的光临}cht{歡迎您的光臨!}jpn{光臨を歓迎する}kor{광림을 환영한다}"; this.service="def{&Services}chs{服务}cht{服務}jpn{サービス}kor{서비스}"; this.user="def{&User}chs{用户}cht{用戶}jpn{ユーザー}kor{유저}"; this.password="def{Password}chs{密码}cht{密碼}jpn{サービス}kor{서비스"; this.login="def{Login}chs{登陆}cht{登陸}jpn{登録}kor{상륙한다}"; this.logout="def{Logout}chs{退出}cht{退出}jpn{退出}kor{퇴출}"; this.changepassword="def{Change Password}chs{修改密码}cht{修改密碼}jpn{パスワードを改正する}kor{비밀 번호를 개정한다}"; this.register="def{Register}chs{注册新用户}cht{註冊新用戶}jpn{新規登録}kor{등록한다}"; this.manage="def{&Manage}chs{管理}cht{管理}jpn{管理}kor{관리}"; this.server="def{Server Manager}chs{服务器管理}cht{服務器管理}jpn{サーバーは管理する}kor{서버의 관리}"; this.config="def{Config}chs{修改设置}cht{修改設定}jpn{セットアップに修正する}kor{셋업에 수정한다}"; this.tools="def{&Tools}chs{工具}cht{工具}jpn{工具}kor{공구}"; this.helps="def{&Help}chs{帮助}cht{幫助}jpn{ヘリポ}kor{원조한다}"; this.language="def{Language}chs{语言选择}cht{語言選擇}jpn{言語は選ぶ}kor{언어는 선택한다}"; this.notice="def{Notice}chs{公告}cht{公告}jpn{公告}kor{언어는 선택한다}"; this.confirmlogout="def{Are you sure logout!}chs{请确认是否真的退出当前登录!}cht{请確認是否真的登出!}jpn{撤回する確認しなさい!}kor{철수한다 확인하십시오!}"; this.confirmdelete="def{Are you sure delete!}chs{请确认是否真删除!}cht{请確認是否真的刪除!}jpn{削除は確認した!}kor{확인되는 삭제!}"; this.addtofavorites="def{Add to Favorites }chs{添加到收藏夹}cht{我的最愛}"; } var system=new system_lang(); JM_ITEM_BGCOLOR="#FFFFFF"; JM_ITEM_OVERCOLOR="#DFDFDF"; JM_ITEM_BDRCOLOR="#FFFFFF"; JM_ITEM_OVERBDRCOLOR="#999999"; JM_SUBA_BGCOLOR="#FFFFFF"; JM_SUBA_OVERCOLOR="#DFDFDF"; JM_SUBA_BDRCOLOR="#FFFFFF"; JM_SUBA_OVERBDRCOLOR="#999999"; JM_ITEMWIDTH=70; JM_ITEMHEIGHT=18; JM_SUBWIDTH =160; JM_SUBHEIGHT=18; JM_ITEMBOLD=false; JM_SUBBOLD=false; JM_TOPOFFSET=0; JM_LEFTOFFSET=0; //XI_JVS_JVSMENU_2004.05.13 JM_TOP=0; JM_LEFT=0; JM_ITEMTOTAL=0; JM_AUTORIGHT=true; JM_LASTMENU=null; JM_LASTITEM=null; JM_REFER=null; JM_HTML=""; JM_ITEMPOS=""; JM_OVERFLAG=0; var JV_NSTYPE; if (!JV_NSTYPE){ if(document.all){JV_NSTYPE="IE4"; } else if (ID_){JV_NSTYPE="STD"; } else if(document.layers){JV_NSTYPE="NS4"; }; }; function WinAbsTop(e){t=e.offsetTop;while(e=e.offsetParent){t+=e.offsetTop; }return t; } function WinAbsLeft(e){l=e.offsetLeft;while(e=e.offsetParent){l+=e.offsetLeft; }return l; } function SetOvrColor(p,t){ if (t==0){if(JM_ITEM_OVERCOLOR!="")p.bgColor=JM_ITEM_OVERCOLOR; if(JM_ITEM_OVERBDRCOLOR!="")p.borderColor=JM_ITEM_OVERBDRCOLOR; }; if (t==1){if(JM_SUBA_OVERCOLOR!="")p.bgColor=JM_SUBA_OVERCOLOR; if(JM_SUBA_OVERBDRCOLOR!="")p.borderColor=JM_SUBA_OVERBDRCOLOR; }; } function SetOutColor(p,t){ if(t==0){if(JM_ITEM_BGCOLOR!="")p.bgColor=JM_ITEM_BGCOLOR; if(JM_ITEM_BDRCOLOR!="")p.borderColor=JM_ITEM_BDRCOLOR; }; if(t==1){if(JM_SUBA_BGCOLOR!="")p.bgColor=JM_SUBA_BGCOLOR; if(JM_SUBA_BDRCOLOR!="")p.borderColor=JM_SUBA_BDRCOLOR; }; } function MenuCreate(s){ p=ID_(s); if(p==null)return; JM_ITEMTOTAL=0; JM_LEFT=WinAbsLeft(p)+JM_LEFTOFFSET; JM_TOP=WinAbsTop(p)+JM_TOPOFFSET; JM_HTML=JM_HTML+JM_ITEMPOS; JM_REFER=p; //document.write(JM_LEFT+':'+JM_TOP); } function CodeText(s){if(s=="-")return ""; if(s.indexOf("&")>-1){p=s.indexOf("&"); s=s.substring(0,p)+""+s.substring(p+1,p+2)+""+s.substring(p+2,s.length); } if(JM_AUTORIGHT)s=" "+s; s=s.replace(/ /g,"  "); return s; } function ItemAdd(text,url,hint){ id=JM_ITEMTOTAL; text=CodeText(text); if(JM_ITEMBOLD)text=""+text+""; s="
"; s=s+""; s=s+"
"+text+"
"+JM_ITEMPOS; s=s+""; JM_HTML=JM_HTML.replace(JM_ITEMPOS,s); JM_ITEMTOTAL++; } function SubAdd(text,url,hint){ id=JM_ITEMTOTAL-1; subh=JM_SUBHEIGHT; text=CodeText(text); if(text=="")subh=3; if(JM_SUBBOLD)text=""+text+""; s="
"+text+"