function fSE(sA)
{
	var s1 = String.fromCharCode(69,45,109,97,105,108,58,32,60,97,32,104,114,101,102,61);
	var s2 = String.fromCharCode(109,97,105,108,116,111,58);
	var s3 = String.fromCharCode(64,73,99,104,116,104,117,115,72,111,117,115,101,46,105,99,111,109,52,51,46,110,101,116);
	document.write(s1 + s2 + sA + s3 + ">" + sA + s3 + "</a>");
}

function fIFhover(sID)
{
	eval("document."  +  sID  +  ".style.borderColor='#ffa07a'");
}

function fIFout(sID)
{
	eval("document."  +  sID  +  ".style.borderColor='#faf0e6'");
}

function fShowBig(sImage)
{
	var oImgWindow = window.open("", "_bigImage", "width=" + (window.screen.availWidth-12) + ",height=" + (window.screen.availHeight-60) + ",screenX=0,left=0,screenY=0,top=0,resizable,scrollbars,toolbar");
	var oD = oImgWindow.document;
	var sURL = unescape(eval("document.images." + sImage + ".src"));
	var sFile = sURL.split("/")[sURL.split("/").length - 1];
	var sBigImg = "../images/"  +  sFile.split(".")[0]  +  ", big."  +  sFile.split(".")[1];
	var sAlt = unescape(eval("document.images."  +  sImage  +  ".alt"));
	var sTitle = sAlt.split(" - ")[0]  +  " - Large view";
	var sH1 = "<html><head><title>";
	var sH2 = "</title><link rel=\"stylesheet\" type=\"text/css\" href=\"../scripts/ichthus.css\"></head><body class=BigWindow onBlur=\"this.close()\"><table width=100% height=100% border=0 cellspacing=0 cellpadding=0><tr><td><table align=center class=pictureFrameOutB cellspacing=0 cellpadding=0 border=0><tr><td><div class=pictureFrameInB><img class=pictureFrameB border=5 src=\"";
	var sH3 = "\" alt=\"";
	var sH4 = "\" title=\"";
	var sH5 = "\"></div></td></tr></table></td></tr><tr><td align=center><button onClick=\"window.close();\">Close Window</button><br>&nbsp;</td></tr></table></body></html>";
	oD.open();
	oD.write(sH1  +  sTitle  +  sH2  +  sBigImg  +  sH3  +  sTitle  +  sH4  +  sTitle  +  sH5);
	oD.close();
}

function fSendBB()
{
	var bIsError = false;
	if ((document.bbForm.Title.value == "") || (document.bbForm.Title.value == "Mr/Mrs/Miss..."))
	{
		bIsError = true;
		document.bbForm.Title.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Forenames.value == "")
	{
		bIsError = true;
		document.bbForm.Forenames.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Surname.value == "")
	{
		bIsError = true;
		document.bbForm.Surname.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.House_Name.value == "")
	{
		bIsError = true;
		document.bbForm.House_Name.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Street.value == "")
	{
		bIsError = true;
		document.bbForm.Street.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Town.value == "")
	{
		bIsError = true;
		document.bbForm.Town.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.PostCode.value == "")
	{
		bIsError = true;
		document.bbForm.PostCode.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Country.value == "")
	{
		bIsError = true;
		document.bbForm.Country.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Email_Address.value == "")
	{
		bIsError = true;
		document.bbForm.Email_Address.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Arrival_Date.value == "")
	{
		bIsError = true;
		document.bbForm.Arrival_Date.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Length_of_Stay.selectedIndex == 0)
	{
		bIsError = true;
		document.bbForm.Length_of_Stay.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Type_of_Room.selectedIndex == 0)
	{
		bIsError = true;
		document.bbForm.Type_of_Room.style.backgroundColor = "#ffb6c1";
	}
	if (document.bbForm.Number_of_People.value == "")
	{
		bIsError = true;
		document.bbForm.Number_of_People.style.backgroundColor = "#ffb6c1";
	}
	if (!bIsError)
	{
		document.bbForm.SendButton.disabled = true;
		return true;
	}
	else
	{
		alert("Please complete all the red boxes");
		return false;
	}
}

function fJmp()
{
	window.location="http://www.IchthusHouse.icom43.net/";
}