function formSubmitURL(url){
			document.formEdit.action = url;
			document.formEdit.submit();
			return false;
		}

function formSubmit(num){
	document.forms[num].submit(); //Needed this way to grab correct form
				      //formname didn't work, formname null or not object
	return false;
}

function goThere(url){
	location.href = url;
}

			
function CloseWindow() {
    window.parent.close();
}

function CloseWindow1() {
    window.close();
}

function openPop(url)
{
	window.open(url, '', 'width=640,height=480,resizable=yes,scrollbars=yes,menubar=no,status=yes,location=yes');
}


function rollLinkLong(sObjID)
{
	obj = document.getElementById(sObjID);
	if (obj.className == "linkOffLong") 
	{
		obj.className = "linkOnLong";
	} 
	else 
	{
		obj.className = "linkOffLong";
	}
}

// rollMenu
// Used to change the style class of the toolbar buttons on a rollover event

function rollButton(sObjID)
{
	obj = document.getElementById(sObjID);
	if (obj.className == "buttonOff") 
	{
		obj.className = "buttonOn";
	} 
	else 
	{
		obj.className = "buttonOff";
	}
}

// toggleMessage
// Used to show/hide a message that is hidden
function toggleMessage(sObjID,sBtnId)
{
	objDiv = document.getElementById(sObjID);
	objBtn = document.getElementById(sBtnId);
	
	if (objDiv.className == "msgOff") 
	{
		objDiv.className = "msgOn";
		objBtn.className = "buttonOn";
	} 
	else 
	{
		objDiv.className = "msgOff";
		objBtn.className = "buttonOff";
	}
}

// navigateToURL used in frame pages
// Navigates the frame named "main" to the given URL.  Can be modified to access any frame
// in a frameset.

function navigateToURL(sURL) 
{
	window.location = sURL;	
}



