function setBookmark()
{
  var brty = navigator.appName;
  var brve = navigator.appVersion;
  var url=parent.document.location.href; 
  var titel = document.title; 
  if (brty.indexOf("Explorer")>-1)
  {
    window.external.AddFavorite(url, unescape(titel));
  }
  else
  {
    alert(unescape("Diese Funktion steht nur f%FCr Internet Explorer zur Verf%FCgung"));
  }
}

function wota_berechnen(year, month, day) {
var date = new Date( eval( "month+'/'+day+'/'+year"));

var tage = new Array("Sonntags", "Montags", "Dienstags", "Mittwochs", "Donnerstags", "Freitags", "Samstags", "Sonntags");

document.write(tage[date.getDay()]);
}

function submitSearch(e)
{
  document.location.href='Suche.aspx?searchvalue='+escape(document.getElementById('searchvalue').value);
 return false;
}
function sendSearchReturn(evt)
{
      var keyCode = null;
      if( evt.which )
      keyCode = evt.which;
      else if( evt.keyCode )
      keyCode = evt.keyCode;


      if( 13 == keyCode ) {
      submitSearch();
      return false;
      }
      return true;
}


/* ::: - - - - - initShadowbox  Function - - - - - ::: */
function initShadowbox() {
  var options = {
    overlayOpacity: '0.9',
    slideshowDelay: 5
  };
  Shadowbox.init(options);
}



/* ::: - - - - - Function - - - - - ::: */
$(function(){
  initShadowbox();
});