// byteMyCode.com
// ©1998-2006  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;
	}
}
