// JavaScript Document

	function loadExhibition() {
		if (screen.width<1024&&screen.height<768) { //if less than 1024X768
			alert("We have checked your screen resolution and it does not seem to be 1024x768 or greater; please note, this exhibition may not display properly.");
		}	
	if (screen.width==1024&&screen.height==768) { //if == 1024X768
		var iMyWidth;
		var iMyHeight;
		iMyWidth = 1000;
		iMyHeight = 730;
		var win2 = window.open("http://www.nls.uk/jma/who/darwin/originswf/index.html","Window2","width=" + iMyWidth + ", height=" + iMyHeight + ",status=no,resizable=no,left=0,top=0,toolbar=no,menubar=no,scrollbars=no,location=no,directories=no");
		win2.focus();
		win2.moveTo(0,0);
		win2.resizeTo(screen.width,screen.height);
	}
	else {
		var iMyWidth;
		var iMyHeight;
		iMyWidth = 1000;
		iMyHeight = 730;
		
		var win2 = window.open("http://www.nls.uk/jma/who/darwin/originswf/index.html","Window2","width=" + iMyWidth + ", height=" + iMyHeight + ",status=no,resizable=no,left=0,top=0,toolbar=no,menubar=no,scrollbars=no,location=no,directories=no");
		win2.focus();
	}
}

