var xaxis = 0;
var i = 1;
var width = 120;
var width_content = 104;
var complete = false;
var t;
function expand() {
if (complete == false) {
t = setInterval('moveme(xaxis)', 1);
complete = true;
return complete;
}
}

function moveme() {
if (i > 78) {clearTimeout(t); var complete = true; document.getElementById("closeme").style.visibility = "visible"; xaxis = -72; width_content = 176; width = 192;}

document.getElementById("signup_rel").style.width = width+"px";
document.getElementById("signup_rel").style.left = xaxis+"px";
document.getElementById("signup_chrome_bottom").style.width = width+"px";
if (location.pathname == "/") {
document.getElementById("signup_content_hp").style.width = width_content+"px";
} else {
document.getElementById("signup_content").style.width = width_content+"px";
}
if (i < 79) {
xaxis--; i++; width++; width_content++; xaxis--; i++; width++; width_content++; xaxis--; i++; width++; width_content++;
}
}

function closeme() {
xaxis = 0;
i = 1;
width = 120;
width_content = 104;

document.getElementById("signup_rel").style.width = width+"px";
document.getElementById("signup_rel").style.left = xaxis+"px";
document.getElementById("signup_chrome_bottom").style.width = width+"px";
if (location.pathname == "/") {
document.getElementById("signup_content_hp").style.width = width_content+"px";
} else {
document.getElementById("signup_content").style.width = width_content+"px";
}
document.getElementById("closeme").style.visibility = "hidden";
complete = false;
return complete;
}

