<!--
function popTerms()
{
	window.open('popup/terms.htm',null,'top=10,left=10,width=300,height=300,scrollbars');
}

// postcode popup finder functions.
// if these functions are changed then the admin functions will also have
// to be changed and the functions on the order 2 sites.

function addresswin(numberField,streetField,townField,countyField,pcField,countryField)
{
	var address = "Popup/AddressLookup.aspx?number="+numberField+"&street="+streetField+"&town="+townField+"&county="+countyField+"&postcode="+pcField+"&country="+countryField;
	window.open(address,"addresslookup","height=300,width=300,status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes");
}
function putaddress(inputBox,boxValue)
{
	var textBox = window.opener.document.getElementById(inputBox);
	textBox.value = boxValue;
}
function doBookmark()
{
	//Detect IE5+
	version=0
	if (navigator.appVersion.indexOf("MSIE")!=-1)
	{
		temp=navigator.appVersion.split("MSIE")
		version=parseFloat(temp[1])
	}

	if (version>=5) //NON IE browser will return 0
	{
		document.write('<a href="javascript:window.external.AddFavorite(location.href,document.title);"><img src="Images/sinkshop-favourites.gif"></a><br/><br/>');
	}
}
//-->