// byteMyCode.com
// ©1998-2006 BlueCrestStudios, LLC. All Rights Reserved.

// Occures when a form is submitted. Disables submit button, so no double post.
function DisableSubmit()
{
	// Declare variables
	var cItem = document.getElementById("fSubmit");
	
	// See if we have anything
	if (cItem)
	{
		cItem.disabled = true;
	}
	
	// 2
	cItem = document.getElementById("fSubmit2");
	
	// See if we have anything
	if (cItem)
	{
		cItem.disabled = true;
	}
}
