// JavaScript Document
/* Eagleknight.com CCS */
/* 3/16/2009 	Version 02.00.01C */
// Disables right-click and displays a popup message <!--  -->
function noway(go) {
	var popup='Sorry, right-click is disabled.  \n\nThis Site Copyright 2006 - 2009  '; 
	if (document.all) 
	{ 
		if (event.button == 2) 
		{ 
			alert(popup); 
			return false; 
		} 
	} 
	if (document.layers) 
	{ 
		if (go.which == 3) 
		{ 
			alert(popup); 
			return false; 
		} 
	}
	if (document.layers) 
		{ 
			document.captureEvents(Event.MOUSEDOWN); 
		} 
					} 
// Displays the current Date		
		 function displayDate(){
			monthNm = new Array ('January', 'Febuary', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
         	now = new Date;
		 	dateString = '<H5> &nbsp; ' + monthNm[now.getMonth()] + ' ' + now.getDate() + ', ' + now.getFullYear() + '<\/H5>' ;
			return dateString;
		 }
// Standardize popup window 
         function newWindow() {
         		aboutWindow=window.open('about.htm', 'aboutWin', 'toolbar=no, location=no, scrollbars=yes, resizable=yes, width=800,height=600')
         }
// Displays Inline images
			function DisplayImg(img, h, w, msg)
			{
				myWindow = window.open("", "tinyWindow", "toolbar=false, status=false, titlebar=false, width=" + w + ",height=" + h); 
				myWindow.document.write("<HTML><HEAD>");
				myWindow.document.write("<script language='JavaScript' TYPE='TEXT/JAVASCRIPT'>");
				myWindow.document.write("var popup='Sorry, right-click is disabled.  \\n\\nThis Site Copyright 2006 - 2009  ';");
				myWindow.document.write("function noway(go) { if (document.all) { if (event.button == 2) { alert(popup); return false; } }");
				myWindow.document.write("if (document.layers) { if (go.which == 3) { alert(popup); return false; } } }");
				myWindow.document.write("if (document.layers) { document.captureEvents(Event.MOUSEDOWN); }");
				myWindow.document.write("document.onmousedown=noway;");
				myWindow.document.write("</script><TITLE>");
				myWindow.document.write(msg);
				myWindow.document.write("</TITLE></HEAD>");
				myWindow.document.write("<BODY margin='0'><img src='" + img + "' alt='" + msg +  "' width='" + w + "' height='" + h + "'></img> </BODY></HTML>") ;
				myWindow.document.close();
			}
