// GenJS JavaScript Document

	
		
		function Enlarge1(a) {
     
			window.open(a,"","HEIGHT=500,WIDTH=700,left=25,top=25,screenX=25,screenY=25,scrollbars,resizable,menubar,toolbar")
		}
		
		function smWinPlace25(a) {
			window.open(a,"","HEIGHT=300,WIDTH=300,left=25,top=25,screenX=25,screenY=25,scrollbars,resizable,menubar,toolbar")
		}
		
		function lgWin(a) {
			window.open(a,"","HEIGHT=550,WIDTH=750,left=0,top=0,screenX=0,screenY=0,scrollbars,resizable")
		}
		
		function lgWinPlace75(a) {
			window.open(a,"","HEIGHT=550,WIDTH=750,left=75,top=0,screenX=75,screenY=0,scrollbars,resizable,menubar,toolbar")
		}

		
		function smWinNamed(a) {
			var Alpha = window.open(a,"Alpha","HEIGHT=300,WIDTH=300,left=25,top=25,screenX=25,screenY=25,scrollbars,resizable,menubar,toolbar");
			Alpha.focus();
		}
		
		function crWinNamed(a) {
			var Alpha = window.open(a,"crqst","HEIGHT=300,WIDTH=400,left=475,top=25,screenX=475,screenY=25,scrollbars,resizable,menubar");
			Alpha.focus();
		}
		
		function smWinNamed01(a) {
			var Alpha = window.open(a,"Alpha","HEIGHT=300,WIDTH=300,left=25,top=25,screenX=25,screenY=25,scrollbars,resizable,menubar,toolbar");
			Alpha.focus();
		}
		
		function smWinNamed02(a) {
			var Beta = window.open(a,"Beta","HEIGHT=300,WIDTH=300,left=50,top=50,screenX=50,screenY=50,scrollbars,resizable,menubar,toolbar");
			Beta.focus();
		}
		
		function setClass(a) {
		document.getElementById("tabtop" + a).className = "tabtopActive";
		document.getElementById("tabbot" + a).className = "tabbottomActive";
		
		return
		}

		function setClassDbl(a,b) {
		document.getElementById("tabtop" + a).className = "tabtopActive";
		document.getElementById("tabbot" + a).className = "tabbottomActive";
		document.getElementById("tabtopDbl" + b).className = "tabtopDblActive";
		document.getElementById("tabbotDbl" + b).className = "tabbottomDblActive";
		
		return
		}
		
		function tabSet(n,t,a) {
				document.getElementById(n).innerHTML = t;
				setClass(a);
		}
		
		function tabSetDbl(n1,t1,a,n2,t2,b) {
				document.getElementById(n1).innerHTML = t1;
				document.getElementById(n2).innerHTML = t2;
				setClassDbl(a,b);
		}
		
// Sets the value of a cookie
		function setCookie(name, value) {
			var date = new Date()
			date.setTime(date.getTime() + (1*24*60*60*1000));
			var exp = "; expires="+date.toGMTString();
			document.cookie = name+"="+value+exp+"; path=/";
		}
		
// Reads the value of a cookie
		function readCookie(name) {
			var id = name + "=";
			var ca = document.cookie.split(';');
			for(var i=0;i < ca.length;i++)
				{
					var c = ca[i];
					while (c.charAt(0)==' ') c = c.substring(1,c.length);
					if (c.indexOf(id) == 0) return c.substring(id.length,c.length);
				}
			return null;
		}

		function clearCookie(name) {
			var value = "";
			var date = new Date();
			date.setTime(date.getTime() + (-1*24*60*60*1000));
			var exp = "; expires"+date.toGMTString();
			document.cookie = name+"="+value+exp+"; path=/";
			var x = readCookie(name);
		}
		
// Pops Legal Notice
		function popLegalNotice() {
			alert("Names used herein are either used with permission or are fictitious.  No association with any real person, entity or place is intended.");
		}
