function OpenCertDetails()
{
	// USLIGH35-1 or USVIRT19-3
	thewindow = window.open('cert.html', 'anew', config='height=400,width=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
	thewindow.focus()
}
function newWd(page,width,height) {
	newwin = window.open(page, 'BigPic', 'screenX=20,screenY=20,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+width+',height='+height); 
	newwin.focus();
}
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		womens_over = newImage("images/top/womens-over.gif");
		mens_over = newImage("images/top/mens-over.gif");
		kids_over = newImage("images/top/kids-over.gif");
		sales_over = newImage("images/top/sales-over.gif");
		preloadFlag = true;
	}
}

function showLayer(id) {
	id.style.visibility='visible';
	
	if (showLayer.arguments.length > 1) {
		id.style.left = showLayer.arguments[1];
		id.style.zIndex = ++highest_order;
	}
}

function hideLayer(id) {
	id.style.visibility='hidden';
	id.style.zIndex = 1;
}

var highest_order = 1;