
function protect()
{

	var PopUpURL    = "http://www.ellenrice.com/popup.html";
	var PopUpLeft   =  100;
	var PopUpTop    =  100;
	var PopUpWidth  =  500;
	var PopUpHeight =  100;

// -------------------------------------
// Do not edit anything below this line.
// -------------------------------------

	var isIE=document.all;
	var isNN=!document.all&&document.getElementById;
	var isN4=document.layers;
	var popO='left='+PopUpLeft+',top='+PopUpTop+',width='+PopUpWidth+',height='+PopUpHeight

	if (isIE||isNN){
	document.oncontextmenu=checkV;
	}else{
	document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
	document.onmousedown=checkV;}

		function checkV(e){
		if (isN4) {
		if (e.which==2||e.which==3){
		dPUW=window.open(PopUpURL,'nrc',popO);
		return false;
		}}else{
		dPUW=window.open(PopUpURL,'nrc',popO);
		return false;}}
}


function showGraphic(sFile, iWidth, iHeight, sTitle)
{
	
	var dateNow = new Date();
	var yearNow = dateNow.getFullYear();
	var wGraphic = window.open('','_blank','width='+parseInt(iWidth+60)+',height='+parseInt(iHeight+100)+',toolbars=no,resize=no,');
	wGraphic.document.write('<html><title>' + sTitle + ' - Giclčes and Lithographs - Delaware </title></head>\n\n');

	wGraphic.document.write('<body language=Javascript onload=protect() text="#EEEEEE" link="#EEEEEE" vlink="#EEEEEE" bgcolor="#000000">\n<table width="100%" height="100%">\n\n');
	wGraphic.document.write('<tr><td align="center" valign="top"><img border="2" bordercolor="#CCCCCC" src="'+sFile+'" width="'+iWidth+'" height="'+iHeight+'" border="0"></td></tr>\n');
	wGraphic.document.write('<tr><td align="center" valign="top"><font size="4" style="font-size: 17px;"><b>' + sTitle + '</b></font><br></td></tr>\n');
	wGraphic.document.write('<tr><td align="center" valign="bottom"><font size="2" style="font-size: 12px;"><a href="#" onclick="window.close();" value="Close">Close Window</a></font></td></tr>\n\n');
	wGraphic.document.write('<tr><td align="center" valign="bottom"><font size="2"> All Images Copyright &copy; Ellen H. Rice ' + yearNow + '</font></td></tr>\n\n');
// wGraphic.document.oncontextmenu=new Function("protect();return false;")
// wGraphic.document.onmousedown=new Function("protect();return false;")

	wGraphic.document.write('</table>\n</body></html>\n');
      
	return null;
}


