function e(id){return document.getElementById(id);}function getWindowHeight(){ var a=0;if(typeof window.innerHeight=="number")	a = window.innerHeight; else if(document.documentElement && document.documentElement.clientHeight) a = document.documentElement.clientHeight; else if(document.body && document.body.clientHeight) a=document.body.clientHeight; if(!a || a<100) a=100; return a; } function getWindowWidth(){ var a=0;if(typeof window.innerWidth=="number") a=window.innerWidth;else if(document.documentElement&&document.documentElement.clientWidth) a=document.documentElement.clientWidth;else if(document.body&&document.body.clientWidth) a=document.body.clientWidth;if(!a||a<100)a=100;return a;}
function GetRequestObject(){var req = null;if (typeof XMLHttpRequest != "undefined")req = new XMLHttpRequest();
if (!req && typeof ActiveXObject != "undefined"){
try{req=new ActiveXObject("Msxml2.XMLHTTP");}
catch (e){
try{req=new ActiveXObject("Microsoft.XMLHTTP");}
catch (e2){
try {req=new ActiveXObject("Msxml2.XMLHTTP.4.0");}
catch (e3){req=null;}}}}
if(!req && window.createRequest)
req = window.createRequest();
if (!req) alert("Request Object instantiation failed!");
return req;}
function hideObj(on){document.getElementById(on).style.display="none";}
function showObj(on){document.getElementById(on).style.display="";}
function getTagValue(xml,tn){ var n=xml.getElementsByTagName(tn); if(n[0] && n[0].childNodes[0]) return n[0].childNodes[0].nodeValue;return '';}
