<!--

//  This will show in the status when not hovering over a link
  var defaultStatus = "Sunshine Station Child Development Center, Inc." ;
  writeStatus(defaultStatus) ;

  
//  Pass in the id in which you want to switch the class
  function turnOn(who) {
    document.getElementById(who).className = "menuItemOn" ;
  }

  
//  Pass in the id in which you want to switch the class
  function turnOff(who) {
    document.getElementById(who).className = "menuItemOff" ;
  }

  
//  Pass in the text that you want to show in the browser's status.
  function writeStatus(txt) {
    window.status = txt ;
  }


//  Pass in the record ID that you want to delete.
  function deleteRecord(who) {
    if(confirm("ARE YOU SURE YOU WANT TO DELETE THIS RECORD?")){
      document.forms[0].action = document.forms[0].action+"?process=delete&id="+who ;
      document.forms[0].submit() ; }
    else {
      return false ;
    }
  }
    

//  Pass in the record ID that you want to edit.
  function editRecord(who) {
    if(confirm("Are you sure you want to EDIT this record?")){
      document.forms[0].action = document.forms[0].action+"?process=edit&id="+who ;
      document.forms[0].submit() ; }
    else {
      return false ;
    }
  }

  
  function addRecord() {
    if(confirm("Are you sure you want to ADD this record?")){
      document.forms[0].action = document.forms[0].action+"?process=add";
      document.forms[0].submit() ; }
    else {
      return false ;
    }
  }
  

  function addNewMealSelection(which) {
    if(confirm("Are you sure you want to ADD this record?")){
      document.forms[0].action = document.forms[0].action+"?process=add&table="+which;
      document.forms[0].submit() ; }
    else {
      return false ;
    }
  }


  function editMealSelection(which) {
    if(confirm("Are you sure you want to EDIT this record?")){
      document.forms[0].action = document.forms[0].action+"?process=edit&table="+which;
      document.forms[0].submit() ; }
    else {
      return false ;
    }
  }

  
  function deleteMealSelection(which) {
    if(confirm("ARE YOU SURE YOU WANT TO DELETE THIS RECORD?")){
      document.forms[0].action = document.forms[0].action+"?process=delete&table="+which;
      document.forms[0].submit() ; }
    else {
      return false ;
    }
  }


  function addBookmark() {
    bookmarkurl="http://www.SunShineStation.com"
    bookmarktitle="Sunshine Station Child Development Center"
    if (document.all)
    window.external.AddFavorite(bookmarkurl,bookmarktitle)
  }
//-->
