<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

var win = "";
function fenster(Grafik,width,height,name,titel)
 	{
 		/*Dafür sorgen, dass immer nur ein Fenster geöffnet ist*/
		if (win != "")
 	{ 
 		/*Falls ein Fenster geöffnet ist, dieses erst schliessen*/
		win.close();
	}
   win=window.open("",name,"width="+width+",height="+(height+60)+",left=150,top=50"); 

   win.document.open("text/html");
   win.document.write("<BODY leftmargin='0' topmargin='0' marginheight='0' marginwidth='0'>");
   win.document.bgColor="#000000";
   		
		/*Stylesheets für das neue Fenster*/
   		win.document.write("<style type= text/css>" +
		"a{color:#317F3E; text-decoration:none; font-size:11px;font-family:Arial,sans-serif; }" +
		"a:link { color:#317F3E; text-decoration:none; font-size:11px;font-family:Arial,sans-serif; }" +
		"a:hover { color: #FED93C; text-decoration:none; font-size:11px;font-family:Arial,sans-serif; }" +
		"</style>");

   win.document.write("<TITLE>" +titel +"</title>");
   win.document.write("<div align=center><IMG src='"+Grafik+"'></div>");
   win.document.write("<div align=center>&nbsp;</div>");
   win.document.write("<div align=center><a class='link_standard' href='javascript:window.print()'>Seite drucken</a></div>");
   win.document.write("<div align=center><a class='link_standard' href='javascript:self.close()'>Fenster schlie&szlig;en</a></div>");
   win.document.close();
   win = "";
 }
 
 
var win = "";
function fenster_mit_scrollbalken(Grafik,width,height,name,titel)
 	{
 		/*Dafür sorgen, dass immer nur ein Fenster geöffnet ist*/
		if (win != "")
 	{ 
 		/*Falls ein Fenster geöffnet ist, dieses erst schliessen*/
		win.close();
	}
   win=window.open("",name,"width="+(width+60)+",height=510,left=150,top=50"); 

   win.document.open("text/html");
   win.document.write("<BODY leftmargin='0' topmargin='0' marginheight='0' marginwidth='0'>");
   win.document.bgColor="#000000";
   		
		/*Stylesheets für das neue Fenster*/
   		win.document.write("<style type= text/css>" +
		"a{color:#9F1B1B; text-decoration:underline; font-size:12px;font-family:Arial,sans-serif; }" +
		"a:link { color:#9F1B1B; text-decoration:underline; font-size:12px;font-family:Arial,sans-serif; }" +
		"a:hover { color: #ffffff; text-decoration:none; font-size:12px;font-family:Arial,sans-serif; }" +
		"</style>");
		
   win.document.linkColor="#317F3E";
   win.document.vlinkColor="#317F3E";
   win.document.write("<TITLE>" +titel +"</title>");
   win.document.write("<div style='position:absolute;z-index:1;text-align:center;background-color:#none;left:20px;top:20px;height:450px;overflow:auto;width:"+(width+20)+"px;'><IMG src='"+Grafik+"'></div>");
   win.document.write("<div align=center>&nbsp;</div>");
   win.document.write("<div style='position:absolute;z-index:1;background-color:#none;text-align:center;width:"+(width+60)+"px;top:480px;'><a class='link_standard' href='javascript:window.print()'>Seite drucken</a> | <a class='link_standard' href='javascript:self.close()'>Fenster schlie&szlig;en</a></div>");
   win.document.close();
   win = "";
 }

var Fenstername;
var Fenster;
function fenster_datei (datei,breite, hoehe,titel)
{
  if (Fenster){Fenster.close();}
  Fenstername = titel;
  Fenster=window.open(datei, titel, "height="+hoehe+", width="+breite+", resizable=no, scrollbars=yes, toolbar=no, location=no, status=no");	   
  Fenster.focus();
  return;
}

var Fenstername;
var Fenster;
function fenster_extern (datei,breite, hoehe,titel)
{
  if (Fenster){Fenster.close();}
  Fenstername = titel;
  Fenster=window.open(datei, titel, "top=20, left=10 height="+hoehe+", width="+breite+", resizable=yes, scrollbars=yes, toolbar=yes, location=no, status=no");	   
  Fenster.focus();
  return;
}

function layerzeigen(far_1,far_2)
{
		if (screen.width >= 1280)
		{
			document.getElementById(far_1).style.display = "none"
			document.getElementById(far_2).style.display = ""
		}
		else if (screen.width >= 1024)
		{ 
			document.getElementById(far_1).style.display = ""
			document.getElementById(far_2).style.display = "none"
		}
		else
		{
			document.getElementById(far_1).style.display = "none"
			document.getElementById(far_2).style.display = "none"
		}
}

