function CheckSearch(theform)
{
	if (theform.FlSuburb.value == "")
	{
		alert("Enter Suburb name where flowers are to be delivered, then press GO!.");
		theform.FlSuburb.focus();
		return (false);
	}
	if (theform.FlState.value == "")
	{
		alert("Enter State name where flowers are to be delivered, then press GO!.");
		theform.FlState.focus();
		return (false);
	}
	}
function createCookie(name,value,days)
{
	if (days)
	{
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name)
{
	var nameEQ = 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(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name)
{
	createCookie(name,"",-1);
}


function rollUp(obj)
{
	obj.style.display = "none";
}

function rollDown(obj)
{
	obj.style.display = "block";
}
function rollUpBread(obj,bread)
{
	if (bread != 1) {
	obj.style.display = "none";
	} else if (bread != 0) {
	obj.style.display = "block";
	}
}
function OpenDeveloper(MenuID) {
	url = "/shop/asp/MainToolTips.asp?ID=LongDescription&URL=<%=theSRV%>&MenuID=" + MenuID
	window.open(url, "_blank", 'width=800,height=600,scrollbars=yes');
}
function OpenMeta(MenuID) {
	url = "/shop/asp/MainToolTips.asp?ID=Meta&URL=<%=theSRV%>&MenuID=" + MenuID
	window.open(url, "_blank", 'width=800,height=600,scrollbars=yes');
}
function MM_openBrWindow(theURL,winName,features,stringvars) { //v2.0
  window.open(theURL + stringvars,winName,features);
}
