function DeleteWarrentyRecord(lngWarrantyID)
{
	if(confirm("Are you sure you want to delete the selected warranty?"))
	{
		location="PLPageBuilder.asp?gotonode=MyProducts&amp;method=mDeleteWarrenty&amp;warrentyid="+lngWarrantyID;
	}
}
function updateModelProductNumber(chosenField,updateField)
{
	updateField.value=chosenField.value;
}

function showpleasewait() {
	document.getElementById("winPleaseWait").style.visibility = "visible";
}

function hidepleasewait() {
	document.getElementById("winPleaseWait").style.visibility = "hidden";
}

function CheckPricePaid(EnteredValue)
{
	if (EnteredValue > 750)
	{
		if (confirm ("Please note the the price of this warranty is over £750. Continue?"))
		{
			showpleasewait();
			return true;
		}
		else
		{
			hidepleasewait();
			return false;
		}
	}
	else
	{
		showpleasewait();
		return true;
	}
}
function popup(url)
{
	Window1 = window.open("popupimage.htm?" + url, "", "resizable=1, width=200, height=200"); 
}