function MM_goToURL() { //v3.0
	  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
	  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
	}

	<!--
function confirmFormmain() {
    if (confirm("Are you sure you want to remove this menu item from the database?\nThis will delete all submenus that are beneath it as well."))
    {
      return true;
    }
    else
      alert("Operation Canceled.")
      return false;
    }
  //-->
  function confirmForm() {
    if (confirm("Are you sure you want to remove this submenu item from the database?"))
    {
      return true;
    }
    else
      alert("Operation Canceled.")
      return false;
    }
  //-->
 <!--
function validateform() {
	var invalid = " "; // Invalid character is a space
	var minLength = 6; // Minimum length
	var newuser = document.form1.fusername.value;
	var pw1 = document.form1.fnewpwd.value;
	var pw2 = document.form1.fconfirmpwd.value;
	// check for a value in both fields.
	if (newuser == '') {
	alert('Username cannot be blank.');
	return false;
	}
	if (pw1 == '' || pw2 == '') {
	alert('Please enter your password twice.');
	return false;
	}
	// check for minimum length
	if (document.form1.fusername.value.length < minLength) {
	alert('Your username must be at least ' + minLength + ' characters long. Try again.');
	return false;
	}
	if (document.form1.fnewpwd.value.length < minLength) {
	alert('Your password must be at least ' + minLength + ' characters long. Try again.');
	return false;
	}
	// check for spaces
	if (document.form1.fusername.value.indexOf(invalid) > -1) {
	alert("Sorry, spaces are not allowed in the username.");
	return false;
	}
	if (document.form1.fnewpwd.value.indexOf(invalid) > -1) {
	alert("Sorry, spaces are not allowed in the password.");
	return false;
	}
	else {
	if (pw1 != pw2) {
	alert ("You did not enter the same new password twice. Please re-enter your password.");
	return false;
	}
	else {
	return true;
		  }
	   }
	}
	<!--
	function MM_popupMsg(msg) { //v1.0
	  alert(msg);
	}
	//-->
