function setBookmark()
{
  var brty = navigator.appName;
  var brve = navigator.appVersion;
  var url=document.location.href; 
  var titel = document.title; 
  if (brty.indexOf("Explorer")>-1)
  {
    // add this page to favorites for IE4+
    //window.external.AddFavorite(document.location.href, document.title);
    window.external.AddFavorite(url,titel);
  }
  else
  {
    //alert("Diese Funktion steht nur f?r Internet Explorer zur Verf?gung");
    alert(unescape("Diese Funktion steht nur f%FCr Internet Explorer zur Verf%FCgung"));
  }
}

function Top()
{
 document.location.href="#Top";
}

function winOpen(theURL,winName,features) 
{ 
winName = window.open(theURL,winName,features); 
if(winName == null || winName.closed){window.open(theURL,winName,features);} 
else{winName.location.href = theURL;} 
if (!winName.closed) 
winName.focus(); 
}


function isEventCodeEnter( evt, frm)
{
  var keyCode = null;
  if( evt.which ) 
    keyCode = evt.which;
  else if( evt.keyCode ) 
    keyCode = evt.keyCode;

  if( 13 == keyCode )
    return true;
  else
    return false;

}

function onEnterSeach( evt, frm) 
{
    if(isEventCodeEnter( evt, frm))
    {
      fulltextsearch();
      return false;
    }
   return true;
}

function fulltextsearch()
{
  document.location.href="/Suche.aspx?searchvalue=" + document.getElementById("searchvalue").value; 
}



