function addToFavorite ()
{
  var BookmarkURL="http://www.stallaert.be"  
  var BookmarkTitle="Stallaert"
 
  // If the browser is Internet Explorer
  if (document.all) 
  {
   // Add to Favorites (Internet Explorer)
   window.external.AddFavorite(BookmarkURL,BookmarkTitle)
  }
  else
  {
   // Add to Bookmarks (Mozilla Firefox)
   window.sidebar.addPanel(BookmarkTitle, BookmarkURL, ''); 
  }
}

function popupWindow(theURL,winName,features) 
{
  window.open(theURL,winName,features);
}

function ValidateContactNL(theForm) 
{
  var missing = ""
  if (theForm.naam.value == "")
    missing += "  * Naam\n"
  if (theForm.email.value == "")
    missing += "  * E-mail\n"
  if (theForm.tekst.value == "")
    missing += "  * Tekst\n"
  if (missing != "") 
  {
   alert("De volgende velden zijn verplicht:\n" + missing)
   return false
   }
   else
     return true
}

function ValidateContactFr(theForm) 
{
  var missing = ""
  if (theForm.naam.value == "")
    missing += "  * Nom\n"
  if (theForm.email.value == "")
    missing += "  * E-mail\n"
  if (theForm.tekst.value == "")
    missing += "  * Texte\n"
  if (missing != "") 
  {
   alert("De champs suivants sont vides:\n" + missing)
   return false
   }
   else
     return true
}