“;document.getElementById(“loginform”).innerHTML=fhtml; } function register() {fhtml_login=document.getElementById(“loginform”).innerHTML;var fhtml=””;fhtml+= “
Sign up
“;fhtml+=”




“;fhtml+=””;fhtml+=”
“;fhtml+=”
“;fhtml+=”
Or Create an account
“;fhtml+=”
“;fhtml+=””;fhtml+=”
“;document.getElementById(“loginform”).innerHTML=fhtml; } function restoreloginform() {document.getElementById(“loginform”).innerHTML = fhtml_login; } //– EC start — //These functions are for the new popup function dologin_popup(id, pass, qid) {var qstr = “u&pass=” + escape(pass.value) + “&q&txy=” + (tempX+tempY) + “&answer_text=” + document.getElementById(‘newtext’).value + “&cmd=login_popup”+”&ahidAnswerID”).value+”&commenthidCommentID”).value+”&postfb=”+postFB+”&posttw=”+postTW+”&subscriber=”+gsub;xmlhttpPost(“saveanswer.php”, qstr, “passres_popup”, true);return false; } function lostpass_popup() {fhtml_login = document.getElementById(“openid_login_popup”).innerHTML;var fhtml = “”;var remail = “”;fhtml += “”;document.getElementById(“openid_login_popup”).innerHTML = fhtml; } function signin_popup() {fhtml_login = document.getElementById(“divNewUserForm”).innerHTML;var fhtml = “”; //fhtml += “