﻿//postElsewhere reformats ASP.NET control names and posts the data to another page
function postElsewhere(sNewFormAction) {
	if (document.layers) //The browser is Netscape 4
	{
		document.layers['Content'].document.forms[0].__VIEWSTATE.value = '';
		document.layers['Content'].document.forms[0].action = sNewFormAction;
	}
	else //It is some other browser that understands the DOM
	{
		document.forms[0].action = sNewFormAction;
		document.forms[0].__VIEWSTATE.value = '';
	}
}

