var nl=(document.getElementById||document.all||document.layers);Xp=navigator.userAgent.toLowerCase();HW=(Xp.indexOf('irefox/')!=-1);Hd=(Xp.indexOf('acinto')!=-1);Yi=(Xp.indexOf('msie')!=-1);Dd=(Xp.indexOf('msie 8')!=-1);KJ=(Xp.indexOf('afari')!=-1);function MC(element,wM){if(Yi){Qr=element.style;if(element.src){Qr.height=element.height;Qr.width=element.width;Qr.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+wM+'",sizingMethod="crop")';element.src='media/blank.gif';}else{var Rz=element.currentStyle.backgroundImage;var path=Rz.split('"');var jj=(element.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';Qr.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+jj+"')";Qr.height=element.clientHeight+'px';Qr.backgroundImage='none';};}};function bN(id,filter){Bq=$(id);message="'"+id+"' properties\n";for(g in Bq){if(Bq[g]==null);if(g=='clone')message+="[clone prop exists]\n";else{if(filter&&g.indexOf(filter)<0);else message+="["+g+"]: "+Bq[g]+"\n";};}alert(message);};function CI(id,filter){bN(id,filter);};function FJ(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 QO(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 PY(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 fT(ii,wn){if(ii.tagName&&(ii.tagName==wn))return(ii);if(ii.firstChild)if(ch=fT(ii.firstChild,wn))return(ch);if(ii.nextSibling)if(h8=fT(ii.nextSibling,wn))return(h8);return(null);};var hM="none";function toggle_dev_buttons(){if(hM=="inline"){__(".devbutton","display","none");hM="none";}else{__(".devbutton","display","inline");hM="inline";}};function __(DP,element,value){element=element.toString();var cssRules;if(document.all){cssRules='rules';}else if(document.getElementById){cssRules='cssRules';}for(var Kb=0;Kb<document.styleSheets.length;Kb++){for(var oO=0;oO<document.styleSheets[Kb][cssRules].length;oO++){if(document.styleSheets[Kb][cssRules][oO].selectorText==DP){document.styleSheets[Kb][cssRules][oO].style[element]=value;};};}};function UD(j1){var TV=new Object();for(Wb in j1){TV[Wb]=j1[Wb];}return(TV);};function w_(OA,l2){var Wi=new Object();for(Wb in OA){if(OA[Wb]!=l2[Wb]){Wi[Wb+'_1']=OA[Wb];Wi[Wb+'_2']=l2[Wb];};}FJ(Wi);};function xl(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];_W='<P CLASS="testclass">'+text+'</P>;';x.document.open();x.document.write(_W);x.document.close();}};function qe(OE,find){var G=0;for(var g in OE){if(g==find)return(G);G++;}return(null);};function wb(OE,n){var length=OE.length;if(n>=length||n<0)return;for(var G=n;G<length-1;G++)OE[G]=OE[G+1];OE.length--;};function WC(OE){var q0=0;for(var g in OE){q0++;}return(q0);};function clone(U8){if(typeof(U8)!='object')return U8;if(U8==null)return U8;var W3=new Object();for(var G in U8)W3[G]=clone(U8[G]);return W3;};function vg(HA){var P4=new this.constructor();for(var Wb in this){if(!HA)P4[Wb]=this[Wb];else if(typeof this[Wb]=='object')P4[Wb]=this[Wb].clone(HA);else P4[Wb]=this[Wb];}return(P4);};function UF(A,ae){if(!ae)ae=document;for(var offsetLeft=0;A&&A!=ae;A=A.offsetParent){offsetLeft+=A.offsetLeft;}return offsetLeft;};function S0(A,ae){if(!ae)ae=document;for(var offsetTop=0;A&&A!=ae;A=A.offsetParent)offsetTop+=A.offsetTop;return offsetTop;};function CB(){var Pu=0;if(typeof(window.innerHeight)=='number'){Pu=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){Pu=document.documentElement.clientHeight;}else if(document.body&&document.body.clientHeight){Pu=document.body.clientHeight;}return Pu;};function mp(x,y,A){var d4=UF(A);var yW=S0(A);return(x>=d4&&x<d4+A.offsetWidth)&&(y>=yW&&y<yW+A.offsetHeight);};function hilite_bottom(e,color){if(!color)color="#888";DT=QM(e);DT.style.borderBottomStyle="solid";DT.zj=DT.style.borderBottomColor;DT.style.borderBottomColor=color;with(DT.style){}};function clear_bottom(e){DT=QM(e);DT.style.borderBottomStyle="dotted";DT.style.borderBottomColor=DT.zj;};function zq(e){e.cancelBubble=true;if(e.stopPropagation)e.stopPropagation();};function QM(e){if(!e)e=window.event;var M7;if(e.target)M7=e.target;else if(e.srcElement)M7=e.srcElement;if(M7.nodeType==3)M7=M7.parentNode;return(M7);};function cv(OE,wJ){if(OE==wJ)return false;while(OE!=wJ&&OE.nodeName!='BODY')OE=OE.parentNode;if(OE==wJ)return true;return false;};function jz(e){if(!e)var e=window.event;var DT=(window.event)?e.srcElement:e.target;var VN=(e.relatedTarget)?e.relatedTarget:e.toElement;while(VN!=DT&&VN.nodeName!='BODY')VN=VN.parentNode;if(VN==DT)return(true);return(false);};function b(ba,A3,oq){var Kk=ba.documentElement.getElementsByTagName(A3);if(Kk[0]&&Kk[0].firstChild&&Kk[0].firstChild.nodeValue){if(Kk[0].childNodes.length>1)return(Kk[0].textContent);return(Kk[0].firstChild.nodeValue);}else{if(typeof(oq)=='undefined')return(null);else return(oq);}};function Cy(qn,BS,F_){var Nx=new Array();if(BS==null)BS=document;if(F_==null)F_='*';var QD=BS.getElementsByTagName(F_);var LI=QD.length;var Cf=new RegExp("(^|\\s)"+qn+"(\\s|$)");for(G=0,Wx=0;G<LI;G++){if(Cf.test(QD[G].className)){Nx[Wx]=QD[G];Wx++;};}return Nx;};var OK={create:function(){return function(){this.M.apply(this,arguments);};}};Function.prototype.bind=function(object){var Gk=this;return function(){Gk.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 FZ={fm:function(){var returnValue;for(var G=0;G<arguments.length;G++){var JU=arguments[G];try{returnValue=JU();break;}catch(e){};}return returnValue;}};var bp=new Array();O=OK.create();O.prototype={M:function(url,gz,H6){this.hi=true;this.pS();this.url=A6(url);this.UR(gz);this.H6=H6;bp.push(this);},pS:function(){this.c=FZ.fm(function(){return new ActiveXObject('Msxml2.XMLHTTP')},function(){return new ActiveXObject('Microsoft.XMLHTTP')},function(){return new XMLHttpRequest()})||false;},UR:function(gz){this.gz=gz;this.c.onreadystatechange=this.onStateChange.bind(this);},onStateChange:function(){if(this.c.readyState==4){if(typeof(bp)!=="undefined"){for(G=bp.length-1;G>=0;G--){if(bp[G]===this){bp.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(vo,method){if(!method)method="GET";this.parameters=vo;var Hz="";for(HD in vo){if(Hz!="")Hz+='&';Hz+=HD+'='+vo[HD];}if(this.url.indexOf('?')>=0){IG='&';}else{IG='?';}if(Hz=="")IG='';this.c.open(method,this.url+IG+Hz,this.hi);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 mZ(eg){var az=eg.documentElement.getElementsByTagName("error");return(az[0].getAttribute('code'));};function A6(A4){var Ie=/(PHPSESSID=)[^&\n$]*/;if(A4.match(Ie))return(A4);if(window.location.href.match(Ie)){if(A4.indexOf('?')!=-1)Ox='&';else Ox='?';return(A4+Ox+"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(A4);}else{if(A4.indexOf('?')!=-1)Ox='&';else Ox='?';return(A4+Ox+"PHPSESSID="+session_id);};}};function G1(name,url){if(typeof Lh=='undefined'){Lh=new Object();}Y_=new O(url,Vv,name);Y_.C({PHPSESSID:session_id});};function Vv(H){vE=H.H6;if(H.c.status>=200&&H.c.status<300&&H.c.responseXML){Lh[vE]=b(H.c.responseXML,'value');}};function EE(Sg,name,value,gz){K="?PHPSESSID="+Sg;Rv=new O("DoSetClientVar.php"+K,gz,"");Rv.C({varname:name,varvalue:value});};function xN(H){if(H.c.status==409){top.location.href="SignedOut.php?a=ss";return;}};function C1(aB){var hP=null;if(document.getElementById(aB).contentDocument){hP=document.getElementById(aB).contentDocument;}else{hP=document.frames[aB].document;}return hP;};String.prototype.SL=function(){return this.replace(/^\s+|\s+$/g,'');};function bQ(at){return(escape(at.replace(/\n/g,"*cr*").replace(/&/g,"*am*").replace(/=/g,"*eq*").replace(/\+/g,"*pl*")));};function DecodeUserInput(at){return(unescape(at).replace(/\*pl\*/g,"+").replace(/\*eq\*/g,"=").replace(/\*am\*/g,"&").replace(/\*cr\*/g,"\n"));};

