<!--
var icntr = 0
var message="Contents of this website are copyrighted " +
"and cannot be duplicated without express permission from WebPhotoSchool.";

function loadImages() {
if (document.getElementById) {  // DOM3 = IE5, NS6
document.getElementById('hidepage').style.visibility = 'hidden';
}
else {
if (document.layers) {  // Netscape 4
document.hidepage.visibility = 'hidden';
}
else {  // IE 4
document.all.hidepage.style.visibility = 'hidden';
      }
   }
}


function click(e) { 
	if (document.all) {
		if (event.button==2||event.button==3) { 
		alert(message);
		return false;
		} 
	} 
	if (document.layers) {
		if (e.which == 3) {
			alert(message); 
			return false; 
		} 
	} 
} 

if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}

document.onmousedown=click; 


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function showFullSize(currentpict, pwidth, pheight){ 
	openPictureWindow('500/'+currentpict, pwidth, pheight, 'Click outside window to close Image'); 
} 

function openPictureWindow(imageName,imageWidth,imageHeight,alt) 
{ 
	var i_height = 20 + parseInt(imageHeight)
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+i_height); 
	newWindow.document.open(); 
	newWindow.document.write('<HTML><TITLE>'+alt+'</TITLE><BODY bgcolor="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="20" MARGINHEIGHT="0" MARGINWIDTH="0" onBlur="self.close()">'); 
	newWindow.document.write('<IMG SRC='+imageName+' WIDTH='+imageWidth+' HEIGHT='+imageHeight+
	' ALT='+alt+' BORDER="0">');
	//newWindow.document.write('<p>&nbsp;' + i_height + '</p>'); 	 
	newWindow.document.write('<p>&nbsp;</p></BODY></HTML>'); 
	newWindow.document.close(); 
	newWindow.focus(); 
} 


function showAltSize(currentpict, pwidth, pheight, pcaption){ 
	tcaption = pcaption
	openAltWindow('500/'+currentpict, pwidth, pheight, 'Click outside window to close Image', tcaption); 
} 

function openAltWindow(imageName,imageWidth,imageHeight,alt, acaption) 
{ 
	//if (len(acaption) == 0) {
	//	acaption = ""
	//}
	newWindow = window.open("","newWindow","width="+imageWidth+",height=550"); 
	newWindow.document.open(); 
	newWindow.document.write('<HTML><TITLE>'+alt+'</TITLE>');
	newWindow.document.write('<BODY bgcolor="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" onBlur="self.close()">'); 
	newWindow.document.write('<link rel="stylesheet" type="text/css" href="../styles/wps.css">');
	//newWindow.document.write('<br><CENTER><p style="font-family: verdana, arial, sans-serif; color: blue; font-size: 8pt;">' + acaption + '</p></CENTER>');
	newWindow.document.write('<br><CENTER><p class="caption">' + acaption + '</p></CENTER>');
	newWindow.document.write('<IMG SRC='+imageName+' WIDTH='+imageWidth+' HEIGHT='+imageHeight+
	' ALT='+alt+' BORDER="0" style="margin: -4mm 0mm 0mm 0mm;">'); 
	newWindow.document.write('</BODY></HTML>'); 
	newWindow.document.close(); 
	newWindow.focus(); 
} 


// -->