if (top != self) top.location = self.location;

function pop(desktopURL,windowName,width,height) {
	var winTop = ((screen.height-height)/2) - 24;
	var winLeft = (screen.width-width)/2;
	window.open(desktopURL, windowName, "toolbar=no,status=no,scrollbars=no,resizable=no,menubar=no,location=no,top=" + winTop + ",left=" + winLeft + ",width=" + width + ",height=" + height + "")
}

function hide(element) {
	document.getElementById(element).style.display = "none";
}

function show(element) {
	document.getElementById(element).style.display = "block";
}

function productSwap(show, hide, hideAlso) {
	document.getElementById(show).style.display = "inline";
	document.getElementById(hide).style.display = "none";
	document.getElementById(hideAlso).style.display = "none";
}

window.onload = function() {
}