function DoSubmitCheck(formElem)
{
	if (formElem.DoSubmit.value != "false")
	{
		// cancel the form submit
		return false;
	}
	else
	{
		// proceed with the form submit
		return true;
	}
}
function Redirect(location)
{
	formElem = document.getElementById("frmDefault");
	if (typeof(formElem.DoSubmit) != 'undefined')
	{
		// dirty flag that causes the DoSubmitCheck function below
		// to return false, canceling the form submit and redirecting
		// to our desired location with the new ticker
		formElem.DoSubmit.value = "true";
	}
	window.parent.location = location;
}