var bustcachevar=1;var loadedobjects="";var rootdomain="http://"+window.location.hostname;var bustcacheparameter="";function ajaxpage(_1,_2){var _3=false;if(window.XMLHttpRequest){_3=new XMLHttpRequest();}else{if(window.ActiveXObject){try{_3=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{_3=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}}else{return false;}}_3.onreadystatechange=function(){loadpage(_3,_2);};if(bustcachevar){bustcacheparameter=(_1.indexOf("?")!=-1)?"&"+new Date().getTime():"?"+new Date().getTime();}_3.open("GET",_1+bustcacheparameter,true);_3.send(null);}function loadpage(_4,_5){if(_4.readyState==4&&(_4.status==200||window.location.href.indexOf("http")==-1)){document.getElementById(_5).innerHTML=_4.responseText;}}function loadobjs(){if(!document.getElementById){return;}for(i=0;i<arguments.length;i++){var _6=arguments[i];var _7="";if(loadedobjects.indexOf(_6)==-1){if(_6.indexOf(".js")!=-1){_7=document.createElement("script");_7.setAttribute("type","text/javascript");_7.setAttribute("src",_6);}else{if(_6.indexOf(".css")!=-1){_7=document.createElement("link");_7.setAttribute("rel","stylesheet");_7.setAttribute("type","text/css");_7.setAttribute("href",_6);}}}if(_7!=""){document.getElementsByTagName("head").item(0).appendChild(_7);loadedobjects+=_6+" ";}}}