// ImageReady Preload Script (Navigation.psd) 
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) {
		nav_home_over = newImage("images/nav_home-over.gif");
		nav_biography_over = newImage("images/nav_biography-over.gif");
		nav_gallery_over = newImage("images/nav_gallery-over.gif");
		nav_newreleases_over = newImage("images/nav_newreleases-over.gif");
		nav_news_over = newImage("images/nav_news-over.gif");
		nav_contact_over = newImage("images/nav_contact-over.gif");
		preloadFlag = true;
	}
}
// End Preload Script 


// This script opens a new browser window and writes
// HTML to display an image with a title and caption

function show_photo( pFileName, pTitle, pCaption) {

// specify window parameters
  photoWin = window.open( "", "photo", "width=650,height=530,resizable,screenX=125,screenY=140,left=125,top=140"); 
  photoWin.focus();

// wrote content to window
  photoWin.document.write('<html><head><title>' + pTitle + '</title>');
  photoWin.document.write('<link rel="stylesheet" href="common/style_v1.css" type="text/css"></head>');	
  photoWin.document.write('<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>');
  photoWin.document.write('<a HREF="javascript:opener.focus()"; return false" style="text-decoration:none">');
  photoWin.document.write('<img src="' + pFileName + '" border=0 title="return to main window"></a>');
  photoWin.document.write('<p align="center" style="font-size:16px;font-family:Century Gothic;font-weight:bold"> ' + pTitle + '</p>');
  photoWin.document.write('<p align="center">' + pCaption + '</p>');
  photoWin.document.write('<hr><p align="center">&copy; 1971 Stefan Overzier - all rights reserved - the Netherlands</p>');
  photoWin.document.write('</body></html>');
  photoWin.document.close();	
	
// If we are on NetScape, we can bring the window to the front
	if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();
}


function show_photo760( pFileName, pTitle, pCaption) {

// specify window parameters
  photoWin760 = window.open( "", "photo760", "width=760,height=530,resizable,screenX=0,screenY=140,left=0,top=140"); 
  photoWin760.focus();

// wrote content to window
  photoWin760.document.write('<html><head><title>' + pTitle + '</title>');
  photoWin760.document.write('<link rel="stylesheet" href="common/style_v1.css" type="text/css"></head>');	
  photoWin760.document.write('<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>');
  photoWin760.document.write('<a HREF="javascript:opener.focus()"; return false" style="text-decoration:none">');
  photoWin760.document.write('<img src="' + pFileName + '" border=0 title="return to main window"></a>');
  photoWin760.document.write('<p align="center" style="font-size:16px;font-family:Century Gothic;font-weight:bold"> ' + pTitle + '</p>');
  photoWin760.document.write('<p align="center">' + pCaption + '</p>');
  photoWin760.document.write('<hr><p align="center">&copy; 1971 Stefan Overzier - all rights reserved - the Netherlands</p>');
  photoWin760.document.write('</body></html>');
  photoWin760.document.close();	
	
// If we are on NetScape, we can bring the window to the front
	if (navigator.appName.substring(0,8) == "Netscape") photoWin760.focus();
}



function show_photo433( pFileName, pTitle, pCaption) {

// specify window parameters
  photoWin433 = window.open( "", "photo433", "width=453,height=705,scrollbars,resizable,screenX=125,screenY=0,left=125,top=0"); 
  photoWin433.focus();

// wrote content to window
  photoWin433.document.write('<html><head><title>' + pTitle + '</title>');
  photoWin433.document.write('<link rel="stylesheet" href="common/style_v1.css" type="text/css"></head>');	
  photoWin433.document.write('<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>');
  photoWin433.document.write('<a HREF="javascript:opener.focus()"; return false" style="text-decoration:none">');
  photoWin433.document.write('<img src="' + pFileName + '" border=0 title="return to main window"></a>');
  photoWin433.document.write('<p align="center" style="font-size:16px;font-family:Century Gothic;font-weight:bold"> ' + pTitle + '</p>');
  photoWin433.document.write('<p align="center">' + pCaption + '</p>');
  photoWin433.document.write('<hr><p align="center">&copy; 1971 Stefan Overzier - all rights reserved - the Netherlands</p>');
  photoWin433.document.write('</body></html>');
  photoWin433.document.close();	

// If we are on NetScape, we can bring the window to the front
	if (navigator.appName.substring(0,8) == "Netscape") photoWin433.focus();
}

// done hiding from old browsers -->
// END display image with a title and caption