if(typeof(W)=="function"){A=AddWinLoadEvent=W}else{W=A=AddWinLoadEvent=function(a){if(_w.addEventListener){_w.addEventListener("load",a,false)}else if(_w.attachEvent){_w.attachEvent('onload',a)}else{if(typeof(_w.onload)=="function"){var b=_w.onload;_w.onload=function(){b();a()}}else{_w.onload=a}}}} function setAttributeOnload(a,b,c){W(function(){a[b]=c})} GetBody=function(){return S.getBody()} getEl=function(el,a){return S.getEl(el,a)} function PageQuery(a){this.ParamValues={};this.ParamNo=0;var b,c="";if(a&&a.length>0){b=a}else{if(location.search.length>0){b=location.href}else{b=""}};this.ParseQuery=function(a){var d=/[?&]([^=]+)(?:=([^&#]*))?/g,e=/(\#.*$)/,f,h,i,j=0;while(f=d.exec(a)){h=denc(f[1]);val=denc(f[2]);if(this.ParamValues[h]){if(h&&h!="")this.ParamValues[h]=this.ParamValues[h]+","+val}else{this.ParamValues[h]=val;j++}};this.ParamNo=j;i=e.exec(a);if(i)c=i[0].replace("#","")};if(b.length){this.ParseQuery(b)};this.GetValue=function(h){if(!this.ParamValues[h])return "";return this.ParamValues[h]};this.GetAnchor=c;this.OutputParams=function(){var k="";if(this.ParamValues&&this.ParamNo>0){for(var h in this.ParamValues){k+=h+": "+this.ParamValues[h]+"\n"}};if(c!="")k+="Anchor: "+c+"\n";return k}} enc=function(v){return S.enc(v)} denc=function(v){return S.denc(v)} function setCode(){var a,b,c=_d.getElementsByTagName("DIV");if(c&&c.length){for(var x=0;x