﻿// Call this method before submitting a form
// Then check for its value before accepting the form. 
function formAddCheckValue(frm)
{
	o = document.createElement('input');
	o.name = 'hdSubmit';
	o.type = 'hidden';
	o.value = 1; // set in the form.
	frm.appendChild(o);

	return true;
}