function showbubble()
{
	if (document.getElementById('infobubble').style)
		document.getElementById('infobubble').style.visibility = 'visible';
}

function hidebubble()
{
	if (document.getElementById('infobubble').style)
		document.getElementById('infobubble').style.visibility = 'hidden';	
}

expDays = 30;
function SetCookie(sName, sValue)
{
	var expdate = new Date();
	expdate.setTime(expdate.getTime() + expDays*24*60*60*1000);
	document.cookie = sName + "=" + escape(sValue) + "; expires=" + expdate.toGMTString() + ";";
}

function GetCookie(Name)
{
	var search = Name + "="; 
	if (document.cookie.length > 0)
	{
		offset = document.cookie.indexOf(search);
		if (offset != -1)
		{
			offset += search.length;
			end = document.cookie.indexOf(";", offset);
			if (end == -1) end = document.cookie.length;
				return unescape(document.cookie.substring(offset, end));
		} else { return false;}
	} else { return false;}
}

nw = "";
function popupopener(htmlfile)
{
	nw = window.open("html/"+htmlfile+".html", null, "height=240,width=450,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes");
	nw.focus();
}
