var pee = -210;
var drec = 40;
var speed = 20;
//Don't touch!
var l = pee;
//Don't touch. This is the function that closes the menu
function Proj7GlideBack () {l += drec;
if (document.layers) {
document.loginBar.left = l;
}
else if (document.all) {document.all.loginBar.style.pixelLeft = l;
}
else if (document.getElementById) {document.getElementById('loginBar').style.left = l + 'px';
}
if (l < 0)
setTimeout('Proj7GlideBack()', speed);
else {
if (document.layers) {
var html = '';
html += '<A HREF="javascript:;"';
html += 'onClick="Proj7GlideOut(); return false;"';
html += 'Class="glideText"';
html += '<div class="login_but"></div>'+ '<br>';
html += '<div class="login_but"></div>'+ '<Br>';
html += '<\/A>';
var a = window.document.loginBar.document.glider;
a.document.open();
a.document.write(html);
a.document.close();
}
else if (document.all) {document.all.glidetextLink.innerHTML = '<div class="login_but"></div>';
document.all.glidetextLink.onclick = moveIn;
}
else if (document.getElementById) {
document.getElementById('glidetextLink').firstChild.nodeValue ='<div class="login_but"></div>';
document.getElementById('glidetextLink').onclick = moveIn;
}
}
}
//Don't touch. This is the function that opens the menu
function Proj7GlideOut () {l -= drec;
if (document.layers) {document.loginBar.left = l;
}
else if (document.all) {document.all.loginBar.style.pixelLeft = l;
}
else if (document.getElementById) {document.getElementById('loginBar').style.left = l + 'px';
}
if (l > pee)
setTimeout('Proj7GlideOut()', speed);
else {
if (document.layers) {
var html = '';
html += '<A HREF="javascript:;"';
html += 'onclick="Proj7GlideBack(); return false;"';
html += 'Class="glideText"';
html += '<div class="login_but"></div>'+ '<Br>';
html += '<div class="login_but"></div>'+ '<Br>';
html += '<\/A>';
var a = window.document.loginBar.document.glider;
a.document.open();
a.document.write(html);
a.document.close();
}
else if (document.all) {document.all.glidetextLink.innerHTML = '<div class="login_but"></div>';
document.all.glidetextLink.onclick = moveOut;
}
else if (document.getElementById) {
document.getElementById('glidetextLink').firstChild.nodeValue ='<div class="login_but"></div>';
document.getElementById('glidetextLink').onclick = moveOut;
}
}
}
function moveIn () {Proj7GlideOut();return false;
}
function moveOut() {Proj7GlideBack();return false;
}
<!--NNresizeFix Reloads the page to workaround a Netscape Bug-->
if (document.layers) {
origWidth = innerWidth;
origHeight = innerHeight;}
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();}
if (document.layers) onresize = redo;
