
	function CreateNewWindow(strUrl, strName) {
		wndEvents = window.open(strUrl,strName,"width=700,height=350,scrollbars=yes");
		
	}
	<!-------------------------------------------------------------------------------------------------------->	

	<!--This code has to be included for the login to work.  This code was copied from the Centeron Login Page-->
	// Login must be started in the top frame
	if (window != top) top.location.href = location.href;

	//Default browsercheck, added to all scripts!
	function checkBrowser(){
		this.ver=navigator.appVersion
		this.dom=document.getElementById?1:0
		this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
		this.ie4=(document.all && !this.dom)?1:0;
		this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
		this.ns4=(document.layers && !this.dom)?1:0;
		this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
		return this
	}
	
	function initDoc() {
		var pageWidth = (bw.ns4 || bw.ns5) ? window.innerWidth:document.body.offsetWidth-10;
		var myForm = document.theform;
		
		if(myForm != null)
			myForm.pageWidth.value = pageWidth;
	}
	<!-------------------------------------------------------------------------------------------------------->	
	
	function placeFocus() {	
		///////////////////////////////////////////////////////////
		//Original:  Tom Khoury (twaks@yahoo.com) -->
		//
		//This script and many more are available free online at
		//The JavaScript Source!! http://javascript.internet.com
		///////////////////////////////////////////////////////////
		if (document.forms.length > 0) 
		{
			var field = document.forms[0];
			for (i = 0; i < field.length; i++) 
			{
				if ((field.elements[i].type == "text") || (field.elements[i].type == "textarea") || (field.elements[i].type.toString().charAt(0) == "s")) 
				{
					document.forms[0].elements[i].focus();
					break;
				}
			}
		}
		
		//Added by Mat Powell
		initDoc()

	}
	<!-- bw=new checkBrowser()-->

	<!-------------------------------------------------------------------------------------------------------->	


	function newImage(arg) {
		if (document.images) {
			rslt = new Image();
			rslt.src = arg;
			return rslt;
		}
	}

	<!-------------------------------------------------------------------------------------------------------->	


	function changeImages() {
		if (document.images && (preloadFlag == true)) {
			for (var i=0; i<changeImages.arguments.length; i+=2) {
				document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
			}
		}
	}

	<!-------------------------------------------------------------------------------------------------------->	


	var preloadFlag = false;
	function preloadImages() {
		if (document.images) {
			AboutUsWMouse = newImage("images/menu-AboutUs-wm.gif");
			AboutUsWMouse = newImage("images/menu-Home-wm.gif");
			AboutUsWMouse = newImage("images/menu-Contact-wm.gif");
			AboutUsWMouse = newImage("images/menu-OurCalves-wm.gif");
			AboutUsWMouse = newImage("images/menu-Calendar-wm.gif");
			preloadFlag = true;
		}
	}
