function addBookmark()
	{
		bookmarkurl=self.location.href;
		bookmarktitle=document.title;
		if (document.all) {
			window.external.AddFavorite(bookmarkurl,bookmarktitle)
		} else alert("STRG + D drücken");
	}
	
function popup(loc, width, height, scroll)
{
  if(width != null && height != null && scroll != null)
  {  
    p = window.open(loc,'stdpopup','toolbar=no,width='+width+',height='+height+',screenX=25,screenY=25,left=25,top=25,scrollbars='+scroll+',resizable=yes,status=no,menubar=no,directories=no,location=no,dependent=no');
    p.focus();
  }
}


function htmlPopup(imageloc, width, height, scroll)
{
  if(width != null && height != null && scroll != null)
  {  
  HTML = "<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n<html><head><meta http-equiv='content-type' content='text/html; charset=ISO-8859-1'><style>body, html{margin:0;padding:0;background-color:#FFFFFF;}</style></head><body><img src='"+ imageloc +"'/><br/></body></html>";
  popupImage = window.open("",'stdhtmlpopup','width='+width+',height='+height+',screenX=25,screenY=25,left=25,top=25,toolbar=no,scrollbars='+scroll+',resizable=yes,status=no,menubar=no,directories=no,location=no,dependent=no');
  popupImage.document.open();
  popupImage.document.write(HTML);
  popupImage.document.close();
  }
}

  
function MM_findObj(n, d) { //v4.01
		var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
			d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
		if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
		for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
		if(!x && d.getElementById) x=d.getElementById(n); return x;
	}
function DisplayLayer(l) {
		obj = MM_findObj(l);
		if(obj.style.display == 'none') obj.style.display = 'block';
		else obj.style.display = 'none';
	}



