﻿//-----------------------------------------------------------------------------------
//	Module:		ClientSideValidation.js
//	Purpose:	Provides validation and confirmation of client actions
//	History:
//		070906 JLB	Created file
//-----------------------------------------------------------------------------------

/*---------------------------------------------------------------------------------
	Function:		ValidateRemove
	Purpose:		Generic Dialog confirmation window
	---------------------------------------------------------------------------------*/

function ValidateRemove()
{
	strMessage = ""
	strMessage+= "You are about to permently remove this item from the system.\n\n";
	strMessage+= "Please click OK if this is your intention.\n\n";
	return confirm(strMessage);
} //ValidateRemove

/*---------------------------------------------------------------------------------
	Function:		ValidateClear
	Purpose:		Clear Audit log Dialog confirmation window
	---------------------------------------------------------------------------------*/

function ValidateClear()
{
	strMessage = ""
	strMessage+= "You are about to clear all items in the audit log.\n\n";
	strMessage+= "Please click OK if this is your intention.\n\n";
	return confirm(strMessage);
} //ValidateClear

