function popup(imageName,imageWidth,imageHeight,alt,center) {  // v4.01
	
	posLeft=0; posTop=0;
	var posLeft = (screen.width - imageWidth) / 2;	
    var posTop = 20;
	
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+"");
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#000000" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onClick="self.close()" onBlur="self.close()">'); 
    newWindow.document.write('<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">');
	newWindow.document.write('<tr><td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"><tr>');
	newWindow.document.write('<td><div align="center"><img src=\"'+imageName+'\" alt=\"'+alt+'\"></div></td>');
	newWindow.document.write('</tr></table></td></tr></table>');
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.moveTo(posLeft, posTop);
	newWindow.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) {
		gallery_over = newImage("images/gallery-over.gif");
		price_over = newImage("images/price-over.gif");
		statement_over = newImage("images/statement-over.gif");
		exhibits_over = newImage("images/exhibits-over.gif");
		links_over = newImage("images/links-over.gif");
		contact_over = newImage("images/contact-over.gif");
		preloadFlag = true;
	}
}