// JavaScript Document
	var thumbnailWindow = null;
	function openThumbnail(i,t,w,h) {
		thumbnailWindow = window.open('../openthumbnail.html','thumbnail','width= '+w+',height= '+(h+40));

		with(thumbnailWindow) {
			document.write('<html><head><title> '+t+'</title></head>'+
'<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><table border="0" cellpadding="0" cellspacing="0"><tr><td><a href="javascript:self.close();"><img src=" '+i+'" width=" '+w+'" height=" '+h+'" border="0" alt="click to close"></a>'+
'<div align="center"><p> <SCRIPT Language="Javascript"> '+
'/* '+
'This script is written by Eric (Webcrawl@usa.net) '+
'For full source code, installation instructions, '+
'100\'s more DHTML scripts, and Terms Of '+
'Use, visit dynamicdrive.com '+
'*/ '+
' '+
'function printit(){   '+
'if (window.print) { '+
'    window.print() ;   '+
'} else { '+
'    var WebBrowser = \'<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>\'; '+
'    document.body.insertAdjacentHTML(\'beforeEnd\', WebBrowser); '+
'    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box '+
'    WebBrowser1.outerHTML = "";   '+
'} '+
'} '+
'</script> '+
' '+
'<SCRIPT Language="Javascript">   '+
'var NS = (navigator.appName == "Netscape"); '+
'var VERSION = parseInt(navigator.appVersion); '+
'if (VERSION > 3) { '+
'    document.write(\'<form><input type=button value="Print this Page" name="Print" onClick="window.print();"></form>\');      '+   
'} '+
'</script> '+
'</p></div>'+
'</td></tr></table></body></html>');
			moveTo((screen.width-w)/2,(screen.height-h)/2);
			focus;
			document.close();
		}
	}
	
	function openWindow(s,n,w,h) {
		window.open(s,n,'width= '+w+',height= '+h+',scrollbars=yes,resizeable=yes');
	}

	function swapImages(obj,src) {
		obj.src = src;
	}
	
	