function getHelpPage()
{
	var msg=open("/InfoPage.php", 'HelpPage', "status=no,toolbar=no,directories=no,scrollbars=yes,menubar=no,location=no,resizable=yes,width=700,height=500");
}
function getEmailHelpPage()
{
	var msg=open("/EmailInfoPage.php", 'HelpPage', "status=no,toolbar=no,directories=no,scrollbars=yes,menubar=no,location=no,resizable=yes,width=700,height=500");
}
function sendToFriend()
{
	var url = window.location.href;
	var firstSlash;
	var w;
	//First strip the http:// or https://
	if(url.slice(0,7) == "http://")
	{
		url = url.slice(7);
	}
	else
	{
		if(url.slice(0,8) == "https://")
		{
			url = url.slice(8);
		}
	}
	//Now strip the domain
	firstSlash = url.indexOf("/");
	if(firstSlash === false)
	{
		url = "";
	}
	else
	{
		url = url.slice(firstSlash);
		//Add the search string

	}
	
	//w = window.open();
	//w.width = 600;
	//w.height = 400;
	//w.location.href = "/sendtofriend.php?link=" + url;//Open the form page
	 var msg=open("/EmailPage.php?link=" + escape(url), 'emailtofriend', "status=no,toolbar=no,directories=no,scrollbars=no,menubar=no,location=no,resizable=yes,width=600,height=400");
}