/// <summary>
/// Initializes the next button to have focus.
/// </summary>
function nextInit()
{
	if (document.getElementById)
	{
		if (document.getElementById("next"))
		{
			//document.getElementById("next").focus();
		}
	}
}
				
/// <summary>
/// Adds a routine to the onload event.
/// </summary>
function addEvent(obj, evType, fn){
 if (obj.addEventListener){
    obj.addEventListener(evType, fn, true);
    return true;
 } else if (obj.attachEvent){
    var r = obj.attachEvent("on"+evType, fn);
    return r;
 } else {
    return false;
 }
}  

/// <summary>
/// THIS CODE KEEPS ERROR MESSAGES FROM POPPING UP
/// </summary>
function supressError() {
	return true
}
window.onerror = supressError