/*================================================================
	ORC_JS, JavaScript Class Framework
 	version:dhtml menu 9.2,3.10.90326
	Copyright 2008 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){},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,bIsKQ: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){if(a[i]!=null){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 type='text/css'>\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(ss){var s=ss;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{return s;}}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:l=parseInt(l),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&&!es.tagName){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 _9a;if(window.XMLHttpRequest){_9a=new XMLHttpRequest();}else{var _9b=["MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(var n=0;n<_9b.length;n++){try{_9a=new ActiveXObject(_9b[n]);break;}catch(e){_9a=null;}}}if(!_9a){_9a=null;_STNS.fvThrow(new Error("Create XMLHttpRequest fail!"));return;}if(_9a.readyState==null){_9a.readyState=0;_9a.addEventListener("load",function(){_9a.readyState=4;if(typeof _9a.onreadystatechange=="function"){_9a.onreadystatechange();}},false);}return _9a;},fdmCreateXMLDoc:function(){var _9d;if(_STNS.bIsIE){var _9e=["Msxml2.DOMDocument.4.0","Msxml2.DOMDocument.3.0","Msxml2.DOMDocument","Microsoft.XMLDOM"];for(var n=0;n<_9e.length;n++){try{_9d=new ActiveXObject(_9e[n]);break;}catch(e){}}}else{_9d=document.implementation.createDocument("","",null);}if(!_9d){_STNS.fvThrow(new Error("Create XMLDOMDocument fail!"));return;}return _9d;},faGetElePos:function(e){if(!e){return;}var x=y=bl=bt=0;var v=_STNS.oNav.version,a=new Array(v,523.12),sv=a.sort()[0]==523.12;if(_STNS.bIsSF&&sv){var o=e.offsetParent?e.offsetParent.offsetParent?e.offsetParent.offsetParent.offsetParent?e.offsetParent.offsetParent.offsetParent?e.offsetParent.offsetParent.offsetParent.offsetParent?e.offsetParent.offsetParent.offsetParent.offsetParent:null:null:null:null:null;while(o){if(o.tagName=="TABLE"){bl=parseInt(_STNS.fsGetEleStyle(o,"borderLeftWidth"));bt=parseInt(_STNS.fsGetEleStyle(o,"borderTopWidth"));if(!isNaN(bl)){x+=bl;}if(!isNaN(bt)){y+=bt;}}o=o.offsetParent;}}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.bIsSF&&sv)||(_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();var w=_STNS.fsGetEleStyle(e.parentNode,"width").toLowerCase();if(s=="hidden"||s=="scroll"||s=="auto"){x-=e.parentNode.scrollLeft;y-=e.parentNode.scrollTop;}if(w&&w!="auto"){if((_STNS.bIsFX&&_STNS.oNav.version>20060414&&s!="visible")||(_STNS.bIsIE&&_STNS.oNav.version>=5)){bl=parseInt(_STNS.fsGetEleStyle(e.parentNode,"borderLeftWidth"));bt=parseInt(_STNS.fsGetEleStyle(e.parentNode,"borderTopWidth"));if(!isNaN(bl)){x+=bl;}if(!isNaN(bt)){y+=bt;}}}}if(e.parentNode&&e.offsetParent&&e.parentNode!=e.offsetParent){if(e.offsetParent.tagName=="DIV"){var s=_STNS.fsGetEleStyle(e.offsetParent,"overflow").toLowerCase();var w=_STNS.fsGetEleStyle(e.offsetParent,"width").toLowerCase();if(s=="hidden"||s=="scroll"||s=="auto"){x-=e.offsetParent.scrollLeft;y-=e.offsetParent.scrollTop;}if(w&&w!="auto"){if((_STNS.bIsFX&&_STNS.oNav.version>20060414&&s!="visible")||(_STNS.bIsIE&&_STNS.oNav.version>=5)){bl=parseInt(_STNS.fsGetEleStyle(e.offsetParent,"borderLeftWidth"));bt=parseInt(_STNS.fsGetEleStyle(e.offsetParent,"borderTopWidth"));if(!isNaN(bl)){x+=bl;}if(!isNaN(bt)){y+=bt;}}}}}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(_STNS.bIsFX||_STNS.bIsSF||_STNS.bIsOP){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 _af=function(){var c=function(as){if(_STNS.bIsIE){this._cls=this.constructor;}else{this._cls=arguments.callee;}_b2.call(this,as);};_b3(c,arguments);c.register=_b4;c.toString=_b5;c.subclsOf=_b6;c.superclassOf=_b7;return c;};_af.toString=function(){return "[object Class]";};_af.getC=function(pth){var _b9=[];if(!_ba(pth,_b9)||!_bb[_b9[0]][_b9[1]]){_STNS.fvThrow(new Error("Class get error: Class \""+pth+"\" is not found"));return;}return _bb[_b9[0]][_b9[1]];};_af.getClsLst=function(o,pre){var o=o||_bb,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 _b4=function(pth){var _c2=[];if(!_ba(pth,_c2)){_STNS.fvThrow(new Error("Class register error: Invalid class path:"+pth));return;}var pkg=_c2[0];var cn=_c2[1];if(pkg){if(!_bb[pkg]){_bb[pkg]={};}var _c5=_bb[pkg][cn];if(_c5){_STNS.fvThrow(new Error("Class register error: Class \""+pth+"\" already exists"));return;}_bb[pkg][cn]=this;}else{var _c5=_bb[cn];if(_c5){_STNS.fvThrow(new Error("Class register error: Class \""+pth+"\" already exists"));return;}_bb[cn]=this;}this._pkg=pkg;this._cn=cn;};var _bb={};var _c6=function(_c7,_c8){if(typeof _c7=="string"){_c7=_STNS.Class.getC(_c7);}if(typeof _c8=="string"){_c8=_STNS.Class.getC(_c8);}if(typeof _c7!="function"||typeof _c8!="function"){return false;}if(!_c7._supers){return false;}for(var i=0;i<_c7._supers.length;i++){if(_c7._supers[i]==_c8){return true;}else{if(_c6(_c7._supers[i],_c8)){return true;}}}return false;};var _b6=function(cls){return _c6(this,cls);};var _b7=function(cls){return _c6(cls,this);};var _ba=function(pth,_cd){if(typeof pth!="string"||!pth){return false;}var n=pth.lastIndexOf("/");if(n>-1){_cd[0]=pth.substr(0,n);_cd[1]=pth.substr(n+1);}else{_cd[0]="";_cd[1]=pth;}return true;};var _b3=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 _b2=function(as){var c=this._cls;for(var i=0;i<c._supers.length;i++){if(_STNS.bIsIE){this.constructor=c._supers[i];}c._supers[i].call(this,as);}if(_STNS.bIsIE){this.constructor=c;}this._cls=c;this.toString=_d6;this.getClass=_d7;this.instanceOf=_d8;this.toConvert=_d9;if(c.construct){c.construct.call(this,as);}};var _d9=function(cls,as){var c=this._cls;if(_c6(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(_c6(cls,c)){var f=0;for(var i=0;i<cls._supers.length;i++){if(_STNS.bIsIE){this.constructor=cls._supers[i];}if(cls._supers[i]!=c){cls._supers[i].call(this,as);}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,as);}}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 _d8=function(c){if(typeof c=="string"){c=_STNS.Class.getC(c);}if(typeof c!=="function"){return false;}return this._cls==c;};var _d7=function(){return this._cls;};var _d6=function(){if(this._cls._cn){return "[object Object "+this._cls._pkg+"/"+this._cls._cn+"]";}else{return "[object Object Anonymous class]";}};var _b5=function(){if(this._cn){return "[object Class "+this._pkg+"/"+this._cn+"]";}return "[object Anonymous Class]";};return _af;})();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";bIsKQ=oNav.name=="konqueror";sDIR=fsGetDIR(sURL);bLocal=!sURL.indexOf("file:");_fvInitOnload();fbAddLoad(_fvCkPg);}}_STNS.fvInitLib();_STNS.fvInc(_STNS.fsGetAbsPth(_STNS.sLibPth+"stcode.js"));_STNS.fvLoadLib();if(!_STNS.bShield){_STNS.fvCSSShield();}if(typeof _STNS!="undefined"&&!_STNS.EFFECT){_STNS.EFFECT={foGetEff:function(s,id,w,d,o){if(!s){return 0;}if(/^stEffect\(.Open/i.test(s)&&_STNS.bIsIE){var dir=s.replace(/^.*[\(\,]Direction\=(\w+)[\)\,].*$/i,"$1");var d=s.replace(/^.*[\(\,]Duration\=([\d.]+)[\)\,].*$/i,"$1");d=(d==s?1:parseFloat(d));if(dir=="Down"||dir==s){s="progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16,enabled=0,Duration="+d+")";d*=1000;o=5;}if(dir=="Middle"){s="progid:DXImageTransform.Microsoft.Barn(orientation=horizontal,motion=out,enabled=0,Duration="+d+")";d*=1000;o=16;}}if(/^stEffect\(.Active/i.test(s)&&_STNS.bIsIE){var d=s.replace(/^.*[\(\,]Duration\=([\d.]+)[\)\,].*$/i,"$1");if(d==s){d=(dd==s?1:parseFloat(d));}s="progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration="+d+")";d*=1000;o=12;}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);var cn="CEff"+s.charAt(0).toUpperCase()+s.substr(1).replace(/^(.*)\(.*$/,"$1");if(_STNS.EFFECT[cn]){return new _STNS.EFFECT[cn]([s,id,w,d,o]);}}else{return 0;}}}};with(_STNS.EFFECT){_STNS.EFFECT.CEffect=_STNS.Class();CEffect.register("EFFECT/CEffect");CEffect.construct=function(as){this._iStat=-1;this.sName=as[0];this.sDmId=as[1];this.dmWin=as[2]||window;with(_STNS.EFFECT.CEffect){this.fiGetStat=fiGetStat;this.sGetParam=sGetParam;this.fbSet=_STNS.fbFalse;this.fbDel=_STNS.fbFalse;this.fbApply=_STNS.fbFalse;this.fbPlay=_STNS.fbFalse;this.fbStop=_STNS.fbFalse;this.fbSetStyle=_STNS.fbFalse;this.fvAnalyzeParams=fvAnalyzeParams;}this.aParams=new Array();this.sParams=as[0].replace(/^.*\((.*)\).*$/,"$1");if(this.sParams==as[0]){this.sParams="";}};CEffect.fiGetStat=function(){return this._iStat;};CEffect.sGetParam=function(s){var b=this.sName.replace(new RegExp("^.*[\\(\\,]"+s+"\\=(\\d+)[\\,\\)].*$","i"),"$1");return this.sName==b?"":b;};CEffect.fvAnalyzeParams=function(){var ta=this.sParams.split(",");var a;for(var i=0;i<ta.length;i++){a=ta[i].split("=");a[1]=/^\d+$/.test(a[1])?parseInt(a[1]):(/^\d*\.\d+$/.test(a[1])?parseFloat(a[1]):a[1]);this.aParams[a[0]]=typeof (a[1])!="string"?a[1]:this._cls[a[1]]||a[1];}};}}


//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated.  All rights reserved.
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

function ControlVersion()
{
	var version;
	var axo;
	var e;

	// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

	try {
		// version will be set for 7.X or greater players
		axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
		version = axo.GetVariable("$version");
	} catch (e) {
	}

	if (!version)
	{
		try {
			// version will be set for 6.X players only
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
			
			// installed player is some revision of 6.0
			// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
			// so we have to be careful. 
			
			// default to the first public version
			version = "WIN 6,0,21,0";

			// throws if AllowScripAccess does not exist (introduced in 6.0r47)		
			axo.AllowScriptAccess = "always";

			// safe to call for 6.0r47 or greater
			version = axo.GetVariable("$version");

		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 4.X or 5.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = axo.GetVariable("$version");
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 3.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = "WIN 3,0,18,0";
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 2.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			version = "WIN 2,0,0,11";
		} catch (e) {
			version = -1;
		}
	}
	
	return version;
}

// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
	// NS/Opera version >= 3 check for Flash plugin in plugin array
	var flashVer = -1;
	
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
			var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
			var descArray = flashDescription.split(" ");
			var tempArrayMajor = descArray[2].split(".");			
			var versionMajor = tempArrayMajor[0];
			var versionMinor = tempArrayMajor[1];
			var versionRevision = descArray[3];
			if (versionRevision == "") {
				versionRevision = descArray[4];
			}
			if (versionRevision[0] == "d") {
				versionRevision = versionRevision.substring(1);
			} else if (versionRevision[0] == "r") {
				versionRevision = versionRevision.substring(1);
				if (versionRevision.indexOf("d") > 0) {
					versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
				}
			}
			var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
		}
	}
	// MSN/WebTV 2.6 supports Flash 4
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
	// WebTV 2.5 supports Flash 3
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
	// older WebTV supports Flash 2
	else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
	else if ( isIE && isWin && !isOpera ) {
		flashVer = ControlVersion();
	}	
	return flashVer;
}

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
{
	versionStr = GetSwfVer();
	if (versionStr == -1 ) {
		return false;
	} else if (versionStr != 0) {
		if(isIE && isWin && !isOpera) {
			// Given "WIN 2,0,0,11"
			tempArray         = versionStr.split(" "); 	// ["WIN", "2,0,0,11"]
			tempString        = tempArray[1];			// "2,0,0,11"
			versionArray      = tempString.split(",");	// ['2', '0', '0', '11']
		} else {
			versionArray      = versionStr.split(".");
		}
		var versionMajor      = versionArray[0];
		var versionMinor      = versionArray[1];
		var versionRevision   = versionArray[2];

        	// is the major.revision >= requested major.revision AND the minor version >= requested minor
		if (versionMajor > parseFloat(reqMajorVer)) {
			return true;
		} else if (versionMajor == parseFloat(reqMajorVer)) {
			if (versionMinor > parseFloat(reqMinorVer))
				return true;
			else if (versionMinor == parseFloat(reqMinorVer)) {
				if (versionRevision >= parseFloat(reqRevision))
					return true;
			}
		}
		return false;
	}
}

function AC_AddExtension(src, ext)
{
  if (src.indexOf('?') != -1)
    return src.replace(/\?/, ext+'?'); 
  else
    return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs) 
{ 
  var str = '';
  if (isIE && isWin && !isOpera)
  {
    str += '<object ';
    for (var i in objAttrs)
    {
      str += i + '="' + objAttrs[i] + '" ';
    }
    str += '>';
    for (var i in params)
    {
      str += '<param name="' + i + '" value="' + params[i] + '" /> ';
    }
    str += '</object>';
  }
  else
  {
    str += '<embed ';
    for (var i in embedAttrs)
    {
      str += i + '="' + embedAttrs[i] + '" ';
    }
    str += '> </embed>';
  }

  document.write(str);
}

function AC_FL_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     , "application/x-shockwave-flash"
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
     , null
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
  var ret = new Object();
  ret.embedAttrs = new Object();
  ret.params = new Object();
  ret.objAttrs = new Object();
  for (var i=0; i < args.length; i=i+2){
    var currArg = args[i].toLowerCase();    

    switch (currArg){	
      case "classid":
        break;
      case "pluginspage":
        ret.embedAttrs[args[i]] = args[i+1];
        break;
      case "src":
      case "movie":	
        args[i+1] = AC_AddExtension(args[i+1], ext);
        ret.embedAttrs["src"] = args[i+1];
        ret.params[srcParamName] = args[i+1];
        break;
      case "onafterupdate":
      case "onbeforeupdate":
      case "onblur":
      case "oncellchange":
      case "onclick":
      case "ondblClick":
      case "ondrag":
      case "ondragend":
      case "ondragenter":
      case "ondragleave":
      case "ondragover":
      case "ondrop":
      case "onfinish":
      case "onfocus":
      case "onhelp":
      case "onmousedown":
      case "onmouseup":
      case "onmouseover":
      case "onmousemove":
      case "onmouseout":
      case "onkeypress":
      case "onkeydown":
      case "onkeyup":
      case "onload":
      case "onlosecapture":
      case "onpropertychange":
      case "onreadystatechange":
      case "onrowsdelete":
      case "onrowenter":
      case "onrowexit":
      case "onrowsinserted":
      case "onstart":
      case "onscroll":
      case "onbeforeeditfocus":
      case "onactivate":
      case "onbeforedeactivate":
      case "ondeactivate":
      case "type":
      case "codebase":
      case "id":
        ret.objAttrs[args[i]] = args[i+1];
        break;
      case "width":
      case "height":
      case "align":
      case "vspace": 
      case "hspace":
      case "class":
      case "title":
      case "accesskey":
      case "name":
      case "tabindex":
        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
        break;
      default:
        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
    }
  }
  ret.objAttrs["classid"] = classid;
  if (mimeType) ret.embedAttrs["type"] = mimeType;
  return ret;
}

//----------------------------------------------------------------------------------------------------
//-- ROTATING IMAGE script
//----------------------------------------------------------------------------------------------------

/***********************************************
* Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
 
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["/images/home/banner-home1.jpg", "", ""] //image with link and target syntax
fadeimages[1]=["/images/home/banner-home2.jpg", "", ""] //image with link and target syntax
fadeimages[2]=["/images/home/banner-home3.jpg", "", ""] //image with link syntax
fadeimages[3]=["/images/home/banner-home4.jpg", "", ""] //image with link and target syntax
fadeimages[4]=["/images/home/banner-home1.jpg", "", ""] //image with link and target syntax

var fadeimages2=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["/images/healthcare/banner-hcp1.jpg", "", ""] //image with link and target syntax
fadeimages2[1]=["/images/healthcare/banner-hcp2.jpg", "", ""] //image with link and target syntax
fadeimages2[2]=["/images/healthcare/banner-hcp3.jpg", "", ""] //image with link syntax
fadeimages2[3]=["/images/healthcare/banner-hcp4.jpg", "", ""] //image with link and target syntax
fadeimages2[4]=["/images/healthcare/banner-hcp1.jpg", "", ""] //image with link and target syntax


var fadebgcolor="white"

////NO need to edit beyond here/////////////
 
var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers
 
var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all
 
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, onetime, displayorder){
this.flag=0
this.onetime=onetime
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=0 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:10;-moz-opacity:10;-khtml-opacity:10;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:10;-moz-opacity:10;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
else if (obj.tempobj.style.opacity&&!obj.tempobj.filters)
obj.tempobj.style.opacity=obj.degree/101
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
if(obj.flag&&obj.onetime){
return;
}
if(obj.nextimageindex==obj.postimages.length-1)
obj.flag=1
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",75)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=this.degree/100
else if (crossobj.style.opacity&&!crossobj.filters)
crossobj.style.opacity=this.degree/101
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}

//---------------------
// rollover script
//---------------------
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
/**************************************************************************
 *                                                                        *
 *  JAVASCRIPT MENU HIGHLIGHTER v.1.5 (080929)                            *
 * --------------------------------------------                           *
 * ©2005 Media Division (www.MediaDivision.com)                           *
 *                                                                        *
 * Written by Marius Smarandoiu & Armand Niculescu                        *
 *                                                                        *
 * You are free to use, modify and distribute this file, but please keep  *
 * this header and credits                                                *
 *                                                                        *
 * Usage:                                                                 *
 * - the script will apply the .current class to the <a> and its parent   *
 *   <li> that is contained in the element with id="primarynav" and points*
 *   to the current URL                                                   *
 * - works in IE6, Firefox and Opera                                      *
 **************************************************************************/
function extractPageName(hrefString)
{
	var arr = hrefString.split('/');
	return  (arr.length<2) ? hrefString : arr[arr.length-2].toLowerCase() + arr[arr.length-1].toLowerCase();               
}

function setActiveMenu(arr, crtPage)
{
	for (var i=0; i<arr.length; i++)
	{
		if(extractPageName(arr[i].href) == crtPage)
		{
			if (arr[i].parentNode.tagName != "DIV")
			{
				arr[i].className = "current";
				arr[i].parentNode.className = "current";				
			}
		}
	}
}

function setPage()
{
	hrefString = document.location.href ? document.location.href : document.location;

	if (document.getElementById("nav")!=null)
		setActiveMenu(document.getElementById("nav").getElementsByTagName("a"), extractPageName(hrefString));
}
function extractPageName(hrefString)
{ 
 var arr = hrefString.split('.'); 
 if(arr.length >= 2) {  
  arr = arr[arr.length-2].split('/');  
  return arr[arr.length-1].toLowerCase(); 
 } else {  
 return "x"; 
 }
}


