mouseCheck = false;
highlightColour = "#FFFFFF";
timerSet = false;
postvar = "";

function sendmail(pName, pFrom, pBody)
{
	//alert("howdy");
	//alert(pFrom);
	//postvar = "/scripts/mailto.asp?from="+pFrom+"&body="+pBody;	
	    //window.open("mailform.asp","SendMail","dependent=true,height=300,width=400,resizable=false,scrollbars=false");
	//window.open("mailform.asp?from="+pFrom+"&body="+pBody,"SendMail","dependent=true,height=400,width=400,scrollbars=false");
	  //window.open("www.google.com");	  
	  window.open("mailform.asp?from="+ pFrom +"&body="+ pBody +"&name="+ pName+"","SendMail","dependent=true,height=400,width=400,scrollbars=false");
}

function alignStuff()
{
	//mnuLayer.style.left = productsImage.style.left;
	//mnuLayer.style.left = mnuLayer.style.left + productsImage.style.left;
	//alert(productsImage.style.left);
	//homeText.style.left = productsImage.style.left + 100;
	mnuLayer.style.left = daTable.offsetLeft + 200;
	mnuLayer.style.top = daTable.offsetTop + 228;
	
	
	//alert(newsButton.style.left);
}


function displayMenu()
{
	mnuLayer.style.left = daTable.offsetLeft + 25;
	mnuLayer.style.visibility = "visible";
	mouseCheck = true;
	
}

function hideMenu()
{
	mnuLayer.style.visibility = "hidden";	
	mnuLayer.style.left = daTable.offsetLeft + 200;
	mouseCheck = false;
}

function checkDestroy()
{
	mouseCheck = false;	
	timer = window.setTimeout("destroyMenu()",1000);
	timerSet = true;
}

function destroyMenu()
{
	if (mouseCheck == false)
	{
		hideMenu();
		productsImage.src="images/productsbut01.gif";
		if (timerSet == true)
		{
			window.clearTimeout(timer);
			timerSet = false;
		}
	}
}

function destroyMenu2()
{
	hideMenu();
}



