
//array to hold reset functions
onLoadFunctions = new Array();

//function to add functions to be run to reset the ajax state
function addOnLoadFunction(funct) 
{
	onLoadFunctions.push(funct);
}
function doOnLoadFunctions() 
{
	for(var ii = 0; ii < onLoadFunctions.length; ii++)
	{   onLoadFunctions[ii]();
	}
}
