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 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 printPage(PageId)
{
     var location = document.location.href;
      window.open("/module/print/Print.aspx?url=" +location +"&pageid=" +PageId, "Drucken","width=775,height=750,scrollbars=yes");

}


function openBrWindow(theURL) {
 // window.open(theURL,'BildZoom','width=400,height=501');
var winName  = 'BildZoom' 
winName = window.open(theURL,winName,'width=400,height=501');
if(winName == null || winName.closed){window.open(theURL,winName,features);}  
else{winName.location.href = theURL;}  
if (!winName.closed) 
winName.focus();
}