﻿//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// status.: Vers0.7 | creat.: 29.10.2004 | modif.: 29.10.2004
// current owner: mm/o.klar
// description: Globale Funktionen
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

// Layer Functions
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 MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

// globale Browser/OS Variablen
_DOM=false; _All=false; _NS4=false; _NS6=false; _NS7=false; _OP=false; _IE4=false; _IE5=false; _IE6=false; _OtherBrowser=false; _Mac=false; _Win=false; _OS2=false;_FFox=false;

// setzt Browser/OS Variablen
function BrowserCheck(){
  var navAgent=navigator.userAgent.toLowerCase();
  var appVer=navigator.appVersion.toLowerCase();
  var versMinor=parseFloat(appVer);
  var versMajor=parseInt(versMinor);
 // _Mac=(navAgent.indexOf("mac")!=-1);
  _Win=((navAgent.indexOf("win")!=-1)||(navAgent.indexOf("16bit")!=-1));
  //_OS2=(navigator.platform=="OS/2")?true:false;
  _All=(document.all)?true:false;
  _DOM=(document.getElementById)?true:false;
  _OP=(window.opera)?true:false;
  var iePos=appVer.indexOf('msie');
  if (iePos!=-1){
     versMinor=parseFloat(appVer.substring(iePos+5,appVer.indexOf(';',iePos)));
     versMajor=parseInt(versMinor);}
  nav6Pos=navAgent.indexOf('netscape/5');
  nav7Pos=navAgent.indexOf('netscape/7');
  if (nav6Pos!=-1){
     versMinor=parseFloat(navAgent.substring(nav6Pos+10));
     versMajor=parseInt(versMinor); }
  var netsc=((navAgent.indexOf('mozilla')!=-1) && (navAgent.indexOf('spoofer')==-1) && (navAgent.indexOf('compatible') == -1)
            && (navAgent.indexOf('opera')==-1) && (navAgent.indexOf('webtv')==-1));
  _NS4=(document.layers)?true:false;
  _NS6=(netsc&&versMajor==6);
  _NS7=(netsc);
  var msie=(iePos!=-1);
  _IE4=(msie&&versMajor==4);
  _IE5=(msie&&versMajor==5);
  _IE6=(msie&&versMajor==6);
  _OtherBrowser=(!_NS4&&!_NS6&&!_OP&&!_IE4&&!_IE5&&!_IE6);
}

BrowserCheck();

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++  Funktion gibt linke Position eines beliebigen Objektes zurück
//++  current owner: mm/o.klar
//++  Parameter:
//++   - suchElement = Welches Objekt soll abgefragt werden
//++  Aufruf z.B.:
//++  var nXPosition = POS_linkesElement(ElementReferenz);
//++  var nYPosition = POS_oberesElement(ElementReferenz);
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function POS_linkesElement(suchElement)
{
   if (!suchElement && this)                    // wenn Argument ungültig
   {
      suchElement = this;                       // und Funktion ist eine Methode
   }                                         // identifiziere das Element der Methode
   var IE_Werte = document.all ? true : false;// Initialisiere IE Variable
   //var Moz_Werte=(netsc&&versMajor==6);
   var linkePos = suchElement.offsetLeft;       // Initialisiere Var zum speichern der Berechnung
   var teilElement = suchElement.offsetParent;  // Initialisiere erste Abweichung des Elements
   while (teilElement != null)
   {                                         // geht die Elementhierarchie durch
      if(IE_Werte)
      {
         if( (teilElement.tagName != "TABLE") && (teilElement.tagName != "BODY") )
         {                                   // Wenn Elternelement nicht Tabelle oder TD ist...
            linkePos += teilElement.clientLeft; // fügt Tabellenrand zur Berechnung hinzu
         }
      }
      else
      {
         if(teilElement.tagName == "TABLE")
         {
            var nParBorder = parseInt(teilElement.border);
            if(isNaN(nParBorder))
            {                                // Checke FRAME Attribut der Tabelle
               var nParFrame = teilElement.getAttribute('frame');
               if(nParFrame != null)
               {
                  linkePos += 1;
               }
            }
            else if(nParBorder > 0)
            {
               linkePos += nParBorder;
            }
         }
      }
      linkePos += teilElement.offsetLeft;
      teilElement = teilElement.offsetParent;
   }
   return linkePos;
}

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++  Funktion gibt obere Position eines beliebigen Objektes zurück
//++  current owner: mm/o.klar
//++  Parameter:
//++   - suchElement = Welches Objekt soll abgefragt werden
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function POS_oberesElement(suchElement)
{
   if (!suchElement && this)
   {
      suchElement = this;
   }
   var IE_Werte = document.all ? true : false;
   //var Moz_Werte=(netsc&&versMajor==6);
   var nTopPos = suchElement.offsetTop;
   var teilElement = suchElement.offsetParent;
   while (teilElement != null)
   {
      if(IE_Werte)
      {
         if( (teilElement.tagName != "TABLE") && (teilElement.tagName != "BODY") )
         {
            nTopPos += teilElement.clientTop;
         }
      }
      else
      {
         if(teilElement.tagName == "TABLE")
         {
            var nParBorder = parseInt(teilElement.border);
            if(isNaN(nParBorder))
            {
               var nParFrame = teilElement.getAttribute('frame');
               if(nParFrame != null)
               {
                  nTopPos += 1;
               }
            }
            else if(nParBorder > 0)
            {
               nTopPos += nParBorder;
            }
         }
      }
      nTopPos += teilElement.offsetTop;
      teilElement = teilElement.offsetParent;
   }
   return nTopPos;
}

function me_plaziere(){
	y = (document.layers) ? ".top" : ".style.top";
	yoff = (navigator.appName.indexOf('Netscape') != -1) ? this.pageYOffset : document.body.scrollTop;
	yhoehe = (navigator.appName.indexOf('Netscape') != -1) ? window.innerHeight : document.body.offsetHeight;
	yoff=yoff+274;

	//if(dhalt<=yjmp && yoff>yjmp) me_schliessen();
	if(dhalt!=yjmp && yoff<yjmp){
		eval("me_menobj2"+y+"="+ystart);
		dhalt=ystart;
		me_oeffnen();
		me_offen=0;
	}

	if(dhalt!=yoff && yoff>yjmp){
		ymove=Math.ceil(dhalt+(yoff-dhalt)/10);
		eval("me_menobj1"+y+"="+ymove);
		eval("me_menobj2"+y+"="+ymove);
		dhalt=ymove;
	}
}
/*--------------------------------------------------------------------------
@method {
@name		popupbild(N)
@description	open new window
@comment
@input		N : url
@output
@bug
@dependency
@modification{
	@date		08.10.2004
	@author	kaeller; mediaman GmbH
	@Version	1.0
	@description
	@comment
 }
}
-----------------------------------------------------------------------------*/
function popupbild(N)
{
	w =eval('open("'+N+'","Popup1","height=600,width=410,menubar=no,location=no,resizable=yes,status=no,toolbar=no,scrollbars=yes")');
	w.focus();
}
//verwendet für popups 'standorte':
function popupbild2(N)
{
	w =eval('open("'+N+'","Popup1","height=550,width=470,menubar=no,location=no,resizable=yes,status=no,toolbar=no,scrollbars=yes")');
	w.focus();
}
/*--------------------------------------------------------------------------
@method {
@name		contentpopup_01(N)
@description	open new window
@comment	width=800,height=600; different window naming
@input		N : url
@output
@bug
@dependency
@modification{
	@date		08.10.2004
	@author	kaeller; mediaman GmbH
	@Version	1.0
	@description
	@comment
 }
}
-----------------------------------------------------------------------------*/
function contentpopup_01(N)
{
	intZufall = Math.ceil(Math.random() * 1000) % 10000 + 1;
	strPopname = "Popup"+intZufall;
	w =eval('open("'+N+'","'+strPopname+'","height=600,width=800,menubar=no,location=no,resizable=no,status=no,toolbar=no,scrollbars=yes")');
	w.focus();
}
/*--------------------------------------------------------------------------
@method {
@name		bildergallerie(N)
@description	open new window
@comment
@input		N : url
@output
@bug
@dependency
@modification{
	@date		08.10.2004
	@author	kaeller; mediaman GmbH
	@Version	1.0
	@description
	@comment
 }
}
-----------------------------------------------------------------------------*/
function bildergallerie(N)
{
	w =eval('open("'+N+'","Gallerie","height=600,width=600,menubar=no,location=no,resizable=no,status=no,toolbar=no,scrollbars=yes")');
	w.focus();
}

// Liefert Übergabestring ohne Vipurl-Funktion zurück
function snip_vipurl(xcon)
{
	spos=xcon.lastIndexOf("/*VIPURL*/");
	if (spos>0)
	{
		xcon=xcon.substring(spos+10,xcon.length);
	}
	else if (spos==-1)
	{
		san="'";
		xcon=san.concat(xcon);
		xcon=xcon.concat(san);
	}
	//alert(xcon);
	return xcon;
}

function RemoteStart(wohin,w,h)
{
	wohin=snip_vipurl(wohin);
	wohin = eval("" + wohin + "");
	Remote = window.open(wohin,'TheRemote','toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width='+w+',height='+h);
//Remote.moveTo(20,20);
Remote.focus();
}
function RemoteStart_no(wohin,w,h)
{
	wohin=snip_vipurl(wohin);
	wohin = eval("" + wohin + "");
	Remote = window.open(wohin,'TheRemote','toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=yes,copyhistory=no,width='+w+',height='+h);
//Remote.moveTo(20,20);
Remote.focus();
}
function RemoteStart2(wohin,w,h)
{
	wohin=snip_vipurl(wohin);
	wohin = eval("" + wohin + "");
	Remote2 = window.open(wohin,'TheRemote2','toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width='+w+',height='+h);
//Remote2.moveTo(20,20);
Remote2.focus();
}
function RemoteStart3(wohin,w,h)
{
	wohin=snip_vipurl(wohin);
	wohin = eval("" + wohin + "");
	Remote3 = window.open(wohin,'TheRemote3','toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width='+w+',height='+h);
//Remote3.moveTo(20,20);
Remote3.focus();
}

function zoompop(wohin,w,h)
{
	wohin=snip_vipurl(wohin);
	wohin = eval("" + wohin + "");
	w=w+65;
	h=h+70;
	fenster = window.open(wohin,'TheRemote3','toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no,width='+w+',height='+h);
//fenster.moveTo(20,20);
fenster.focus();
}

function menuShow(id)
{
	if(parent.content_loaded) 
		{
		browsButLow()
		if(parent.content_loaded){
			parent.content.showNav('LayNav'+id, MM_findObj('FlyNav'+id));
			hideAllLayers();
			}
			else{
			window.setTimeout("menuShow("+id+")",0);
			}
		}else {
		window.setTimeout("hideAllLayers()",10);
	}
}

function hideAllLayers(){
if(parent.content_loaded){
  	parent.content.MM_showHideLayers('LayNav0', '', 'hide');
	  parent.content.MM_showHideLayers('LayNav1', '', 'hide');
	  parent.content.MM_showHideLayers('LayNav2', '', 'hide');
	  parent.content.MM_showHideLayers('LayNav3', '', 'hide');
	  parent.content.MM_showHideLayers('LayNav4', '', 'hide');
	  parent.content.MM_showHideLayers('LayNav4', '', 'hide');
	}else{
		window.setTimeout("hideAllLayers()",10);
	}
}

function posCenterCnt()
{
		if(parent.content.setCenterCnt){
	   		parent.content.setCenterCnt(POS_linkesElement(MM_findObj('FlyNav0')), 0);
		}else{
			window.setTimeout("posCenterCnt()",10);
		}
}
function posCenterCntFrame()
{
	if(setCenterCnt){
	   setCenterCnt(POS_linkesElement(MM_findObj('FlyNav0')), 0);
	}else{
		window.setTimeout("posCenterCnt()",0);
	}
}

function framHighl(id) {
parent.frames[0].FlyNav4.src=/*VIPURL*/'../images/header/btn0005_navi_p2.gif';
}


function getBrowserName()
{
   var aName  = navigator.appName.toUpperCase();
   if (aName.indexOf("NETSCAPE") >= 0)  return "Netscape";
   if (aName.indexOf("MICROSOFT") >= 0) return "Explorer";
   return "";
}
function getBrowserVersion()
{
    var browser = getBrowserName();
    var version = 0;
    var s = 0;
    var e = 0;
    var appVer  = navigator.appVersion;
    if (browser == "Netscape")
    {
        s = appVer.indexOf(" ",0);
        version = eval(appVer.substring(0,s));
        if (version >= 5) version++;
    }
    if (browser == "Explorer")
    {
        appVer  = navigator.userAgent;
        s = appVer.indexOf("MSIE ",0) + 5;
        e = appVer.indexOf(";",s);
        version = eval(appVer.substring(s,e));
    }
    return version;
}

function mausZeig(obj) {

	browser = getBrowserName();
	version = getBrowserVersion();
	if ((version >= '3') && (version <= '5.5')) {
	obj.style.cursor='hand'
	} else 
	{ obj.style.cursor='pointer' }
}



//für seite schadenservice/partnerwerkstätten
      function openDASearch()
      {
          var daWin;

          daWin=window.open('http://www.ebdac-services.de/motorcare/fwd/garagesearch/da/search.jsp','DAWerkstattsuche','width=470,height=355,left=40,top=40,menubar=yes,status=no,toolbar=no,resizable=no,scrollbars=yes');
          daWin.focus();
      }
// dropdowns als navigations-element  
function drop()
{
 var win = document.da_home.sel_1.options.selectedIndex;
 var Ziel = document.da_home.sel_1.options[win].value;
 RemoteStart(Ziel,680,431);
}

function drop_1()
{
 var win = document.tr_form.sel_1.options.selectedIndex;
 var Ziel = document.tr_form.sel_1.options[win].value;
 RemoteStart(Ziel,680,431);
}

function godrop()
{
var win = document.DAFormular.schaden_art.options.selectedIndex;
if (win!=0){parent.location.href = document.DAFormular.schaden_art.options[win].value;}
else 
alert('bitte wählen Sie');
document.DAFormular.schaden_art.focus();
}

function godrop2()
{
var win = document.DAFormular.drop2.options.selectedIndex;
if (win!=0){location.href = document.DAFormular.drop2.options[win].value;}
else 
alert('bitte wählen Sie');
document.DAFormular.drop2.focus();
}

var remote1 = null;	
function itour_html()
{
	if (document.all)
	{
	remote1 = window.open('http://www.da-direkt.de/Info_Tour/info_tour_start.html', 'infotour','width=470,height=291,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes');
	remote1.focus();
	}
	else if (document.getElementById)
	{
	remote1 = window.open('http://www.da-direkt.de/Info_Tour/info_tour_start.html', 'infotour','width=455,height=311,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes');
	remote1.focus();
	}
}

function itour_html2()
{
	//alert("hi");
	if (document.all)
	{
	//alert("all");
	window.resizeTo(480,471);
	window.location.href= "http://www.da-direkt.de/Info_Tour/info_tour_01.html"
	}
	else if ((document.getElementById) && (navigator.userAgent.toLowerCase().indexOf('firefox') == -1))
	{
	//alert("elementbyid ohne firefox");
	window.resizeTo(458,424); //für NC eigentlich 423
	window.location.href= "http://www.da-direkt.de/Info_Tour/info_tour_01.html"
	}
	else 
	{
	//alert("firefox");
	window.resizeTo(460,450);
	window.location.href= "http://www.da-direkt.de/Info_Tour/info_tour_01.html"
	}
}
function itour_html3()
{
	if (document.all)
	{
	//alert("all");
	window.resizeTo(478,430);
	window.location.href= "http://www.da-direkt.de/Info_Tour/info_tour_01.html"
	}
	else if ((document.getElementById) && (navigator.userAgent.toLowerCase().indexOf('firefox') == -1))
	{
	//alert("elementbyid ohne firefox");
	window.resizeTo(458,424); //für NC eigentlich 423
	window.location.href= "http://www.da-direkt.de/Info_Tour/info_tour_01.html"
	}
	else 
	{
	//alert("firefox");
	window.resizeTo(457,444);
	window.location.href= "http://www.da-direkt.de/Info_Tour/info_tour_01.html"
	}
}

function gute_gruende()
{
  remote1 = window.open('http://www.da-direkt.de/_popup/popup_warum_da/gute_gruende.html', 'GuteGruende','width=620,height=480,toolbar=no,location=no,directories=no,status=no,menubar=yes,,resizable=yes');
  remote1.focus();
}
function gute_gruende_dave()
{
  remote1 = window.open('http://www.da-direkt.de/_popup/popup_warum_da_dave/gute_gruende.html', 'GuteGruende','width=620,height=480,toolbar=no,location=no,directories=no,status=no,menubar=yes,,resizable=yes');
  remote1.focus();
}

function gute_gruende_mo_dave()
{
  remote1 = window.open('http://www.da-direkt.de/_popup/popup_warum_da_mo_dave/gute_gruende.html', 'GuteGruende','width=620,height=480,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=yes');
  remote1.focus();
}

function sicher()
{
  remote1 = window.open('http://www.da-direkt.de/_popup/infos_und_tipps/sicherungsmassnahmen.html?oid=<%=oid%>', 'Sicher','width=780,height=470,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=yes');
  remote1.focus();
}

function gute_gruende_spf()
{
  remote1 = window.open('http://www.da-direkt.de/_popup/popup_warum_da/gute_gruende_spf.jsp', 'GuteGruende','width=620,height=480,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=yes');
  remote1.focus();
}

function sicher()
{
  remote1 = window.open('http://www.da-direkt.de/_popup/infos_und_tipps/sicherungsmassnahmen.html?oid=<%=oid%>', 'Sicher','width=780,height=470,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=yes');
  remote1.focus();
}
/*wegen links zu da-direkt in DDE*/
function newBrowserWin(url,breite,hoehe)
{
	var x = (screen.availWidth-breite)/2;
	var y = (screen.availHeight-hoehe)/2;
	var bwin = window.open(url,"bwin","width="+breite+",height="+hoehe+",left="+x+",screenX="+x+",top="+y+",screenY="+y+",status=yes,scrollbars=yes,location=yes,resizable=yes,toolbar=yes,menubar=yes,directories=yes");
	bwin.focus();
}

// WebTrends SmartSource Data Collector
// C 1996-2004 NetIQ Corporation.  All rights reserved. 
// $DateTime: 2004/05/03 13:43:43 $

function dcsMultiTrack(){
	for (var i=0;i<arguments.length;i++){
		if (arguments[i].indexOf('WT.')==0){
				WT[arguments[i].substring(3)]=arguments[i+1];
				i++;
		}
		if (arguments[i].indexOf('DCS.')==0){
				DCS[arguments[i].substring(4)]=arguments[i+1];
				i++;
		}
		if (arguments[i].indexOf('DCSext.')==0){
				DCSext[arguments[i].substring(7)]=arguments[i+1];
				i++;
		}
	}
	var dCurrent=new Date();
	DCS.dcsdat=dCurrent.getTime();
	dcsTag();
} 

function itour_html_m2()
{
	//alert("hi");
	if (document.all)
	{
	//alert("all");
	window.resizeTo(480,471);
	window.location.href= "http://www.da-direkt.de/Info_Tour_motorrad/info_tour_01.html"
	}
	else if ((document.getElementById) && (navigator.userAgent.toLowerCase().indexOf('firefox') == -1))
	{
	//alert("elementbyid ohne firefox");
	window.resizeTo(458,424); //für NC eigentlich 423
	window.location.href= "http://www.da-direkt.de/Info_Tour_motorrad/info_tour_01.html"
	}
	else 
	{
	//alert("firefox");
	window.resizeTo(460,450);
	window.location.href= "http://www.da-direkt.de/Info_Tour_motorrad/info_tour_01.html"
	}
}
var remote_m = null;	
function itour_html_m()
{
	if (document.all)
	{
	remote_m = window.open('http://www.da-direkt.de/Info_Tour_motorrad/info_tour_start.html', 'infotour','width=470,height=291,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes');
	remote1.focus();
	}
	else if (document.getElementById)
	{
	remote_m = window.open('http://www.da-direkt.de/Info_Tour_motorrad/info_tour_start.html', 'infotour','width=455,height=311,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes');
	remote1.focus();
	}
}

var Heute=new Date();
var h_monat = Heute.getMonth() + 1;
var h_tag = Heute.getDate();
var g_tag="";
var g_monat="";
var g_jahr="";
var TageImFebruar = 28;
var Tage ="";

function TageBestimmen()
{
    g_tag = document.getElementById("g_tag").value;
    g_monat = document.getElementById("g_monat").value;
    g_jahr = document.getElementById("g_jahr").value;
	if( (g_tag!=0) && (g_monat!=0) ) {


    if(g_jahr!=0){
      if((g_jahr%4 == 0 && g_jahr%100 !=0) || g_jahr%400 == 0)
      {
        TageImFebruar = 29;
      }
    }

    Tage = new Array(31, TageImFebruar, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);

    document.getElementById("g_tag").options.length = Tage[g_monat-1];

    for(i = 0; i < Tage[g_monat-1]; i++)
    {
        document.getElementById("g_tag").options[i].text = i+1;
        document.getElementById("g_tag").options[i].value = i+1;
    }
    
	document.getElementById("g_tag").value=g_tag;
	if(!document.getElementById("g_tag").value) document.getElementById("g_tag").value=1;

	ToOld();

	}
}

function ToOld() {
grenz_jahr = document.getElementById("g_jahr").options[1].value;
if( ((g_jahr == grenz_jahr) && (g_monat > h_monat)) || ((g_jahr == grenz_jahr) && (g_monat == h_monat) && (g_tag > h_tag)) ) {

 alert("Um am Gewinnspiel teilnehmen zu dürfen, müssen Sie mindestens 18 Jahre alt sein.");
	return false;

 }
 else {
	 return true;
 }

}

function ShowFeld() {
      eval("document.getElementById('Blend').style.display='block'");
}
function zeige_standorte(aus,an) {
	 eval("document.getElementById('"+aus+"').style.display='none'");
	 eval("document.getElementById('"+an+"').style.display='block'");
	}