function getObject(name){if(document.layers){return eval("document."+name)}if(document.getElementById){return document.getElementById(name)}if(document.all){return eval("document.all."+name)}return false}var http;function loadXMLDochttp(a,b){http=getHTTPObject();if(http){http.onreadystatechange=b;http.open("GET",a,true);http.send("")}}function loadXMLDoc(url,functionCall,http){if(http){http.open("GET",url,true);http.setRequestHeader("If-Modified-Since","Sat, 1 Jan 2000 00:00:00 GMT");http.send(null);http.onreadystatechange=function(){if(http.readyState==4&&http.status==200){eval(functionCall)}}}}function loadXMLDocPost(url,functionCall,http,postValue){if(http){http.open("POST",url,true);http.setRequestHeader("Content-type","application/x-www-form-urlencoded");http.setRequestHeader("Content-length",postValue.length);http.setRequestHeader("Connection","close");http.send(postValue);http.onreadystatechange=function(){if(http.readyState==4&&http.status==200){eval(functionCall)}}}}function getHTTPObject(){var a;try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){a=false}}if(!a&&typeof XMLHttpRequest!="undefined"){try{a=new XMLHttpRequest()}catch(b){a=false}}return a}function getKeyCode(a){if(a){return a.keyCode}if(window.event){return window.event.keyCode}}function getEventSource(a){if(a){return a.target}if(window.event){return window.event.srcElement}}function cancelEvent(a){if(a){a.preventDefault();a.stopPropagation()}if(window.event){window.event.returnValue=false}}function hideDiv(a){if(a.style.visibility=="visible"){a.style.visibility="hidden";a.style.display="none"}}function showDiv(a){if(a.style.visibility!="visible"){a.style.visibility="visible";a.style.display="inline"}}function isDivVisible(a){return(a.style.visibility=="visible")}function urlEncode(a){if(window.encodeURIComponent){return encodeURIComponent(a)}return escape(a)}function urlDecode(a){if(window.decodURIComponent){return decodeURIComponent(a)}return unescape(a)};
