//		All javascript functions in this document are Copyright 2000 - 2007 by Greg Smith.//		All rights are reserved.  For information on use of these functions please contact//		the author: greg@iWonderInc.com	function justChill() {}														  	//  This is a "do nothing" function...		function setCookie(cookieName,ID) {												//	This function creates a ONE QTR lifetime cookie with the name 																					//	provided in the "cookieName" parameter and the value provided		var expire = new Date()														//	in the "ID" parameter		var oneMinute = expire.getTime() + (60 * 1000)		var threeMin = expire.getTime() + (3 * 60 * 1000)		var oneHour = expire.getTime() + (60 * 60 * 1000)		var oneDay = expire.getTime() + (24 * 60 * 60 * 1000)		var oneQTR = expire.getTime() + (91 * 24 * 60 * 60 * 1000)		expire.setTime(oneQTR)		var exp = expire.toGMTString()		var cookie_str = cookieName + "=" + ID + "; " + "expires=" + exp		document.cookie=cookie_str		} 	function deleteCookie(cookieName) {			var expire2 = new Date()													//	in the "ID" parameter		var hourAgo = expire2.getTime() - (60 * 60 * 1000)		expire2.setTime(hourAgo)		var exp2 = expire2.toGMTString()		var cookie_str = cookieName + "=0; " + "expires=" + exp2		document.cookie=cookie_str		} 		function getCookieVal(offset) {													//	This function returns the value of a cookie when given																					//	it's offset inside the cookie string.  The function		var endstr = document.cookie.indexOf(";",offset)							//	getCookie(name) is used to find the offset inside the		if (endstr == -1)															//	cookie string for a cookie with a given name			endstr = document.cookie.length		return unescape(document.cookie.substring(offset,endstr))	}				function getCookie(name) {														//	This function returns the offset within the cookie string																					//	for the particular cookie whose name is provided to it.   		var arg = name + "="														//	In order to get a value from a name, this function AND		var alen = arg.length														//	getCookieVal(offset) must be used.		var clen = document.cookie.length		var i = 0		while (i < clen) {			var j = i + alen			if (document.cookie.substring(i,j) == arg)				return getCookieVal(j)			i = document.cookie.indexOf(" ", i) + 1			if (i == 0) break		}		return null	}		var brType ;	if (navigator.userAgent.indexOf("Opera")!=-1 && document.getElementById) brType="OP"; 		// Opera	if (document.all) brType="IE"; 																// Internet Explorer e.g. IE4 upwards	if (document.layers) brType="NN"; 															// For Netscape version 4	if (!document.all && document.getElementById) brType="MO";									// Mozila e.g. Netscape 6 upwards		//	alert('the browser type is :' + brType);			function CollapseLayer(id, action){ 		if (brType=="IE") eval("document.all." + id + ".style.display='" + action + "'"); 		if (brType=="NN") eval("document." + id + ".display='" + action + "'"); 		if (brType=="MO" || brType=="OP") 		eval("document.getElementById('" + id + "').style.display='" + action + "'"); 	}	function toggleDiv(id){//			alert('toggleDiv()')//		if (brType=="IE") {//			var el = "document.all." + id + ".style"//			if (el.display == "none") { el.display = "" } else { el.display = "none" }//		}//		if (brType=="NN") {//			var el = "document." + id //			if (el.display == "none") { el.display = "" } else { el.display = "none" } //		}//		if (brType=="MO" || brType=="OP") {			var el = document.getElementById(id).style			if (el.display == "none") { el.display = "" } else { el.display = "none" }		//		} 	}	function ShowLayer(id, action){ 		if (brType=="IE") eval("document.all." + id + ".style.visibility='" + action + "'"); 		if (brType=="NN") eval("document." + id + ".visibility='" + action + "'"); 		if (brType=="MO" || brType=="OP") 		eval("document.getElementById('" + id + "').style.visibility='" + action + "'"); 	}				function ChangeContent(id, str) { 		if (brType=="IE") { 			document.all[id].innerHTML = str; 		} 		if (brType=="NN") { 			document.layers[id].document.open(); 			document.layers[id].document.write(str); 			document.layers[id].document.close(); 		} 		if (brType=="MO") { 			document.getElementById(id).innerHTML = str; 		} 	}