function getHTTPObject(){var b=false;if(window.XMLHttpRequest){b=new XMLHttpRequest()}else{if(window.ActiveXObject){try{b=new ActiveXObject("Msxml2.XMLHTTP")}catch(a){try{b=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){b=false}}}}return b}function preventDefaultAction(){if(window.event){window.event.returnValue=false}return false}function addLoadEvent(a){var b=window.onload;if(typeof window.onload!="function"){window.onload=a}else{window.onload=function(){if(b){b()}a()}}}String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};