// set bookmark
function addBookmark(){
 bookmarkurl=self.location.href;
 bookmarktitle=document.title;
 if (document.all) {
  window.external.AddFavorite(bookmarkurl,bookmarktitle)
 } else alert("STRG + D drücken"); 
}	

// preloader
 function BR_preloaded_overbutt(){
  var Anzahl = document.images.length;
  var reg = /^butt_/;
  preLoadImages = new Array;
  for (i=0;i<Anzahl;i++) {
   if (document.images[i].name && document.images[i].name != "") {
    if (reg.exec(document.images[i].name)){
     Bildname = document.images[i].name;
     preLoadImages[i] = new Image();
     preLoadImages[i].src = butt_path + Bildname + "_over.gif";
   }}
  }
 }
 
// button enter 
 function BR_over(butt_name){
  document.images[butt_name].src = butt_path+butt_name+"_over.gif"; 
 }

// button leave 
 function BR_leave(butt_name){
  document.images[butt_name].src = butt_path+butt_name+".gif"; 
 }
 
// set bookmark
	function addBookmark()
	{
		bookmarkurl=self.location.href;
		bookmarktitle=document.title;
		if (document.all) {
			window.external.AddFavorite(bookmarkurl,bookmarktitle)
		} else alert("STRG + D drücken"); 
	}	
 function moz_height(){
 if(window.innerHeight){
  document.images['hoehe_moz'].height = window.innerHeight;
 }
}
