var pcurrent = "about";
var xlocation = "0";

function pullPosition() {
	var pblock = document.getElementById(pcurrent);
	var x = document.body.offsetWidth;
	x = (x/2)-(380 - xlocation);
	pblock.style.left = x;
	}

function popit(box, loc) {
	var pblock = document.getElementById(box);
	var x = document.body.offsetWidth;
	x = (x/2)-(380 - loc);
	pblock.style.left = x;
	pblock.style.visibility = "visible";
	pcurrent = box;
	xlocation = loc;
}

function popoff(box) {
	if (box != pcurrent) {	
		var pblock = document.getElementById(pcurrent);
		pblock.style.visibility = "hidden";		
	}
}