/*================================================================
	ORC_JS, JavaScript Class Framework
 	version:3.00.70827
	Copyright 2007 by SourceTec Software Co.,LTD
	For more information, see:www.sothink.com
================================================================*/
if(typeof _STNS=="undefined"){if(!Array.prototype.push){Array.prototype.push=function(){for(var i=0;i<arguments.length;i++){this[this.length]=arguments[i];}return this.length;};}if(!Array.prototype.pop){Array.prototype.pop=function(){if(this.length){var o=this[this.length-1];this.length--;return o;}};}if(!Array.prototype.shift){Array.prototype.shift=function(){if(this.length){var o=this[0];for(var i=0;i<this.length-1;i++){this[i]=this[i+1];}this.length--;return o;}};}if(!Function.prototype.call){Function.prototype.call=function(_5){var _5=_5||window;_5.__tmp=this;var _6=_5.__tmp(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]);_5.__tmp=null;return _6;};}_STNS={sVer:"3.0",bDebug:false,fvThrow:function(e){return;},bBufImg:true,oImgs:{},fvBufImgs:function(){if(!_STNS.bBufImg){return;}if(!_STNS.bLoaded){var s="";for(var i in _STNS.oImgs){if(_STNS.oImgs[i]!=2){s+=_STNS.fsGetTag("div","style=\"display:none\"",_STNS.fsGetImgTag(i,-1,-1));}_STNS.oImgs[i]=2;}document.write(s);}},bIsIE:false,bIsMIE:false,bIsFX:false,bIsOP:false,bIsSF:false,oNav:null,bRTL:false,sDocMd:null,sURL:window.location.href+"",sDIR:null,bLocal:false,fsGetDocMd:function(w){var w=w||window;switch(w.document.compatMode){case "QuirksMode":case "BackCompat":return "quirks";case "CSS1Compat":return "css1";default:return document.compatMode;}},_foGetNav:function(){var _n=navigator,_u=_n.userAgent,_a=_n.appName,_p=_n.platform,n,v,p;if(/(Opera)[ \/]([\d\.]+)/.test(_u)||/(Netscape)\d*\/([\d\.]+)/.test(_u)||/(MSIE) ([\d\.]+)/.test(_u)||/(Safari)\/([\d\.]+)/.test(_u)||/(Konqueror)\/([\d\.]+)/.test(_u)||/(Gecko)\/(\d+)/.test(_u)){n=RegExp.$1.toLowerCase();v=RegExp.$2;}else{if(_a=="Netscape"&&_n.appVersion.charAt(0)=="4"){n="netscape4";v=parseFloat(_n.appVersion);}else{n="unknow";v=0;}}if(n=="netscape"){switch(_a){case "Microsoft Internet Explorer":n="msie";v=/(MSIE) ([\d\.]+)/.exec(_u)[2];break;case "Netscape":n="gecko";v=/(Gecko)\/(\d+)/.exec(_u)[2];}}if(/^(Win)/.test(_p)||/^(Mac)/.test(_p)||/^(SunOS)/.test(_p)||/^(Linux)/.test(_p)||/^(Unix)/.test(_p)){p=RegExp.$1.toLowerCase();}else{p=_p;}return {name:n,version:v,platform:p};},fiGetCT:function(w){var w=w||window;if(_STNS.bIsIE){return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).scrollTop;}else{return w.pageYOffset;}},fiGetCL:function(w){var w=w||window;if(_STNS.bIsIE){return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).scrollLeft;}else{return w.pageXOffset;}},fiGetCW:function(w){var w=w||window;if(_STNS.bIsIE){return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).clientWidth;}else{if(w.scrollbars&&w.scrollbars.visible||w.innerHeight<document.documentElement.offsetHeight){return w.innerWidth-20;}}return w.innerWidth;},fiGetCH:function(w){var w=w||window;if(_STNS.bIsIE){return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).clientHeight;}else{if(w.scrollbars&&w.scrollbars.visible||w.innerWidth<document.documentElement.offsetWidth){return w.innerHeight-20;}}return w.innerHeight;},foGetMediaInfor:function(s){_STNS.fvThrow(new Error("_STNS.runTime error:call foGetMediaInfor that has not been implemented"));},oLibs:{},sLibPth:"",fvInitLib:function(){var scs,sc,s,t,ls,pth;if(_STNS.bIsFX&&!_STNS.faGetElesByTagName("body").length){var hds=_STNS.faGetElesByTagName("head");sc=hds[0].lastChild;}else{scs=_STNS.faGetElesByTagName("script");sc=scs[scs.length-1];}if(sc){s=sc.src;}if(s){_STNS.sLibPth=s.substr(0,s.lastIndexOf("/")+1);t=_STNS.fcoGetAttribute(sc,"sothinkdebug");if(t=="true"){pth=_STNS.fsGetAbsPth(_STNS.sLibPth+"debug/stdebug.js");if(!_STNS.oLibs[pth]){_STNS.oLibs[pth]={state:1,defer:0};}}t=_STNS.fcoGetAttribute(sc,"sothinklib");if(t){ls=t.split(";");for(var i=0;i<ls.length;i++){if(!ls[i]){continue;}if(!_STNS.fbIsFile(ls[i])){ls[i]+=".js";}pth=_STNS.fsGetAbsPth(_STNS.sLibPth+ls[i]);if(_STNS.oLibs[pth]){continue;}_STNS.oLibs[pth]={state:1,defer:0};}}}else{_STNS.fvThrow(new Error("_STNS.runTime error:can't get lib path"));}},fvInc:function(s,f){if(!_STNS.oLibs[s]){_STNS.oLibs[s]={state:1,defer:f};}},fvLoadLib:function(){var s="";with(_STNS){for(var i in oLibs){if(oLibs[i].state!=2){if(bLoaded){fbInsJs(i);}else{s+=fsGetJsTag(i,oLibs[i].defer);}oLibs[i].state=2;}}}if(s){document.write(s);}},bLoaded:false,_aLoads:[],fbAddLoad:function(f){if(!_STNS.bLoaded&&typeof f=="function"){return _STNS._aLoads.push(f);}else{if(_STNS.bLoaded){_STNS.fvThrow(new Error("_STNS.runTime error:Page has been loaded!"));}else{_STNS.fvThrow(new Error("_STNS.runTime error:Not a function is pushed into onload event!"));}}return false;},_fvOnload:function(){with(_STNS){if(bLoaded){return;}bLoaded=true;for(var j=0;j<_aLoads.length;j++){_aLoads[j]();}}},_fvInitOnload:function(){if(_STNS.bIsIE&&window.attachEvent){window.attachEvent("onload",_STNS._fvOnload);}else{if(_STNS.oNav.name!="konqueror"&&window.addEventListener){window.addEventListener("load",_STNS._fvOnload,false);}else{if(!window.onload||window.onload.toString()!=_STNS._fvOnload.toString()){if(typeof window.onload=="function"){_STNS.fbAddLoad(window.onload);}onload=_STNS._fvOnload;}}}},_aCks:[],bCkPg:false,nCkTid:0,nCkTime:100,fvAddCk:function(f){if(typeof f=="function"){with(_STNS){if(bCkPg){clearTimeout(nCkTid);bCkPg=false;}_aCks.push(f);if(bLoaded){_fvCkPg();}}}else{_STNS.fvThrow(new Error("_STNS.runTime error:Not a function is pushed into check page event!"));}return false;},_fvCkPg:function(){with(_STNS){if(_aCks.length){bCkPg=true;for(var i=0;i<_aCks.length;i++){_aCks[i]();}nCkTid=setTimeout("_STNS._fvCkPg()",nCkTime);}else{bCkPg=false;}}},bShield:false,oDefCSS:{tb:"border-style:none;background-color:transparent;background-image:none;",tr:"border-style:none;background-color:transparent;background-image:none;",td:"border-style:none;background-color:transparent;background-image:none;",dv:"border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;",a:"display:block;border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;",hd:"display:none;",sp:"border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;"},foCss2Obj:function(s){var o={},a,re=/([\w\-_]+):([^;]+)(;|$)/,ra;a=s.split(";");for(var i=0;i<a.length;i++){ra=re.exec(a[i]);if(ra){o[ra[1]]=ra[2];}}return o;},foCss2Style:function(s){var cs=_STNS.foCss2Obj(s),re=/-([a-z])/,o={},i,k,t;for(i in cs){t=re.exec(i);if(t){k=i.replace("-"+t[1],t[1].toUpperCase());}else{k=i;}o[k]=cs[i];}return o;},fsObj2Css:function(a){var s="";for(var i in a){s+=i+":"+a[i]+";";}return s;},fvCSSShield:function(){with(_STNS){if(bLoaded){bShield=false;}else{if(faGetElesByTagName("body")&&faGetElesByTagName("body").length){bShield=false;}else{var i,s="\n<style>\n";for(i in oDefCSS){if(i=="a"){s+=".sta:link,.sta:hover,.sta:active,.sta:visited";}else{s+=".st"+i;}s+="{"+oDefCSS[i]+"}\n";}s+="</style>";bShield=true;document.write(s);}}}},fsReadCoki:function(n){var i,cs=document.cookie.split("; ");for(i=0;i<cs.length;i++){if(!cs[i].indexOf(n+"=")){return cs[i].substr(n.length);}}},fvSaveCoki:function(n,v,t){var s=n+"="+v+"; ",d=new Date;if(!t||!v){s+="expires=Fri, 31 Dec 1999 23:59:59 GMT; ";}else{s+="expires="+((new Date(d-0+t)).toGMTString())+"; ";}s+="path=/; ";document.cookie=s;},ffGetFun:function(f){if(typeof f=="function"){return f;}else{if(typeof f=="string"&&window[f]){return window[f];}}},fbIsAbsPth:function(s){var t=s.toLowerCase();return /^(#|\?|\/|[a-z]:|http:|https:|file:|ftp:|javascript:|vbscript:|mailto:|about:|gopher:|news:|res:|telnet:|view-source|wais:|rtsp:|mms:|outlook:)/.test(t);},fsGetAbsPth:function(s){if(!s){return s;}var re,t;if(!s.indexOf("//")){return s;}if(s.charAt(0)=="/"){re=/(file:\/{2,}[^\/]+\/|http:\/\/[^\/]+\/|https:\/\/[^\/]+\/)/;if(re.exec(_STNS.sDIR)){s=RegExp.$1+s.substr(1);}}else{if(s=="#"){if(_STNS.sURL.charAt(_STNS.sURL.length-1)!="#"){return _STNS.sURL+"#";}else{return _STNS.sURL;}}else{if(!_STNS.fbIsAbsPth(s)){s=_STNS.sDIR+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;},fsGetImgTag:function(s,w,h,b,id,nw,nh){if(!s||!w||!h){return "";}if(nw&&nh){if(w==-1&&h==-1){w=nw,h=nh;}else{if(w==-1&&h!=-1){w=Math.floor(nw*h/nh);}else{if(w!=-1&&h==-1){h=Math.floor(nh*w/nw);}}}}return "<img class='stimg' src='"+s+"'"+(w==-1?"":" width="+w)+(h==-1?"":" height="+h)+" border="+(b?b:0)+(id?" id='"+id+"'":"")+">";},fsGetJsTag:function(s,f){return "<script type='text/javascript' language='javascript1.2' src='"+s+"'"+(f?" DEFER":"")+"></"+"script>";},fsGetTag:function(t,a,s){return "<"+t+" "+a+">"+(s?s:"")+"</"+t+">";},fbIsFile:function(s){return /\w+\.\w+$/.test(s);},fbIsImg:function(s){return /\.(gif|png|jpg|jpeg|bmp)$/.test(s.toLowerCase());},fsGetDIR:function(s){var t=s.toLowerCase();if(!t.indexOf("file:/")||!t.indexOf("http://")||!t.indexOf("https://")){return s.substr(0,s.lastIndexOf("/")+1);}else{return "";}},fsGetHTMLEnti:function(s,f){if(!s){return "";}var re;re=/&/g;s=s.replace(re,"&amp;");if(!f){re=/ /g;s=s.replace(re,"&nbsp;");}re=/</g;s=s.replace(re,"&lt;");re=/>/g;s=s.replace(re,"&gt;");re=/\"/g;s=s.replace(re,"&quot;");return s;},faJoinA:function(a,b){var c=[],l=Math.max(a.length,b.length);for(var i=0;i<l;i++){if(a[i]==null){c[i]=b[i];}else{c[i]=a[i];}}return c;},S64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ#@",fiTransX2D:function(n,m){m=String(m).replace(/ /gi,"");if(m==""){return 0;}var a=_STNS.S64.substr(0,n);if(eval("m.replace(/["+a+"]/gi,'')")!=""){_STNS.fvThrow(new Error("_STNS.runTime error:Transform bad number from "+m+" to 10!"));return 0;}var t=0,c=1;for(var x=m.length-1;x>-1;x--){t+=c*(a.indexOf(m.charAt(x)));c*=n;}return t;},fsTranD2X:function(n,m){m=String(m).replace(/ /gi,"");if(m==""){return 0;}if(parseInt(m)!=m){_STNS.fvThrow(new Error("_STNS.runTime error:Transform bad number from 10 to "+m+"!"));return "";}var t="",a=_STNS.S64.substr(0,n);while(m!=0){var b=m%n;t=a.charAt(b)+t;m=(m-b)/n;}if(!t){t="0";}return t;},faCP2PP:function(cp,w){var t,l;with(_STNS){t=fiGetCT(w);l=fiGetCL(w);return [cp[0]+l,cp[1]+t];}},faPP2CP:function(pp,w){var t,l;with(_STNS){t=fiGetCT(w);l=fiGetCL(w);return [pp[0]-l,pp[1]-t];}},fsGetLen:function(t,l,p,b,s,w){var _r=_STNS,u;if(w==null){w=true;}if(s==null){s=true;}if(p==null){p=0;}if(b==null){b=0;}if(typeof l=="string"){u=/%|px|pt|em|ex|pc|in|cm|mm$/.exec(l);}if(u){switch(u[0]){case "%":return l;default:u=u[0];}}else{l=parseInt(l);u="px";}switch(t){case "dv":if(_r.sDocMd=="css1"||(!_r.bIsIE&&!_r.bIsOP||(_r.bIsOP&&parseInt(_r.oNav.version)>=8))){return l-2*p-2*b+u;}break;case "tb":if(_r.bIsMIE&&!w&&s){return l-2*b-2*p+u;}break;case "td":if(_r.bIsSF){if(_r.sDocMd!="css1"||w){if(s){return l-2*b+u;}else{return l-2*p+u;}}else{return l-2*p-2*b+u;}}else{if(!_r.bIsMIE&&(_r.sDocMd=="css1"||w)){return l-2*b-2*p+u;}}break;}return l+u;},fdmGetEleById:function(id,w){var w=w||window;with(_STNS){if(bIsIE){var es=w.document.all(id);if(es&&es.length){return es[0];}else{return es;}}else{return w.document.getElementById(id);}}},faGetElesByTagName:function(n,w){var w=w||window;with(_STNS){if(bIsIE){return w.document.all.tags(n);}else{return w.document.getElementsByTagName(n);}}},faGetElesByCls:function(n,w){var w=w||window;var i,a=[],el,els=_STNS.bIsIE?w.document.all:w.document.getElementsByTagName("*");for(i=0;el=els[i];i++){if(el.className==n){a.push(el);}}return a;},fdmGetFmByName:function(n,w){var w=w||window;if(w.frames[t]){return w.frames[t];}else{if(w.parent){return w.parent.frames[t];}}},fbIsPar:function(p,c){if(_STNS.bIsIE){return p.contains(c);}else{if(!p||!c){return false;}if(p==c){return true;}do{if(c.parentNode){c=c.parentNode;}else{break;}if(p==c){return true;}}while(c);}return false;},fbInsHTML:function(e,p,h){if(_STNS.bIsIE){return e.insertAdjacentHTML(p,h);}else{var d=e.ownerDocument,t=d.createElement("span");t.innerHTML=h;switch(p){case "beforeBegin":return e.parentNode.insertBefore(t,e);case "afterBegin":return e.insertBefore(t,e.firstChild);case "beforeEnd":return e.appendChild(t);case "afterEnd":if(e.nextSibling){return e.parentNode.insertBefore(t,e.nextSibling);}else{return e.parentNode.appendChild(t);}}}return false;},fbInsEle:function(e,p,ne){if(_STNS.bIsIE){return e.insertAdjacentElement(p,ne);}else{switch(p){case "beforeBegin":return e.parentNode.insertBefore(ne,e);case "afterBegin":return e.insertBefore(ne,e.firstChild);case "beforeEnd":return e.appendChild(ne);case "afterEnd":if(o.nextSibling){return e.parentNode.insertBefore(ne,e.nextSibling);}else{return e.parentNode.appendChild(ne);}}}},fbDelEle:function(e){var p=e.parentNode;return p.removeChild(e);},fbInsJs:function(s,l){var l=l||"JavaScript";var hd=_STNS.faGetElesByTagName("HEAD");if(hd&&hd[0]){l=l.toLowerCase();var t=document.createElement("script");t.language=l;if(!l.indexOf("javascript")||!l.indexOf("jscript")){t.type="text/javascript";}t.src=s;_STNS.fbInsEle(hd,"beforeEnd",t);}},fdmCreateXMLHttp:function(){var _99;if(window.XMLHttpRequest){_99=new XMLHttpRequest();}else{var _9a=["MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(var n=0;n<_9a.length;n++){try{_99=new ActiveXObject(_9a[n]);break;}catch(e){_99=null;}}}if(!_99){_99=null;_STNS.fvThrow(new Error("Create XMLHttpRequest fail!"));return;}if(_99.readyState==null){_99.readyState=0;_99.addEventListener("load",function(){_99.readyState=4;if(typeof _99.onreadystatechange=="function"){_99.onreadystatechange();}},false);}return _99;},fdmCreateXMLDoc:function(){var _9c;if(_STNS.bIsIE){var _9d=["Msxml2.DOMDocument.4.0","Msxml2.DOMDocument.3.0","Msxml2.DOMDocument","Microsoft.XMLDOM"];for(var n=0;n<_9d.length;n++){try{_9c=new ActiveXObject(_9d[n]);break;}catch(e){}}}else{_9c=document.implementation.createDocument("","",null);}if(!_9c){_STNS.fvThrow(new Error("Create XMLDOMDocument fail!"));return;}return _9c;},faGetElePos:function(e){if(!e){return;}var x=y=bl=bt=0;while(e){x+=e.offsetLeft;y+=e.offsetTop;if((_STNS.oNav.name=="konqueror"||_STNS.oNav.name=="safari")&&e.style.position.toLowerCase()=="absolute"){break;}switch(e.tagName){case "TD":if(_STNS.bIsIE||_STNS.bIsOP&&_STNS.oNav.version<9){bl=parseInt(_STNS.fsGetEleStyle(e,"borderLeftWidth"));bt=parseInt(_STNS.fsGetEleStyle(e,"borderTopWidth"));if(!isNaN(bl)){x+=bl;}if(!isNaN(bt)){y+=bt;}}break;}if(e.parentNode&&e.parentNode.tagName=="DIV"){var s=_STNS.fsGetEleStyle(e.parentNode,"overflow").toLowerCase();if(s=="hidden"||s=="scroll"||s=="auto"){x-=e.parentNode.scrollLeft;y-=e.parentNode.scrollTop;}}e=e.offsetParent;}return [x,y];},fiGetEleWid:function(e){return e.offsetWidth;},fiGetEleHei:function(e){return e.offsetHeight;},fsGetEleStyle:function(e,p){if(!e||!p){return;}if(_STNS.bIsIE){return e.currentStyle[p];}else{if(window.getComputedStyle){var w=e.ownerDocument.defaultView;p=p.replace(/([A-Z])/g,"-$1");return w.getComputedStyle(e,"").getPropertyValue(p.toLowerCase());}else{return e.style[p];}}},fcoGetAttribute:function(e,a){if(!e||!a){return;}if(_STNS.bIsIE){return e[a];}else{return e.getAttribute(a);}},fbFalse:function(){return false;},fbTrue:function(){return true;}};_STNS.Class=(function(){var _a9=function(){var c=function(){if(_STNS.bIsIE){this._cls=this.constructor;}else{this._cls=arguments.callee;}_ab.call(this,arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);};_ac(c,arguments);c.register=_ad;c.toString=_ae;c.substrOf=_af;c.superclassOf=_b0;return c;};_a9.toString=function(){return "[object Class]";};_a9.getC=function(pth){var _b2=[];if(!_b3(pth,_b2)||!_b4[_b2[0]][_b2[1]]){_STNS.fvThrow(new Error("Class get error: Class \""+pth+"\" is not found"));return;}return _b4[_b2[0]][_b2[1]];};_a9.getClsLst=function(o,pre){var o=o||_b4,pre=pre||"/",sp,s="";for(var i in o){if(typeof o[i]=="object"){sp=pre+i+"/";s+=_STNS.Class.getClsLst(o[i],sp);}else{s+=pre+i+"\n";}}return s;};var _ad=function(pth){var _bb=[];if(!_b3(pth,_bb)){_STNS.fvThrow(new Error("Class register error: Invalid class path:"+pth));return;}var pkg=_bb[0];var cn=_bb[1];if(pkg){if(!_b4[pkg]){_b4[pkg]={};}var _be=_b4[pkg][cn];if(_be){_STNS.fvThrow(new Error("Class register error: Class \""+pth+"\" already exists"));return;}_b4[pkg][cn]=this;}else{var _be=_b4[cn];if(_be){_STNS.fvThrow(new Error("Class register error: Class \""+pth+"\" already exists"));return;}_b4[cn]=this;}this._pkg=pkg;this._cn=cn;};var _b4={};var _bf=function(_c0,_c1){if(typeof _c0=="string"){_c0=_STNS.Class.getC(_c0);}if(typeof _c1=="string"){_c1=_STNS.Class.getC(_c1);}if(typeof _c0!="function"||typeof _c1!="function"){return false;}if(!_c0._supers){return false;}for(var i=0;i<_c0._supers.length;i++){if(_c0._supers[i]==_c1){return true;}else{if(_bf(_c0._supers[i],_c1)){return true;}}}return false;};var _af=function(cls){return _bf(this,cls);};var _b0=function(cls){return _bf(cls,this);};var _b3=function(pth,_c6){if(typeof pth!="string"||!pth){return false;}var n=pth.lastIndexOf("/");if(n>-1){_c6[0]=pth.substr(0,n);_c6[1]=pth.substr(n+1);}else{_c6[0]="";_c6[1]=pth;}return true;};var _ac=function(c,as){c._supers=[];for(var i=0;i<as.length;i++){var s=as[i];if(typeof s=="string"){s=_STNS.Class.getC(s);}if(typeof s!="function"){_STNS.fvThrow(new Error("Class create error: Invalid superclass: "+"args["+i+"]"));return;}c._supers.push(s);}};var _ab=function(){var c=this._cls;for(var i=c._supers.length-1;i>=0;i--){if(_STNS.bIsIE){this.constructor=c._supers[i];}c._supers[i].call(this,arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);}if(_STNS.bIsIE){this.constructor=c;}this._cls=c;this.toString=_ce;this.getClass=_cf;this.instanceOf=_d0;this.toConvert=_d1;if(c.construct){c.construct.call(this,arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);}};var _d1=function(cls){var c=this._cls;if(_bf(c,cls)){var t=new cls;for(var i in this){if(typeof t[i]=="undefined"){delete this[i];}if(cls[i]){this[i]=cls[i];}}}else{if(_bf(cls,c)){var f=0;for(var i=cls._supers.length-1;i>=0;i--){if(_STNS.bIsIE){this.constructor=cls._supers[i];}if(cls._supers[i]!=c){cls._supers[i].call(this,arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);}else{f=1;}}if(!f){_STNS.fvThrow(new Error("_STNS.runTime error:Can't convert this instance;The class of instance must be the target class's direct superClass!"));return;}if(_STNS.bIsIE){this.constructor=cls;}this._cls=cls;if(cls.construct){cls.construct.call(this,arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9]);}}else{_STNS.fvThrow(new Error("_STNS.runTime error:Can't convert this instance;The class of instance must be the target class's subClass or direct superClass!"));}}};var _d0=function(c){if(typeof c=="string"){c=_STNS.Class.getC(c);}if(typeof c!=="function"){return false;}return this._cls==c;};var _cf=function(){return this._cls;};var _ce=function(){if(this._cls._cn){return "[object Object "+this._cls._pkg+"/"+this._cls._cn+"]";}else{return "[object Object Anonymous class]";}};var _ae=function(){if(this._cn){return "[object Class "+this._pkg+"/"+this._cn+"]";}return "[object Anonymous Class]";};return _a9;})();with(_STNS){sDocMd=fsGetDocMd();oNav=_foGetNav();bIsIE=oNav.name=="msie";bIsMIE=bIsIE&&oNav.platform=="Mac";bIsOP=oNav.name=="opera";bIsFX=oNav.name=="gecko";bIsSF=oNav.name=="safari";sDIR=fsGetDIR(sURL);bLocal=!sURL.indexOf("file:");_fvInitOnload();fbAddLoad(_fvCkPg);fvInitLib();fvInc(_STNS.fsGetAbsPth(_STNS.sLibPth+"stcode.js"));fvLoadLib();fvCSSShield();}}if(typeof _STNS!="undefined"&&!_STNS.EFFECT){_STNS.EFFECT={foGetEff:function(s,id,w,d,o){if(!s){return 0;}var t=s.toLowerCase(),c;if((!t.indexOf("progid:")||!t.indexOf("revealtrans"))&&_STNS.EFFECT["CEffIE"]){return new _STNS.EFFECT["CEffIE"](s,id,w,d,o);}else{if(!s.indexOf("stEffect")){s=s.substring(10,s.length-2);return stEffect(s,id,w,d,o);}else{return 0;}}}};with(_STNS.EFFECT){_STNS.EFFECT.CEffect=_STNS.Class();CEffect.register("EFFECT/CEffect");CEffect.construct=function(n,id,w){this._iStat=-1;this.sName=n;this.sDmId=id;this.dmWin=w||window;with(_STNS.EFFECT.CEffect){this.fiGetStat=fiGetStat;this.fbSet=_STNS.fbFalse;this.fbDel=_STNS.fbFalse;this.fbApply=_STNS.fbFalse;this.fbPlay=_STNS.fbFalse;this.fbStop=_STNS.fbFalse;this.fbSetStyle=_STNS.fbFalse;}};CEffect.fiGetStat=function(){return this._iStat;};}function stEffect(n,id,w,dur,o){var cn="CEff"+n.charAt(0).toUpperCase()+n.substr(1);if(_STNS.EFFECT[cn]){return new _STNS.EFFECT[cn](n,id,w,dur,o);}}}



// Описание меню из картинок

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;


if (document.images)
{

AboutOn=new Image(145,25);
AboutOn.src="Pict/about_over.jpg";
AboutOff=new Image(145,25);
AboutOff.src="Pict/about2.jpg";

HotelsOn=new Image(145,25);
HotelsOn.src="Pict/hotels_over.jpg";
HotelsOff=new Image(145,25);
HotelsOff.src="Pict/hotels.jpg";

ToursOn=new Image(145,25);
ToursOn.src="Pict/tours_over.jpg";
ToursOff=new Image(145,25);
ToursOff.src="Pict/tours.jpg";

HotOn=new Image(145,25);
HotOn.src="Pict/hot_over.jpg";
HotOff=new Image(145,25);
HotOff.src="Pict/hot.jpg";

HotsOn=new Image(145,25);
HotsOn.src="Pict/hots_over.jpg";
HotsOff=new Image(145,25);
HotsOff.src="Pict/hots.jpg";

BusvisaOn=new Image(145,25);
BusvisaOn.src="Pict/busvisa_over.jpg";
BusvisaOff=new Image(145,25);
BusvisaOff.src="Pict/busvisa.jpg";

ExcrsOn=new Image(145,25);
ExcrsOn.src="Pict/excrs_over.jpg";
ExcrsOff=new Image(145,25);
ExcrsOff.src="Pict/excrs.jpg";

FinOn=new Image(145,25);
FinOn.src="Pict/fin_over.jpg";
FinOff=new Image(145,25);
FinOff.src="Pict/fin.jpg";

FinkotOn=new Image(145,25);
FinkotOn.src="Pict/finkot_over.jpg";
FinkotOff=new Image(145,25);
FinkotOff.src="Pict/finkot.jpg";

FinvisOn=new Image(145,25);
FinvisOn.src="Pict/finvis_over.jpg";
FinvisOff=new Image(145,25);
FinvisOff.src="Pict/finvis.jpg";

ForumOn=new Image(145,25);
ForumOn.src="Pict/forum_over.jpg";
ForumOff=new Image(145,25);
ForumOff.src="Pict/forum.jpg";

KonfOn=new Image(145,25);
KonfOn.src="Pict/konf_over.jpg";
KonfOff=new Image(145,25);
KonfOff.src="Pict/konf.jpg";

MiniOn=new Image(145,25);
MiniOn.src="Pict/mini_over.jpg";
MiniOff=new Image(145,25);
MiniOff.src="Pict/mini.jpg";

NewyearOn=new Image(145,25);
NewyearOn.src="Pict/newyear_over.jpg";
NewyearOff=new Image(145,25);
NewyearOff.src="Pict/newyear.jpg";

OtzivOn=new Image(145,25);
OtzivOn.src="Pict/otziv_over.jpg";
OtzivOff=new Image(145,25);
OtzivOff.src="Pict/otziv.jpg";

OzpOn=new Image(145,25);
OzpOn.src="Pict/ozp_over.jpg";
OzpOff=new Image(145,25);
OzpOff.src="Pict/ozp.jpg";

PaspOn=new Image(145,25);
PaspOn.src="Pict/pasp_over.jpg";
PaspOff=new Image(145,25);
PaspOff.src="Pict/pasp.jpg";

PriglOn=new Image(145,25);
PriglOn.src="Pict/prigl_over.jpg";
PriglOff=new Image(145,25);
PriglOff.src="Pict/prigl.jpg";

TransOn=new Image(145,25);
TransOn.src="Pict/trans_over.jpg";
TransOff=new Image(145,25);
TransOff.src="Pict/trans.jpg";

VisasOn=new Image(145,25);
VisasOn.src="Pict/visas_over.jpg";
VisasOff=new Image(145,25);
VisasOff.src="Pict/visas.jpg";

ZakazOn=new Image(145,25);
ZakazOn.src="Pict/zakaz_over.jpg";
ZakazOff=new Image(145,25);
ZakazOff.src="Pict/zakaz.jpg";


};

function on(pic) 
{
	if (document.images)
	{
	document.images[pic].src=eval(pic+"On.src");
	}
};
function off(pic)
{ 
	if (document.images)
	{
	document.images[pic].src=eval(pic+"Off.src");
	}
};

function menu()
{
<!--

document.writeln("stm_bm([\"menu1108\",810,\"\",\"js/blank.gif\",0,\"\",\"\",0,0,250,50,1000,1,0,0,\"\",\"\",0,0,1,1,\"hand\",\"hand\",\"\"],this)");
stm_bp("p0",[1,4,0,0,1,2,13,7,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.40)",-2,"",-2,70,0,0,"#7F7F7F","#F2F2F2","",3,0,0,"#666666"]);
stm_ai("p0i0",[0,"Гостиницы Питера","","",-1,-1,0,"","_self","","","","",13,0,0,"","",0,0,0,1,1,"#8AAEC6",0,"#8AAEC6",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#003366","#003366","bold 10pt Arial","bold 10pt Arial",0,0],155,24);
stm_aix("p0i1","p0i0",[0,"Гостиницы","","",-1,-1,0,"","_self","","","","",0,0,0,"js/arrow_r.gif","js/arrow_r.gif",7,7,0,1,1,"#FFFFFF",0,"#B7CEE2",0,"js/fade.gif","",3,3,0,0,"#FFFFFF","#FFFFFF","#999999","#006699"],155,24);
stm_bpx("p1","p0",[1,2,0,0,1,2,0,0]);
stm_aix("p1i0","p0i1",[0,"Гостиницы","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFFF",1],130,0);
stm_aix("p1i1","p1i0",[0,"Мини-гостиницы"],130,0);
stm_aix("p1i2","p1i0",[0,"Отзывы"],130,0);
stm_ep();
stm_aix("p0i2","p0i1",[0,"Финляндия"],155,24);
stm_bpx("p2","p0",[1,2,0,0,1,2,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.40)",-2,"",-2,70,0,0,"#7F7F7F","#FFFFFF"]);
stm_aix("p2i0","p1i0",[]);
stm_aix("p2i1","p1i0",[0,"Коттеджи "],130);
stm_aix("p2i2","p1i0",[0,"Новый год"],130);
stm_aix("p2i3","p1i0",[0,"Визы"],130);
stm_ep();
stm_aix("p0i3","p0i1",[0,"Экскурсии","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0],155,24);
stm_aix("p0i4","p0i3",[0,"Приглашения"],155,24);
stm_aix("p0i5","p0i3",[1,"Транспорт"],155,24);
stm_aix("p0i6","p0i3",[0,"Паспорта"],155,24);
stm_aix("p0i7","p0i3",[0,"Конференции"],155,24);
stm_aix("p0i8","p0i3",[0,"Контакты"],155,24);
stm_ep();
stm_em();
//-->
}

// Конец меню из картинок\
 //начало английского меню из картинок\
 function menu_eng()  
 {
    document.writeln("<TABLE class=\"menu\"  cellpadding=0 CELLSPACING=2 border=0>\
<TR>\
	<TD class=\"menu\" onmouseover=\" style.cursor=\'hand\'\" > <IMG SRC=\"img/ab_eng1.gif\" id=\"About\"  \
	onClick=\"location.href=\'index_eng.html\' \"\
		    WIDTH=145 HEIGHT=15 BORDER=0 alt=\"About firm\"></TD>   \
</TR>\
<TR>\
	<TD class=\"pic\"></TD>\
</TR>\
<TR>\
	<TD class=\"menu\" onmouseover=\" style.cursor=\'hand\'\" > <IMG SRC=\"img/ser_eng1.gif\"  id=\"Uslugi\"  \
	onClick=\"location.href=\'uslugi_eng.html\' \"\ WIDTH=145 HEIGHT=15 BORDER=0 ALT=\"Service\" ></TD> </TR>\
<TR>\
	<TD class=\"pic\"></TD>\
</TR>\
<TR>\
	<TD class=\"menu\" onmouseover=\" style.cursor=\'hand\'\" > <IMG SRC=\"img/hot_eng1.gif\" id=\"Hotel\"  \
	onClick=\"location.href=\'hotels_tabl.html\' \"\ WIDTH=145 HEIGHT=15 BORDER=0  alt=\"Hotels of St.-Petersburg\"></TD>  </TR>\
<TR>\
	<TD class=\"pic\"></TD></TR>\
<TR>\
	<TD class=\"menu\" onmouseover=\" style.cursor=\'hand\'\" > <IMG SRC=\"img/exc_eng1.gif\"  id=\"Conf\"  \
	WIDTH=145 HEIGHT=15 BORDER=0 alt=\"Excursions\" onClick=\"location.href=\'excurs_eng.html\'\"></TD></TR>\
	</TD>   </TR>\
<TR>\
	<TD class=\"pic\"></TD></TR>\
<TR>\
	<TD class=\"menu\" onmouseover=\" style.cursor=\'hand\'\" > <IMG SRC=\"img/trn_eng1.gif\" id=\"Trans\"  \
	WIDTH=145 HEIGHT=15 BORDER=0 ALT=\"Transport\"\
		   onClick=\"location.href=\'transp_eng.html\' \"\" ></TD>  </TR>\
<TR>\
	<TD class=\"pic\"></TD></TR>\
<TR>\
	<TD class=\"menu\"  onmouseover=\" style.cursor=\'hand\'\" > <IMG SRC=\"img/vis_eng1.gif\" id=\"Viza\"  \
	WIDTH=145 HEIGHT=15 BORDER=0 alt=\"Visa support\" onClick=\"location.href=\'visas_eng.html\' \"\" ></TD> </TR>\</TABLE><BR><BR>Order hotel:<BR><TABLE class=\"menu\"  cellpadding=0 CELLSPACING=2 border=0 >\
<TR>\
	<TD class=\"pic\"></TD></TR>\
<TR>\
	<TD class=\"menu\"  onmouseover=\" style.cursor=\'hand\'\" > <IMG SRC=\"img/ord_eng1.gif\" id=\"Order\"  \
	onClick=\"location.href=\'order.html\' \"\ WIDTH=145 HEIGHT=15 BORDER=0  ></TD></TR>\
<TR>\
        <TD class=\"pic\"></TD></TR>\
<TR>\
	<TD class=\"menu\"  onmouseover=\" style.cursor=\'hand\'\" > <IMG SRC=\"img/about8_2.GIF\" id=\"Abot\"  \
	onClick=\"location.href=\'links_t.html\' \"\ WIDTH=145 HEIGHT=15 BORDER=0  ></TD></TR>\
	  <TR>\
	<TD class=\"pic\"></TD></TR></TABLE><BR><BR><A targert=\"mailform\" onclick=\"javascript: window.open(\'mailto.html\', \'mailform\',config=\'resizable=no,scrollbars=yes,width=530,height=350\');\"><IMG SRC=\"img/letter.gif\"  BORDER=0 ALT=\"send letter\" align=center></A>");

 }



 // Описание рамок с текстом\
 // нечетные номера индексов массива должны быть указанны в аргументе функции txt(bx) в теле  документа и соответствовать номерам страницы  и рамки\

dt=new Array()
dt[1]="Контакты"
dt[2]="Телефон:<br> +7(812)923-29-29<BR>+7(812)578-13-76<br>+7(812)710-29-14<br>+7(812)578-11-28<BR>+7(812)963-29-29<br>+7(812)974-13-12<br><br>Закажите отель по<br> e-mail: <BR><A HREF=\"mailto:info@slktour.com\" ><b>info@slktour.com</b></A><br><br>Свяжитесь с нами:<br>ICQ: 254664434 <a href='http://wwp.icq.com/scripts/contact.dll?msgto=254664434'><img src='http://wwp.icq.com/scripts/online.dll?icq=254664434&img=5' border=0></a><br><br><b> Мы работаем<br> без наценки!</b><br><br>Наш <a href=http://www.slktour.ru/forum/><strong>ФОРУМ</strong></a>"
dt[3]="ВНИМАНИЕ!!"
dt[4]="Рекомендуем посетить наш <a href=http://www.slktour.ru/forum/><strong>ФОРУМ</strong></a><br> Тут вы можете:<br> - почитать отзывы об отелях,<br>- оставить свой отзыв,<br>- задать вопрос нашим менеджерам...<BR><BR>>><A HREF=\"http://www.slktour.ru/forum/\" class=\"tfoot\">Перейти на форум...</A>"
dt[5]="Италия!"
dt[6]="Если Вам еще нет 25 лет, то Вы можете приобрести авиабилет до Милана всего за 290 евро. Корпоративным клиентам предоставляются скидки."
dt[7]="Contacts"
dt[8]="Fone:<br>+7(812)578-11-28<BR>+7(812)710-29-14<BR>e-mail: <BR><A HREF=\"mailto:info@slktour.com\" >info@slktour.com</A>"
dt[9]="Excursion"
dt[10]="<IMG SRC=\"img/brige.jpg\" WIDTH=50 HEIGHT=32 align=left BORDER=1 ALT=\"White nights\">Dier friends! We we offer you the most popular excursions over Saint Petersburg and his(its) suburbs."
dt[11]="Astoria"
dt[12]="<IMG SRC=\"img/astoria.jpg\" WIDTH=50 HEIGHT=30 align=left BORDER=1  ALT=\"Astoria Hotel\"><BR>Art Nouveau style Hotel right in the heart of both the historical and business centres of the city, within 10 min walking distance from the main city attractions and the shopping area, 30 minutes from the airport by taxi."
dt[13]="Europa"
dt[14]="<A HREF=\"hotels_tabl.html\" class=\"tfoot\"><B><U>Grand Hotel</U></B></A> is delighted to offer you the very finest in Russian hospitality. From the moment you arrive, you will be enveloped in time-honored tradition of gracious Russian luxury. Grand Hotel is located in the very heart of St.Petersburg's historic central shopping and business district, within walking distance from the Hermitage and Russian Museums."
dt[15]="Visas"
dt[16]="All <B><A HREF=\"reg_visas_eng.html\"><U>Russian Visas</U></A></B> should be registered upon arrival to the Russian Federation. Your <A HREF=\"reg_visas_eng.html\">Russian visa</A> must be registered within 72 hours of arrival (excluding weekends and official holidays)."
function txt(bx)
{
var deskColor="EEEEEE"
var deskShadow="AAAAAA"
document.writeln("<TABLE cellpadding=0 cellspacing=0 align=right width=175>\
<TR height=10>\
	<TD  ></TD>\
	<TD width=90></TD>\
	<TD rowspan=2 bgcolor=\"#006699\" width=90  CLASS=\"desk1\" >"+dt[bx]+"</TD>\
	<TD colspan=2 width=90 > </TD></TR>\
<TR height=10>\
	<TD colspan=2 width=80 bgcolor=\"#"+deskColor+"\"></TD>\
	<TD width=55 bgcolor=\"#"+deskColor+"\"></TD>\
	<TD width=1 ></TD></TR>\
<TR >\
	<TD colspan=4 bgcolor=\"#"+deskColor+"\" width=175 >\
		<TABLE cellspacing=5 cellpadding=0 border=0 width=\"100%\">\
		<TR>\
			<TD CLASS=\"desk\" >"+dt[bx+1]+"</TD></TR></TABLE></TD>\
	<TD bgcolor=\"#"+deskShadow+"\" width=2></TD></TR>\
<TR height=1>\
	<TD width=10 ></TD>\
	<TD colspan=4 bgcolor=\"#"+deskShadow+"\"  ></TD></TR></TABLE></body></html>" )


}


function ban_js()  
 {
    document.writeln("<a href='http://www.yandex.ru/cy?base=0&host=www.slktour.ru'><img src='http://www.yandex.ru/cycounter?www.slktour.ru' width=88 height=31 alt='Яндекс цитирования' border=0></a>");
    document.writeln("<br><br><a href=http://www.pyc.ru/top100/index.shtml?id=170><img src=http://www.pyc.ru/cgi-bin/top100/counter.pl?id=170&cl=1 border=0 alt='Туризм Top100'></a>");
    document.writeln("<!--begin of Rambler's Top100 code --><a href='http://top100.rambler.ru/top100/'><img src='http://counter.rambler.ru/top100.cnt?636782' alt='' width=1 height=1 border=0></a><!--end of Top100 code--><br><!--begin of Top100 logo--><a href='http://top100.rambler.ru/top100/'><img src='http://top100-images.rambler.ru/top100/banner-88x31-rambler-gray2.gif' alt='Rambler`s Top100' width=88 height=31 border=0></a><!--end of Top100 logo --><!--Гостиницы в Санкт-Петербурге -->");
}
