// JavaScript Document
// Gallery Names for MouseOver
	Reb = "REBBECA";
	Hanna = "HANNA";
	Roy = "ROY";
	Surf = "SURFERS";
	Cult = "CULTURE SHOCK";
	NYC = "NYC";
	Ken = "KENESIS";
	Tig = "TIGERLILLEY";
	BW = "B&W SINGLES";
	Col = "COLOUR SINGLES";
	Tear = "TEAR SHEETS";
	blank = "    ";
	
// Places Gallery Names on page	
	function OverTXT(newTXT) {
		var td = document.getElementById("portName");
		td.firstChild.nodeValue = newTXT;
		}
// Opens new window at 80% screen size
function newWindow(pic,win) {
	leftPos = 0;
	winWidth = 0;
	heightPos = 0;
	winHeight = 0;
	if (screen) {
		winWidth = screen.width*0.8;
		leftPos = (screen.width/2) - (winWidth/2);
		winHeight = screen.height*0.8;
		heightPos = (screen.height/2) - (winHeight/2) - 20;
		}
		picWindow = window.open(pic, win, 'width='+winWidth+', height='+winHeight+', left='+leftPos+', top='+heightPos+', scrollbars=yes, resizable=yes')
//		picWindow.focus() //For HTML file not Picture
		}
		
function infoWindow(pic,win) {
	if (screen) {
		winWidth = screen.width*0.6;
		leftPos = (screen.width/2) - (winWidth/2);
		winHeight = screen.height*0.25;
		heightPos = (screen.height/2) - (winHeight/2) - 20;
		}
		InfoWindow = window.open(pic, win, 'width='+winWidth+', height='+winHeight+', left='+leftPos+', top='+heightPos+', scrollbars=yes, resizable=yes')
		}
		
function rideWindow(pic,win) {
	if (screen) {
		winWidth = screen.width*0.98;
		leftPos = (screen.width/2) - (winWidth/2)-2;
		winHeight = screen.height*0.7;
		heightPos = (screen.height/2) - (winHeight/2) - 60;
		}
		picWindow = window.open(pic, win, 'scrollbars=yes, resizable=yes, toolbar=yes, statusbar=yes, location=yes, menubar=yes, width='+winWidth+', height='+winHeight+', left='+leftPos+', top='+heightPos+'')
	
		}