﻿// JScript File for PLP site

function onDeleteConfirm(TheItemName)
	{
	return (confirm("Are you sure you want to delete this record?"));
	}

function OnForgotPassword()
	{
	document.FormDefault.FormAction.value = "ForgotPassword";
	document.FormDefault.submit();
	}

function OnFormSearchExecute()
	{
	document.FormDefault.action = document.FormDefault.FormFieldRelativeRoot.value + "Search/Default.aspx";
	document.FormDefault.submit();
	}

function OnCheckSearch(TheEvent)
	{
	if (TheEvent.keyCode == 13)
		{
		OnFormSearchExecute();
		}
	}
	
