//Right Click Blocker
	BrowserVersion  = parseInt(navigator.appVersion);
	BrowserNS = navigator.appName=="Netscape";
	BrowserIE = navigator.appName=="Microsoft Internet Explorer";
	function NoRightClick(e) {
	   if (BrowserNS && e.which > 1){
	      return false;
	   } else if (BrowserIE && (event.button >1)) {
	     return false;
	   }
	}
	document.onmousedown = NoRightClick;
	if (document.layers) window.captureEvents(Event.MOUSEDOWN);
	if (BrowserNS && BrowserVersion<5) window.onmousedown = NoRightClick;
	document.oncontextmenu=new Function("return false");


onerror=handleErr;


function handleErr(msg,url,l)
{
	txt='There was an error on this page.\n\n';
	txt+='Error: ' + msg + '\n';
	txt+='URL: ' + url + '\n';
	txt+='Line: ' + l + '\n\n';
	txt+='Click OK to continue.\n\n';
	alert(txt);
	return true;
}


function show_fullsize_pic(picfile)
{
	document.getElementById('fullsize_pic').innerHTML="<img src='" + picfile + "' />";
	document.getElementById('fullsize_pic').style.display='';
}

function dont_show_fullsize_pic()
{
	document.getElementById('fullsize_pic').style.display='none';
}
