var El=(document.getElementById||document.all||document.layers);hf=navigator.userAgent.toLowerCase();SG=(hf.indexOf('irefox/')!=-1);cv=(hf.indexOf('acinto')!=-1);pL=(hf.indexOf('msie')!=-1);fm=(hf.indexOf('msie 8')!=-1);Qu=(hf.indexOf('afari')!=-1);function Dj(element,zp){if(pL){vd=element.style;if(element.src){vd.height=element.height;vd.width=element.width;vd.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+zp+'",sizingMethod="crop")';element.src='media/blank.gif';}else{var mF=element.currentStyle.backgroundImage;var path=mF.split('"');var ia=(element.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';vd.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+ia+"')";vd.height=element.clientHeight+'px';vd.backgroundImage='none';};}};function pS(id,filter){ba=$(id);message="'"+id+"' properties\n";for(g in ba){if(ba[g]==null);if(g=='clone')message+="[clone prop exists]\n";else{if(filter&&g.indexOf(filter)<0);else message+="["+g+"]: "+ba[g]+"\n";};}alert(message);};function tv(id,filter){pS(id,filter);};function Nr(A,filter,note){message="";if(note)message+="note: "+note+'\n';rU=false;if(filter&&filter[0]=='-'){rU=true;filter=filter.substr(1);}message+="'"+A.toString()+"' properties\n";message+="----------------------\n";for(g in A){if(A[g]==null);else if(g=='clone')message+="[clone prop exists]\n";else{if(rU){if(filter&&g.indexOf(filter)>=0);else{message+="["+g+"]: "+A[g]+"\n";};}else{if(filter&&g.indexOf(filter)<0);else{message+="["+g+"]: "+A[g]+"\n";};};};}alert(message);};function Wl(A,value){message="'"+A.toString()+"' properties\n";for(g in A){if(A[g]==null);if(g=='clone')message+="[clone prop exists]\n";else{if(value&&(A[g]==value))message+="["+g+"]: "+A[g]+"\n";};}alert(message);};function w_(A,filter){message="'"+A+"' properties\n";for(g in A){if(A[g]==null);if(g=='clone')message+="[clone prop exists]\n";else{if(filter&&g.indexOf(filter)<0);else message+="["+g+"], ";};}alert(message);};function Je(mq,Jx){if(mq.tagName&&(mq.tagName==Jx))return(mq);if(mq.firstChild)if(ch=Je(mq.firstChild,Jx))return(ch);if(mq.nextSibling)if(KV=Je(mq.nextSibling,Jx))return(KV);return(null);};var X5="none";function toggle_dev_buttons(){if(X5=="inline"){K3(".devbutton","display","none");X5="none";}else{K3(".devbutton","display","inline");X5="inline";}};function K3(Y2,element,value){element=element.toString();var cssRules;if(document.all){cssRules='rules';}else if(document.getElementById){cssRules='cssRules';}for(var Is=0;Is<document.styleSheets.length;Is++){for(var L5=0;L5<document.styleSheets[Is][cssRules].length;L5++){if(document.styleSheets[Is][cssRules][L5].selectorText==Y2){document.styleSheets[Is][cssRules][L5].style[element]=value;};};}};function Wt(_b){var SC=new Object();for(x8 in _b){SC[x8]=_b[x8];}return(SC);};function T8(LQ,ft){var JK=new Object();for(x8 in LQ){if(LQ[x8]!=ft[x8]){JK[x8+'_1']=LQ[x8];JK[x8+'_2']=ft[x8];};}Nr(JK);};function Fc(id,text){if(document.getElementById){x=document.getElementById(id);x.innerHTML='';x.innerHTML=text;}else if(document.all){x=document.all[id];x.innerHTML=text;}else if(document.layers){x=document.layers[id];Y1='<P CLASS="testclass">'+text+'</P>;';x.document.open();x.document.write(Y1);x.document.close();}};function L9(J5,find){var G=0;for(var g in J5){if(g==find)return(G);G++;}return(null);};function rG(J5,n){var length=J5.length;if(n>=length||n<0)return;for(var G=n;G<length-1;G++)J5[G]=J5[G+1];J5.length--;};function E0(J5){var Fy=0;for(var g in J5){Fy++;}return(Fy);};function clone(QR){if(typeof(QR)!='object')return QR;if(QR==null)return QR;var O3=new Object();for(var G in QR)O3[G]=clone(QR[G]);return O3;};function nl(ZD){var g9=new this.constructor();for(var x8 in this){if(!ZD)g9[x8]=this[x8];else if(typeof this[x8]=='object')g9[x8]=this[x8].clone(ZD);else g9[x8]=this[x8];}return(g9);};function PO(A,ae){if(!ae)ae=document;for(var offsetLeft=0;A&&A!=ae;A=A.offsetParent){offsetLeft+=A.offsetLeft;}return offsetLeft;};function wo(A,ae){if(!ae)ae=document;for(var offsetTop=0;A&&A!=ae;A=A.offsetParent)offsetTop+=A.offsetTop;return offsetTop;};function Yx(){var ig=0;if(typeof(window.innerHeight)=='number'){ig=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){ig=document.documentElement.clientHeight;}else if(document.body&&document.body.clientHeight){ig=document.body.clientHeight;}return ig;};function yt(x,y,A){var Dc=PO(A);var bT=wo(A);return(x>=Dc&&x<Dc+A.offsetWidth)&&(y>=bT&&y<bT+A.offsetHeight);};function hilite_bottom(e,color){if(!color)color="#888";vP=o1(e);vP.style.borderBottomStyle="solid";vP.PX=vP.style.borderBottomColor;vP.style.borderBottomColor=color;with(vP.style){}};function clear_bottom(e){vP=o1(e);vP.style.borderBottomStyle="dotted";vP.style.borderBottomColor=vP.PX;};function kb(e){e.cancelBubble=true;if(e.stopPropagation)e.stopPropagation();};function o1(e){if(!e)e=window.event;var Ec;if(e.target)Ec=e.target;else if(e.srcElement)Ec=e.srcElement;if(Ec.nodeType==3)Ec=Ec.parentNode;return(Ec);};function xp(J5,bQ){if(J5==bQ)return false;while(J5!=bQ&&J5.nodeName!='BODY')J5=J5.parentNode;if(J5==bQ)return true;return false;};function CI(e){if(!e)var e=window.event;var vP=(window.event)?e.srcElement:e.target;var Nk=(e.relatedTarget)?e.relatedTarget:e.toElement;while(Nk!=vP&&Nk.nodeName!='BODY')Nk=Nk.parentNode;if(Nk==vP)return(true);return(false);};function b(kc,Uf,xg){var XN=kc.documentElement.getElementsByTagName(Uf);if(XN[0]&&XN[0].firstChild&&XN[0].firstChild.nodeValue){if(XN[0].childNodes.length>1)return(XN[0].textContent);return(XN[0].firstChild.nodeValue);}else{if(typeof(xg)=='undefined')return(null);else return(xg);}};function ah(lr,Ym,h2){var yW=new Array();if(Ym==null)Ym=document;if(h2==null)h2='*';var xm=Ym.getElementsByTagName(h2);var xS=xm.length;var By=new RegExp("(^|\\s)"+lr+"(\\s|$)");for(G=0,hc=0;G<xS;G++){if(By.test(xm[G].className)){yW[hc]=xm[G];hc++;};}return yW;};var tE={create:function(){return function(){this.i.apply(this,arguments);};}};Function.prototype.bind=function(object){var _6=this;return function(){_6.apply(object,arguments);};};function $(){var elements=new Array();for(var G=0;G<arguments.length;G++){var element=arguments[G];if(typeof element=='string')element=document.getElementById(element);if(arguments.length==1)return element;elements.push(element);}return elements;};var h8={oY:function(){var returnValue;for(var G=0;G<arguments.length;G++){var g2=arguments[G];try{returnValue=g2();break;}catch(e){};}return returnValue;}};var Wg=new Array();O=tE.create();O.prototype={i:function(url,gz,U8){this.Hc=true;this.Oi();this.url=S6(url);this.WR(gz);this.U8=U8;Wg.push(this);},Oi:function(){this.c=h8.oY(function(){return new ActiveXObject('Msxml2.XMLHTTP')},function(){return new ActiveXObject('Microsoft.XMLHTTP')},function(){return new XMLHttpRequest()})||false;},WR:function(gz){this.gz=gz;this.c.onreadystatechange=this.onStateChange.bind(this);},onStateChange:function(){if(this.c.readyState==4){if(typeof(Wg)!=="undefined"){for(G=Wg.length-1;G>=0;G--){if(Wg[G]===this){Wg.splice(G,1);break;};};}if(this.c.status==409||this.c.status==403){top.location.href="Error.php?e=40x";}else if(this.c.status>=200&&this.c.status<300&&(this.c.responseXML||this.c.responseText)){this.gz(this);};}},C:function(G9,method){if(!method)method="GET";this.parameters=G9;var Yr="";for(Ph in G9){if(Yr!="")Yr+='&';Yr+=Ph+'='+G9[Ph];}if(this.url.indexOf('?')>=0){Sy='&';}else{Sy='?';}if(Yr=="")Sy='';this.c.open(method,this.url+Sy+Yr,this.Hc);this.c.onreadystatechange=this.onStateChange.bind(this);if(window.XMLHttpRequest)this.c.send(null);else this.c.send();},abort:function(){if(this.c.readyState!=4)this.c.abort();}};function yk(_l){var Xf=_l.documentElement.getElementsByTagName("error");return(Xf[0].getAttribute('code'));};function S6(GW){var ib=/(PHPSESSID=)[^&\n$]*/;if(GW.match(ib))return(GW);if(window.location.href.match(ib)){if(GW.indexOf('?')!=-1)i3='&';else i3='?';return(GW+i3+"PHPSESSID="+session_id);}else{var Ni=(navigator.Ni)?true:false;if(typeof navigator.Ni=="undefined"&&!Ni){document.cookie="testcookie";Ni=(document.cookie.indexOf("testcookie")!=-1)?true:false;}if(Ni){return(GW);}else{if(GW.indexOf('?')!=-1)i3='&';else i3='?';return(GW+i3+"PHPSESSID="+session_id);};}};function lT(name,url){if(typeof Ga=='undefined'){Ga=new Object();}m7=new O(url,Wo,name);m7.C({PHPSESSID:session_id});};function Wo(H){eg=H.U8;if(H.c.status>=200&&H.c.status<300&&H.c.responseXML){Ga[eg]=b(H.c.responseXML,'value');}};function Cr(Kh,name,value,gz){d="?PHPSESSID="+Kh;cR=new O("DoSetClientVar.php"+d,gz,"");cR.C({varname:name,varvalue:value});};function pc(H){if(H.c.status==409){top.location.href="SignedOut.php?a=ss";return;}};function Nc(dI){var qk=null;if(document.getElementById(dI).contentDocument){qk=document.getElementById(dI).contentDocument;}else{qk=document.frames[dI].document;}return qk;};String.prototype.Rm=function(){return this.replace(/^\s+|\s+$/g,'');};function gk(Ss){return(escape(Ss.replace(/\n/g,"*cr*").replace(/&/g,"*am*").replace(/=/g,"*eq*").replace(/\+/g,"*pl*")));};function DecodeUserInput(Ss){return(unescape(Ss).replace(/\*pl\*/g,"+").replace(/\*eq\*/g,"=").replace(/\*am\*/g,"&").replace(/\*cr\*/g,"\n"));};
