?
Path : /home/admin/public_html/old/e_newsletter/ |
Current File : /home/admin/public_html/old/e_newsletter/stmenu.js |
/*=======Ver: 6.2.51011========*/ if(typeof st_js=="undefined") { STM_FILTER=1; STM_SCROLL=1; STM_SLIP=1; STM_RTL=0; STM_AHCM=0; STM_SMSC=1; STM_BIMG=1; STM_ILOC=0; STM_ILINK=0; stHAL=["left","center","right"]; stVAL=["top","middle","bottom"]; stREP=["no-repeat","repeat-x","repeat-y","repeat"]; stBDS=["none","solid","double","dotted","dashed","groove","ridge","inset","outset"]; stENTS=["onmouseover","onmouseout","onclick","onmousedown","onmouseup","onfocus","onblur","onkeydown","onkeyup"]; stCSSN=["padding","margin","border-style","background-color","font-style","font-size"]; stCSSV=["0px","0px","none","transparent","normal","1px"]; st_cm=st_cp=st_ci=st_tid=0; st_ld=[stckpg]; st_ck=[]; st_ms=[]; st_imgs=[]; st_funs=[]; st_path=stgfd(location.href); st_nav=stnav(); st_cms=st_cps=st_cis=st_refsp=0; if(!Array.prototype.push) Array.prototype.push=function(o){this[this.length]=o;} if(!Array.prototype.pop) Array.prototype.pop=function(){if(this.length){var o=this[this.length-1];this.length--;return o}} st_js=1; } function stm_bm(a){var w=a[2]?(a[2].charAt(a[2].length-1)!='/'?a[2]+'/':a[2]):"",p=a[15]?(a[15].charAt(a[15].length-1)!='/'?a[15]+'/':a[15]):"",j=st_ms.length,m;st_cm=st_ms[j]=m={stC:"menu",ps:[],sc:[0,0],id:j,ids:a[0]+j,tid:0,cfrm:0,cfsh:1,tfrm:0,tfrn:"",sfrn:"",sfrm:window,cfX:0,cfY:0,cfD:0,nam:a[0],ver:a[1],bnk:stbuf(w+a[3]),typ:a[4],x:a[5],y:a[6],hal:a[7],cks:a[8],deSV:a[9],deSH:a[10],deHd:a[19]?a[11]:0,hdS:a[12],hdO:a[13],hdI:a[14],wid:a[16],lits:a[17],rtl:a[18],hdp:a[19],litl:a[20],imgP:w,jsP:a[23],lnkP:p,hdT:[],usrE:[],lnks:[]};var c0=stckF(a[21])?"url("+stgPth(3,a[21])+")":a[21],c1=stckF(a[22])?"url("+stgPth(3,a[22])+")":a[22];m.cur=[c0,c1];if(m.hdS) m.hdT.push("select");if(m.hdO){m.hdT.push("object");m.hdT.push("applet");m.hdT.push("embed");}if(m.hdI) m.hdT.push("iframe");} function stm_bp(l,a){var m=st_cm,p,i=st_cp?st_ci:0,j=m.ps.length,st=!j&&!m.typ,tp=stDtB([a[0]]),pd;switch(a[1]){case 1:pd=4;break;case 2:pd=7;break;case 3:pd=1;break;case 4:pd=13;}st_cp=m.ps[j]=p={stC:"pop",frm:0,is:[],typ:tp, id:j,dir:pd,ids:m.ids+"p"+j,nam:"",wid:0,hei:0, offX:a[2],offY:a[3],mar:a[4],pad:a[5],lms:m.rtl?a[7]:a[6],rms:m.rtl?a[6]:a[7], opc:a[8], efsp:a[13],shad:a[14],stre:st_nav.typ?0:a[15],sdC:a[16],bgC:a[17],bgI:stgPth(0,a[18]),bgR:a[19],bd:a[20],bdW:a[21],bdC:a[22],zid:i?i.parP.zid+i.id+5:1000,sc:[0,0],dec:[stgPth(0,""),stgPth(0,""),stgPth(0,""),stgPth(0,"")],decH:[0,0,0,0],decW:[0,0,0,0],decB:[0,0,0,0],decBC:["","","",""],decBI:[stgPth(0,""),stgPth(0,""),stgPth(0,""),stgPth(0,"")],decBR:[0,0,0,0],cor:[stgPth(0,""),stgPth(0,""),stgPth(0,""),stgPth(0,"")],isSt:st,isSh:0,exed:1,isOV:0,cIt:0,parI:i,mid:m.id,onmouseover:"stpov",onmouseout:"stpou",effsl:0,effn:"",hal:st?m.hal:0,args:a };p.lock=i?i.pid?0:m.cks&1:0;p.eff=[stgEff(a[9],a[10],a[13],1,p.isSt),stgEff(a[11],a[12],a[13],2,p.isSt)];if(st&&!a[0]) p.wid=m.wid;if(i) i.subP=p;eval(l+"=p");} function stm_bpx(l,r,a){var p=eval(r);stm_bp(l,(a.length?a.concat(p.args.slice(a.length)):p.args));} function stm_ai(l,a){var m=st_cm,p=st_cp,v=p.typ&1,j=p.is.length,typ=stDtB([a[0]==6?2:a[0],0,m.rtl,a[0]==6?1:0]),i;if(a[0]==6)i=stItem([typ,p.ids+"sp"+j,"",(v?"100%":a[1]),(v?a[1]:"100%"),"",a[3],"",a[4],a[5],0,"","","","","","",0,0,0,"","",0,0,0,1,1,a[2],"","","","","",0,0,"","","","","","",0,0,0,"","",1,1,0,0]);else{var lw=p.lms,rw=p.rms;i=stItem([typ,p.ids+"i"+j,"",arguments[2]?arguments[2]:"100%",arguments[3]?arguments[3]:(!st_nav.typ&&st_nav.os=="mac"?0:"100%"),a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],m.rtl?a[16]:a[11],m.rtl?a[17]:a[12],m.rtl?a[18]:a[13],m.rtl?a[19]:a[14],m.rtl?a[20]:a[15],m.rtl?a[11]:a[16],m.rtl?a[12]:a[17],m.rtl?a[13]:a[18],m.rtl?a[14]:a[19],m.rtl?a[15]:a[20],a[21],a[22],a[24]?"transparent":a[23],a[26]?"transparent":a[25],a[27],a[28],a[29],a[30],a[31],a[32],a[33],a[34],a[35],a[36],a[37],a[38],a[39],a[40],p.pad,m.cur[0],m.cur[1],1,1,lw,rw]);if((!i.icoW||!i.icoH)&&lw&&v) {i.icoW=lw,i.icoH=-1};if((!i.arrW||!i.arrH)&&rw&&v) {i.arrW=rw,i.arrH=-1};i.isOv=0;}st_ci=p.is[j]=i;i.mid=m.id;i.pid=p.id; i.lock=!i.pid&&m.cks&1?!(m.cks&2):0;i.tid=0;i.parM=m;i.subP=0;i.id=j;i.parP=p; if(a[0]!=6){i.onmouseover="stiov";i.onmouseout="stiou";i.onclick="stick";stLnks(i);}i.args=a;eval(l+"=i");} function stm_aix(l,r,a){var i=eval(r),iwd=arguments.length>3?arguments[3]:0,iht=arguments.length>4?arguments[4]:0;stm_ai(l,(a.length?a.concat(i.args.slice(a.length)):i.args),iwd,iht)} function stm_ep(){var m=st_cm,p=st_cp;st_ci=p.parI;if(p.parI) st_cp=p.parI.parP;else st_cp=0; if(!p.is.length){var i=p.parI;if(m.rtl){i.ico=["",""];i.icoW=[0,0];i.icoH=[0,0];i.icoB=[0,0];}else{i.arr=["",""];i.arrW=[0,0];i.arrH=[0,0];i.arrB=[0,0];} i.subP=0;m.ps.pop();} } function stm_sc(n,a,m){if(!STM_SCROLL)return; if(!m)m=st_cm;var e=0;for(var j=1;j<m.ps.length;j++){var p=m.ps[j]; if(!e&&(p.typ&2)==2) e=1;if((p.typ&1)==n){ p.typ=p.typ&1|2;p.sc[0]=stItem([2,p.ids+"sc0","","100%","100%","",a[10],a[11],a[12],a[13],a[14],"","","","","","",0,0,0,a[2],a[3],0,0,0,1,1,a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],"","","","",0,0,0,"hand","",1,1]);p.sc[0].typ=p.sc[0].typ&7|16;p.sc[0].onmouseover="stsov";p.sc[0].onmouseout="stsou"; p.sc[0].sid=0;p.sc[0].parP=p;p.sc[0].mid=p.mid;p.sc[0].pid=p.id; p.sc[1]=stItem([2,p.ids+"sc1","","100%","100%","",a[16],a[15],a[17],a[18],a[19],"","","","","","",0,0,0,a[2],a[3],0,0,0,1,1,a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],"","","","",0,0,0,"hand","",1,1]);p.sc[1].typ=p.sc[1].typ&7|16;p.sc[1].onmouseover="stsov";p.sc[1].onmouseout="stsou";p.sc[1].sid=1;p.sc[1].pid=p.id;p.sc[1].mid=p.mid;p.sc[1].parP=p;p.scD=a[20]?a[21]:0;}} if(!e)staddE(0,"stsSc",m);if(!stcFun("scrollbar")){document.write(stgJs(m.jsP+"stscroll.js"));st_funs.push("scrollbar");}} function stm_cf(a,m){if(!m)m=st_cm;m.cfD=a[0];m.cfX=a[1];m.cfY=a[2];m.cfrm=1;m.tfrn=a[3];m.sfrn=a[4];m.cfsh=a[5];if(!stcFun("crossframe"))st_funs.push("crossframe");} function stm_em(){var m=st_cm;if(!m.ps.length){st_ms.pop();st_cm=0;return;}for(var j=0;j<st_cm.ps.length;j++){var p=st_cm.ps[j];p.args=null;for(var k=0;k<st_cm.ps[j].is.length;k++)p.is[k].args=null;if(p.typ&2==2){p.sc[0].args=null;p.sc[1].args=null;}}stsetld();stCreate();} function stcklo(p){var m=st_ms[p.mid];for(var j=0;j<m.ps[0].is.length;j++){if(!(m.cks&2))m.ps[0].is[j].lock=1;if(m.ps[0].is[j].subP)m.ps[0].is[j].subP.lock=1 }} function stItem(a){var i={stC:"item",frm:0,typ:a[0], ids:a[1], nam:a[2],wid:a[3],hei:a[4],txt:a[0]&1?a[5]:stHTML(a[5]), img:[stgPth(0,a[6]),stgPth(0,a[7])],imgW:a[8],imgH:a[9],imgB:a[10], lnk:stgPth(2,a[11]),tar:a[12], stus:a[13],tip:stHTML(a[14]),ico:[stgPth(0,a[15]),stgPth(0,a[16])],lw:a[48],icoW:a[17],icoH:a[18],icoB:a[19],arr:[stgPth(0,a[20]),stgPth(0,a[21])],arrW:a[22],arrH:a[23],arrB:a[24],rw:a[49],thal:a[25],tval:a[26],bgC:[a[27],a[28]],bgI:[stgPth(0,a[29]),stgPth(0,a[30])],bgR:[a[31],a[32]],bd:a[33],bdW:a[34],bdC:[a[35],a[36]],colr:[a[37],a[38]],fnt:[a[39],a[40]],dec:[a[41],a[42]],pad:a[43],cur:[a[44],a[45]],hal:a[46],val:a[47],stat:0,ovst:153391689,oust:0 };return i;} function stnav(){var o,n,v, a=navigator.userAgent,p=navigator.platform,av=navigator.appVersion,t=0;if(!p.indexOf("Mac"))o="mac";else if(!p.indexOf("Win"))o="win";else if(!p.indexOf("Linux"))o="linux";else o=p;if(a.indexOf("Opera")>=0){STM_SCROLL=0;STM_FILTER=0;n="opera";v=parseFloat(a.substr(a.lastIndexOf("Opera")+6));if(v>=7)t=1;else t=2;}else if(a.indexOf("MSIE")>0){n="msie";v=parseFloat(a.substr(a.indexOf("MSIE")+5));if(v<5||o=="mac")STM_SCROLL=0;t=0 }else if(a.indexOf("Konqueror")>0){STM_FILTER=0;n="konqueror";STM_SLIP=0;v=parseFloat(av);STM_SCROLL=0;t=1 }else if(a.indexOf("Safari")>0){STM_FILTER=0;n="safari";v=parseFloat(av);STM_SCROLL=0;t=1 }else if(a.indexOf("Gecko")>0){STM_FILTER=0;t=1;if(a.indexOf("Netscape")>0)n="netscape";else n="mozilla";v=parseInt(navigator.productSub);if(v<20040804)STM_SCROLL=0;}else if(a.indexOf("Netscape")&&av.charAt(0)=="4"){STM_FILTER=0;n="netscape";v=parseFloat(av);STM_SCROLL=0;t=3 }if((n=="opera"&&v<7)||(n=="msie"&&v<4)||(n=="konqueror"&&v<3)||(n=="safari"&&v<1)||((n=="netscape"||n=="mozilla")&&v<20020530)||!n)t=4;return {os:o,nam:n,ver:v,typ:t}} function stckpg(){if(!st_cms){st_cms=st_ms.length;for(var j=0;j<st_cms;j++){st_cps+=st_ms[j].ps.length;for(var k=0;k<st_ms[j].ps.length;k++)st_cis+=st_ms[j].ps[k].is.length;}st_refsp=25+25*Math.round(st_cis/300);}if(!st_ck.length) return;for(var j=0;j<st_ck.length;j++){if(!(st_ck[j][2]%st_ck[j][1])){st_ck[j][2]=1;st_ck[j][0]();}else st_ck[j][2]++;}st_tid=setTimeout("stckpg()",st_refsp);} function stckF(s){var re=/\w+\.\w+$/;return re.exec(s)} function stgJs(s){return "<script type='text/javascript' language='javascript1.2' src='"+s+"'></script>"} function stCreate(){var m=st_cm,d=document;switch(st_nav.typ){case 0:if(!stcFun("stie")){d.write(stgJs(m.jsP+"stie.js"));st_funs.push("stie");}break;case 1:if(!stcFun("stdom")){d.write(stgJs(m.jsP+"stdom.js"));st_funs.push("stdom");}break;case 2:if(!stcFun("stop")){d.write(stgJs(m.jsP+"stop.js"));st_funs.push("stop");}break;case 3:if(!stcFun("stnn")){d.write(stgJs(m.jsP+"stnn.js"));st_funs.push("stnn")}}d.write(stgJs(m.jsP+"stinit.js"));} function stcFun(s){for(var j=0;j<st_funs.length;j++)if(st_funs[j]==s) return true;return false;} function stDtB(a){var b=0;for(var j=0;j<a.length;j++)if(a[j]) b+=a[j]*Math.pow(2,j);return b;} function stgPth(f,s){if(!s) return s;switch(f){case 0: s=stabs(s)?s:st_cm.imgP+s;stbuf(s);break;case 1:s=stabs(s)?s:st_cm.jsP+s;break;case 2:s=stabs(s)?s:st_cm.lnkP+s;if(!s.toLowerCase().indexOf("javascript:"))s+=";void(0)";break;case 3:s=stabs(s)?s:st_cm.imgP+s;break;}return s;} function stLnks(i){var m=st_ms[i.mid];if(!i.lnk) return;i.lnk=stabsL(i.lnk);m.lnks.push({url:i.lnk,tar:i.tar,dat:i});} function stHTML(s){var re; re=/ /g;s=s.replace(re," ");re=/\"/g;s=s.replace(re,""");return s;} function stCode(s){var re;re=/\\/g;s=s.replace(re,"\\\\");re=/\'/g;s=s.replace(re,"\\\'");return s;} function stabs(s){var t=s.toLowerCase();return !t.indexOf("#")||!t.indexOf("?")||t.indexOf(":")==1&&t.charCodeAt()>="a"&&t.charCodeAt()<="z"||!t.indexOf("http:")||!t.indexOf("https:")||!t.indexOf("file:")||!t.indexOf("ftp:")||!t.indexOf("/")||!t.indexOf("javascript:")||!t.indexOf("mailto:")||!t.indexOf("about:")||!t.indexOf("gopher:")||!t.indexOf("news:")||!t.indexOf("telnet:")||!t.indexOf("wais:");} function stbuf(s){if(s){for(var j=0;j<st_imgs.length;j++)if(st_imgs[j].src==s) return s;var i=new Image();i.src=s;st_imgs.push({src:s,img:i}); }return s;} function stgEff(f,i,s,h,st){if(f=="normal") return "";if(!f.indexOf("stEffect")){if(!st)stEffect(f,h);return "";}return st_nav.ver<5.5?(!st||st_nav.ver>=5)&&i<24&&i>=0?"revealTrans(Transition="+i+",Duration="+((110-s)/100)+")":"":f;} function stEffect(s,h){var p=st_cp;var n=s.substring(10,s.length-2);if(n=="slip"){p.effn="slip";p.effsl+=h;}} function stsetld(){ if(st_nav.typ==4) return;var m=st_cm,f1=f2=1;for(var j=0;j<m.ps.length;j++){if(f2&&m.ps[j].effsl&&m.ps[j].effn=="slip"){stm_fslip();f2=0;}if(f1&&(m.ps[j].eff[0]||m.ps[j].eff[1])){ stm_flt();f1=0;}}if(m.cks&1) staddE(6,"stcklo",m);if(!window.onload||onload.toString()!=stload.toString()){if(typeof(window.onload)=="function") st_ld.push(onload);window.onload=stload;}if(m.hdT.length&&!stcFun("wineles")){st_ld.push(stm_hdw);document.write(stgJs(m.jsP+"stwinels.js"));st_funs.push("wineles")} if((m.lits&1)&&!stcFun("hightlight")){st_ck.push([stm_hl,20,20]);st_ld.push(stm_hi);document.write(stgJs(m.jsP+"sthilight.js"));st_funs.push("hightlight");}if(m.typ==1&&(isNaN(m.x)||isNaN(m.y))&&!stcFun("autoscroll")){if((st_nav.os=="mac"&&!st_nav.typ)||!STM_SMSC)st_ck.push([stssc,20,1]);else st_ck.push([stssc,1,1]);st_funs.push("autoscroll");}} function stgMe(n){for(var j=0;j<st_ms.length;j++)if(st_ms[j].nam==n) return st_ms[j];return false;} function stload(){for(var j=0;j<st_ld.length;j++)st_ld[j]();for(var j=0;j<st_ms.length;j++)if(st_ms[j].myload) st_ms[j].myload();} function staddE(i,f,m){if(!m.usrE[i])m.usrE[i]=[];m.usrE[i].push(f);} function stusrE(i,o,m){var r=1;if(m.usrE[i]){for(var j=0;j<m.usrE[i].length;j++)if(window[m.usrE[i][j]]&&!eval(m.usrE[i][j]+"(o)")) r=0; }return r;} function stm_fslip(a,m){if(!m)m=st_cm;staddE(0,"stslsh",m);staddE(2,"stslhd",m);if(!stcFun("filterSlip")){document.write(stgJs(m.jsP+"stslip.js"));st_funs.push("filterSlip");}} function stm_hdw(){for(var j=0;j<st_ms.length;j++){var m=st_ms[j];if(m.hdT.length){staddE(1,"sthdWels",m);staddE(3,"stshWels",m);} }} function stgtfrm(m){if(!m.cfrm) return window;var a=m.tfrn.split("."),w;if(m.sfrn) w="parent";else w="window";for(var j=0;j<a.length;++j){w+="."+a[j];if(typeof(eval(w))=="undefined")return 0;}return eval("parent."+m.tfrn);} function stgsfrm(m){if(!m.cfrm) return "";var s="",a=m.sfrn?("parent."+m.tfrn).split("."):m.tfrn.split("."),n=[],f=0;for(var j=0;j<a.length;j++){s+=a[j];if(typeof(eval(s))=="undefined") return "";else if(a[j]!="parent"){if(!f){if(n.length) n[n.length-1]="parent";else n.push("parent");f=1;}n.push("parent")}else n.push(eval(s).name);s+=".";}s="";for(var j=n.length-2;j>=0;j--)s+=n[j]+".";if(m.sfrn) s+=m.sfrn+".";return s;} function stm_hl(){for(var k=0;k<st_ms.length;k++){var m=st_ms[k],w=stgtfrm(m),ip=new Array(m.ps.length),ii=new Array(m.ps.length);if(!(m.lits&1)) continue;var li=[];if(m.lits&128)li[0]=1;if(m.lits&64)if(m.rtl)li[6]=1;else li[3]=1;if(m.lits&256)if(m.rtl)li[3]=1;else li[6]=1;if(m.lits&8)li[9]=1;if(m.lits&16)li[12]=1;if(m.lits&32)li[18]=1;if(m.lits&2)li[21]=1;if(m.lits&4)li[24]=1;li=stDtB(li);for(var j=0;j<m.lnks.length;j++){var i=m.lnks[j].dat,sn=0,pp,ex=i.pid?stckL(i,w):stckL(i);if(stisL(m.lnks[j].url,m.lnks[j].tar,0,w)){ if(i.ishl) continue;pp=[];i.blnk=i.lnk;if(m.lits&0x01000000){if(ex) i._anchor.href="";i.lnk="";}do{if(!i.isOv&&(i.pid&&stckL(i,w)||!i.pid&&stckL(i))) stcIt(i,li);i.stat=i.oust=li;i.ishl=1;if(typeof ii[i.pid]=="undefined")ii[i.pid]=[];ii[i.pid][i.id]=1;if(m.lits&0x08000000)pp.push(i.parP);i=i.parP.parI; }while(i&&(m.lits&0x04000000));if(m.lits&0x10000000)sn=Math.max(pp.length-m.litl,0);for(var q=pp.length-1;q>=sn;q--){if(pp[q].parI) pp[q].parI.parP.cIt=pp[q].parI;clearTimeout(pp[q].tid);if(!pp[q].isSh)stshP(pp[q]);ip[pp[q].id]=1;}}else if(i.ishl) {pp=[];if(m.lits&0x01000000){if(ex) i._anchor.href=i.blnk;i.lnk=i.blnk;}do{if(ii[i.pid]&&ii[i.pid][i.id])break;if(!i.isOv&&(i.pid&&stckL(i,w)||!i.pid&&stckL(i))) stcIt(i,0);i.stat=i.oust=0;i.ishl=0;if((m.lits&0x08000000)&&!ip[i.pid]){if(i.parP.parI&&i.parP.parI.parP.cIt==i.parP.parI)i.parP.parI.parP.cIt=0;sthdP(i.parP);}i=i.parP.parI;}while(i&&(m.lits&0x04000000));}}}} function stm_flt(a,m){ if(!STM_FILTER) return;if(!m)m=st_cm;staddE(0,"stfltshB",m);staddE(1,"stfltshE",m);staddE(2,"stflthdB",m);staddE(3,"stflthdE",m);if(!stcFun("iefilter")){document.write(stgJs(m.jsP+"stfilter.js"));st_funs.push("iefilter");}} function stssc(){for(var j=0;j<st_ms.length;j++){var m=st_ms[j];if(m.typ!=1||!(isNaN(m.x)||isNaN(m.y))) continue;var p=m.ps[0],rc=p._rc,xy=[eval(m.x),eval(m.y)];if(typeof(p.scxs)=='undefined')p.scxs=0;if(typeof(p.scys)=='undefined')p.scys=0;var dx=xy[0]-rc[0],dy=xy[1]-rc[1];if(dx||dy){ p.scxs=stgsp(p.scxs,Math.abs(dx));p.scys=stgsp(p.scys,Math.abs(dy));var x=dx>0?rc[0]+p.scxs:rc[0]-p.scxs,y=dy>0?rc[1]+p.scys:rc[1]-p.scys;stmvto([x,y],p)}}} function stgsp(sp,d){var i=0,s=5;if(d<s) return d;return Math.floor(Math.sqrt(2*d*s));} function stm_hi(){for(var j=0;j<st_ms.length;j++)if(st_ms[j].lits&0x08000000)staddE(6,"stshlp",st_ms[j]);} function stgfd(s){var ts=s.toLowerCase();if(!ts.indexOf("file:///")||!ts.indexOf("http://")||!ts.indexOf("https://"))return s.substr(0,s.lastIndexOf("/")+1);else return "";} function stabsL(s){var re,t;if(s.charAt(0)=="/"){re=/(file:\/{2,}[^\/]+\/|http:\/\/[^\/]+\/|https:\/\/[^\/]+\/)/;if(re.exec(st_path)) s=RegExp.$1+s.substr(1);}else if(!stabs(s))s=st_path.substr(0,st_path.lastIndexOf("/")+1)+s;else return s;while(s.indexOf("/./")>0)s=s.replace("/./","/");while((t=s.indexOf("/../"))>0){var p1,p2;p1=s.substr(0,t);p2=s.substr(t).replace("/../","");p1=p1.substr(0,p1.lastIndexOf("/")+1);s=p1+p2;}return s;}