function $(el){return document.getElementById(el);}
function getAjax(){var Xmlhttp=null;try{Xmlhttp = new ActiveXObject("MSXML2.XMLHTTP");}catch(e){
try{Xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");}catch(E){Xmlhttp = false;}
 }
if((!Xmlhttp) && (typeof(XMLHttpRequest)!= 'undefined') ) {Xmlhttp = new XMLHttpRequest();}return Xmlhttp;
}
String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g, "");}
