function TG(b,c){b.style.backgroundColor=c}function show(a){target=document.getElementById(a);target.className="main_page_show"}function hide(a){target=document.getElementById(a);target.className="main_page_hide"}function show_login(){target_login=document.getElementById("login_div");target_register=document.getElementById("register_div");target_forgot=document.getElementById("forgot_div");target_login.className="login_show";target_register.className="login_hide";target_forgot.className="login_hide"}function show_register(){target_login=document.getElementById("login_div");target_register=document.getElementById("register_div");target_forgot=document.getElementById("forgot_div");target_login.className="login_hide";target_register.className="login_show";target_forgot.className="login_hide"}function show_forgot(){target_login=document.getElementById("login_div");target_register=document.getElementById("register_div");target_forgot=document.getElementById("forgot_div");target_login.className="login_hide";target_register.className="login_hide";target_forgot.className="login_show"}function flash(b,a){show_register();b.className=(b.className=="upright2"?"upright1":"upright2");if(a>=11){return}window.setTimeout(function(){flash(b,a+1)},60)}function AjaxFunction(c){var d;try{d=new XMLHttpRequest()}catch(f){try{d=new ActiveXObject("Msxml2.XMLHTTP")}catch(f){try{d=new ActiveXObject("Microsoft.XMLHTTP")}catch(f){alert("Your browser does not support AJAX!");return false}}}function a(){if(d.readyState==4){document.getElementById("msg").innerHTML=d.responseText}}var b="email-ajax.php";b=b+"?email="+c;b=b+"&sid="+Math.random();d.onreadystatechange=a;d.open("GET",b,true);d.send(null)}var bustcachevar=0;var loadedobjects="";var rootdomain="http://"+window.location.hostname;var bustcacheparameter="";function ajaxpage(a,d){var c=false;if(window.XMLHttpRequest){c=new XMLHttpRequest()}else{if(window.ActiveXObject){try{c=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{c=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}}else{return false}}c.onreadystatechange=function(){loadpage(c,d)};if(bustcachevar){bustcacheparameter=(a.indexOf("?")!=-1)?"&"+new Date().getTime():"?"+new Date().getTime()}c.open("GET",a+bustcacheparameter,true);c.send(null)}function loadpage(b,a){if(b.readyState==4&&(b.status==200||window.location.href.indexOf("http")==-1)){document.getElementById(a).innerHTML=b.responseText}}function loadobjs(){if(!document.getElementById){return}for(i=0;i<arguments.length;i++){var a=arguments[i];var b="";if(loadedobjects.indexOf(a)==-1){if(a.indexOf(".js")!=-1){b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("src",a)}else{if(a.indexOf(".css")!=-1){b=document.createElement("link");b.setAttribute("rel","stylesheet");b.setAttribute("type","text/css");b.setAttribute("href",a)}}}if(b!=""){document.getElementsByTagName("head").item(0).appendChild(b);loadedobjects+=a+" "}}};

