// copyright 2006 point writer, LLC
function abr(el){el.appendChild(c('BR'));}function ac(el,ch){el.appendChild(ch);}function anbsp(el){el.appendChild(t('\u00a0'));}function aft(el,txt){var strs=txt.split(/[\n\r]/);for(var i=0;i<strs.length;i++){at(el,strs[i]);if(i<(strs.length-1)){abr(el);}}}function at(el,txt){el.appendChild(t(txt));}function at_l(el,txt,sep){var arr=txt.split(sep);for(var i=0;i<arr.length;i++){at(el,arr[i]);var s=c('SPAN');s.style.fontSize='1px';at(s,' ');ac(el,s);if(i!=(arr.length-1)){at(el,sep);}}}function c(nm){return document.createElement(nm);}function cc(el){while(el.childNodes.length>0){d(el.childNodes[0])}}function cls(el,c){el.className=c;}function d(el){p(el).removeChild(el);}function ds(el){el.style.display='block';}function f(el){if(v(el)){h(el)}else{s(el)}}function g(id){return document.getElementById(id);}function h(el){el.style.visibility='hidden';el.style.display='none';}function i(x){return parseInt(x);}_i=i;function m(elem,x,y){elem.style.left=x+'px';elem.style.top=y+'px';}function mn(x,y){return(x<y)?x:y;}function mx(x,y){return(x>y)?x:y;}function p(x){return x.parentNode;}function re(x,y){p(x).insertBefore(y,x);d(x);}function s(el){el.style.visibility='visible';el.style.display='block';}function si(el){el.style.visibility='visible';el.style.display='inline';}function sl(el){el.focus();el.select();}function sz(elem,w,h){elem.style.width=w+'px';elem.style.height=h+'px';}function t(txt){return document.createTextNode(uu(txt));}function trh(tr){tr.style.display='none';}function trs(tr){tr.style.display=document.all?'block':'table-row';}function uu(str){var i;str=str+'';while((i=str.search(/\%u[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]/))!=-1){var b=str.substring(0,i);var a=str.substr(i+6);var code=str.substring(i+2,i+6);str=b+eval('\'\\u'+code+'\'')+a;}return str;}function v(el){return el.style.visibility=='visible';}function vh(el){el.style.visibility='hidden';}function vs(el){el.style.visibility='visible';}function push(arr,el){arr[arr.length]=el;}function pop(arr){var r=arr[arr.length-1];arr.length--;return r;}function shft(arr){var r=arr[0];var i;for(i=0;i<arr.length-1;i++){arr[i]=arr[i+1];}arr.length--;return r;}function arrRemoveAt(arr,idx){var i;for(i=idx+1;i<arr.length;i++){arr[i-1]=arr[i];}arr.length=arr.length-1;}function arrRemoveEqual(arr,obj){var i;for(i=0;i<arr.length;i++){if(arr[i]===obj){arrRemoveAt(arr,i);return;}}}function table(cp,cs){var tb=c('TABLE');tb.cellPadding=cp;tb.cellSpacing=cs;tb.border=0;return tb;}function tbod(tb){var tbd=c('TBODY');ac(tb,tbd);return tbd;}function getPos(elem){var offTop=0;var offLeft=0;var cur=elem;do{offTop+=cur.offsetTop;offLeft+=cur.offsetLeft;cur=cur.offsetParent;}while(cur!=document.body&&cur!=null);return[offLeft,offTop];}function getStyle(x,styleProp){if(x.currentStyle)var y=x.currentStyle[styleProp];else if(window.getComputedStyle)var y=document.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp);return y;}function isNull(a){return typeof a=='object'&&!a;}function getCookie(NameOfCookie){if(document.cookie.length>0){begin=document.cookie.indexOf(NameOfCookie+"=");if(begin!=-1){begin+=NameOfCookie.length+1;end=document.cookie.indexOf(";",begin);if(end==-1)end=document.cookie.length;return unescape(document.cookie.substring(begin,end));}}return null;}function setCookie(NameOfCookie,value,expiredays){var ExpireDate=new Date();ExpireDate.setTime(ExpireDate.getTime()+(expiredays*24*3600*1000));document.cookie=NameOfCookie+"="+escape(value)+((expiredays==null)?"":"; expires="+ExpireDate.toGMTString());}function delCookie(NameOfCookie){if(getCookie(NameOfCookie)){document.cookie=NameOfCookie+"="+"; expires=Thu, 01-Jan-70 00:00:01 GMT";}}function urlencode(str){var nstr=escape(str);if(escape('+')=='+'){nstr=nstr.replace(/\+/g,'%2B');}if(escape(' ')!='+'){nstr=nstr.replace(new RegExp(escape(' '),'g'),'+');}return nstr;}function handleScriptError(message,url,lineNumber){try{if(url.indexOf('index2.html')!=-1){alert('[Line #'+lineNumber+', URL '+url+'] '+message);}return true;}catch(e){}}function sendLogMessage(logURI,message,level){var detailedMessage='message=';detailedMessage+=escape(message);detailedMessage+='&source='+escape(location.href);detailedMessage+='&agent='+escape(navigator.userAgent);detailedMessage+='&browser='+escape(navigator.appName);detailedMessage+='&os='+escape(navigator.platform);detailedMessage+='&level='+escape(level);}window.onerror=handleScriptError;// xml functions copyright 2006 by wayne crosby
function getXmlHttpPrefix(){if(getXmlHttpPrefix.prefix){return getXmlHttpPrefix.prefix;}var prefixes=["MSXML2","Microsoft","MSXML","MSXML3"];var activeXObj;for(var i=0;i<prefixes.length;i++){try{activeXObj=new ActiveXObject(prefixes[i]+".XmlHttp");return getXmlHttpPrefix.prefix=prefixes[i];}catch(ex){}}throw new Error("Could not find an installed XML parser");}function XmlHttp(){}XmlHttp.create=function(){try{if(window.XMLHttpRequest){var req=new XMLHttpRequest();if(req.readyState==null){req.readyState=1;req.addEventListener("load",function(){req.readyState=4;if(typeof req.onreadystatechange=="function"){req.onreadystatechange();}},false);}return req;}if(window.ActiveXObject){return new ActiveXObject(getXmlHttpPrefix()+".XmlHttp");}}catch(ex){}throw new Error("Your browser does not support XmlHttp objects");};function noCacheURI(uri){var timestamp=new Date();return uri+(uri.indexOf("?")>0?"&":"?")+"ts="+timestamp.getTime();}(function(){var m={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},s={array:function(x){var a=['['],b,f,i,l=x.length,v;for(i=0;i<l;i+=1){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=='string'){if(b){a[a.length]=',';}a[a.length]=v;b=true;}}}a[a.length]=']';return a.join('');},'boolean':function(x){return String(x);},'null':function(x){return "null";},number:function(x){return isFinite(x)?String(x):'null';},object:function(x){if(x){if(x instanceof Array){return s.array(x);}var a=['{'],b,f,i,v;for(i in x){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=='string'){if(b){a[a.length]=',';}a.push(s.string(i),':',v);b=true;}}}a[a.length]='}';return a.join('');}return 'null';},string:function(x){if(/["\\\x00-\x1f]/.test(x)) {
                    x = x.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=m[b];if(c){return c;}c=b.charCodeAt();return '\\u00'+Math.floor(c/16).toString(16)+(c%16).toString(16);});}return '"'+x+'"';}};Object.prototype.toJSONString=function(){return s.object(this);};Array.prototype.toJSONString=function(){return s.array(this);};})();var mjxAsyncCount=0;function mjXR(uri,handler,method,data){this.uri=uri;this.handler=handler;this.method=(method===null)?"GET":method;this.data=data;}new mjXR();mjXR.prototype.commonSend=function(aSync){var xmlHttp=XmlHttp.create();if(this.method=="UGET"){xmlHttp.open("GET",noCacheURI(this.uri),aSync);}else{xmlHttp.open(this.method,this.uri,aSync);}if(this.method=="POST"){xmlHttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded');}this.xmlHttp=xmlHttp;};;mjXR.prototype.send=function(){this.commonSend(true);if(mjxAsyncCount==0){mjxrNowLoading();}mjxAsyncCount++;var localThis=this;this.xmlHttp.onreadystatechange=function(){localThis.onStateChange()};this.xmlHttp.send(this.data);};mjXR.prototype.sendSync=function(){this.commonSend(false);this.xmlHttp.send(this.data);this.handler(this.xmlHttp,this);};mjXR.prototype.resend=mjXR.prototype.send;mjXR.prototype.resendSync=mjXR.prototype.sendSync;mjXR.prototype.onStateChange=function(){if(this.xmlHttp.readyState==4){mjxAsyncCount--;if(mjxAsyncCount==0){mjxrNowDone();}try{this.handler(this.xmlHttp,this);}catch(e){}try{urchinTracker(this.uri);}catch(e){}}};

