

//====================================================================
//	Browser Functions
//====================================================================

//	[ Cookies ]

	function setCookie(object, value, days)
		{
//		alert('value: ' + value);
		if(days)
			{
			time = new Date();
			time.setTime(time.getTime()+days*24*60*60*1000);
			var exp = '; expires='+time.toGMTString();
			}
		else
			{
			var exp='';
			}
//		alert(object + "=" + value + exp);
		document.cookie = object + "=" + value + exp + ";path=/";
//		alert(document.cookie);
		}

	function getCookie(object)
		{
		var SearchString = object + "=";
		var ReturnValue = "";
		if (document.cookie.length > 0)
			{
			offset = document.cookie.indexOf(SearchString);
			if (offset != -1)
				{
				offset += SearchString.length;
				end = document.cookie.indexOf(";", offset);
				if (end == -1) end = document.cookie.length;
				ReturnValue=unescape(document.cookie.substring(offset, end));
				}
			}
		return ReturnValue;
		}


	function BolWin(wintype)
		{
		BolWindow=window.open(wintype,"BolWindow","toolbar=1,resizable=1,directories=1,status=1,scrollbars=1, menubar=1, location=1, width=900,height=890,top=20,left=30, fullscreen=0"); BolWindow.window.focus()
		}

	function DetailWin(wintype)
		{
		DetailWindow=window.open(wintype,"DetailWindow","toolbar=0,resizable=1,directories=0,status=1,scrollbars=1,menubar=0,width=760,height=400,top=20,left=30"); DetailWindow.window.focus()
		}


//====================================================================
//	General Functions
//====================================================================

//	[ start mOver / mOut ]
		function mOverRow(Item)
			{
			Item.style.backgroundColor="#E4DECD";
			Item.style.color="#3C3C3C";
			if (navigator.appName == "Microsoft Internet Explorer")
				{
				Item.style.cursor="hand";
				}
			else
				{
				Item.style.cursor="pointer";
				}
			}

		function mOutRow(Item)
			{
			Item.style.backgroundColor="";
			Item.style.color="#3C3C3C";
			}

		function mOverBol(Item)
			{
			Item.style.backgroundColor="#FFCC99";
			Item.style.color="#000080";
			if (navigator.appName == "Microsoft Internet Explorer")
				{
				Item.style.cursor="hand";
				}
			else
				{
				Item.style.cursor="pointer";
				}
			}

		function mOutBol(Item)
			{
			Item.style.backgroundColor="";
			Item.style.color="";
			return true;
			}

//	[ end mOver / mOut ]


//====================================================================
//	Misc Functions
//====================================================================
