function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function changeSite()
{
	x = MM_findObj('sitevalue');
	if(x.selectedIndex != 0)
	{
		window.location.href=x.value;
	}
	else
	{
		window.open("http://195.200.35.4/phase1/vrn01.nsf/(WWWFrame)/2E2807C5EABEFC8DC1256A3E002DD7C7?OpenDocument&TYP=2");
	}
}

function changeSiteIntern()
{
	window.location.href=document.siteform.sitevalue.options[document.siteform.sitevalue.selectedIndex].value;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') {
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (val<min || max<val) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } 
  if (errors) 
  {
	  alert('Sie müssen ein Suchwort eingeben!');
  }
  else
  {
	  document.fullsearch.submit();
  }
  document.MM_returnValue = (errors == '');
}

function sendQuery()
{
	//alert("hier");
	textValue = document.fullsearch.query.value;
	while('' + textValue.charAt(0)==' ')
	{
		textValue = textValue.substring(1,textValue.length);
	}
	if(textValue == "")
	{
		alert("Sie müssen ein Suchwort eingeben");
	}
	else
	{
		document.fullsearch.submit();
	}
}

function showEis() { //v4.0
  var ok=false; document.MM_returnValue = false;
  plgIn = "Shockwave Flash";
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=0; }
  if (!ok)
  {
	document.write("<td colspan=\"2\"><img src=\"../flash/noflash_ski.jpg\" width=\"629\" height=\"59\"></td>");
  }
  else
  {
		  document.write("<td colspan=\"2\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"629\" height=\"59\"><param name=movie value=\"../flash/eis.swf\"><param name=quality value=high><embed src=\"../flash/eis.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"629\" height=\"59\"></embed></object></td>");

  }
}

function showJogger() { //v4.0
  var ok=false; document.MM_returnValue = false;
  plgIn = "Shockwave Flash";
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=0; }
  if (!ok)
  {
	document.write("<td colspan=\"2\"><img src=\"../flash/noflash_ski.jpg\" width=\"629\" height=\"59\"></td>");
  }
  else
  {
		  document.write("<td colspan=\"2\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"629\" height=\"59\"><param name=movie value=\"../flash/jogger.swf\"><param name=quality value=high><embed src=\"../flash/jogger.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"629\" height=\"59\"></embed></object></td>");

  }
}

function showLady() { //v4.0
  var ok=false; document.MM_returnValue = false;
  plgIn = "Shockwave Flash";
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=0; }
  if (!ok)
  {
	
	document.write("<td colspan=\"2\"><img src=\"../flash/noflash_lady.jpg\" width=\"629\" height=\"59\"></td>");
  }
  else
  {
		  document.write("<td colspan=\"2\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"629\" height=\"59\"><param name=movie value=\"../flash/lady.swf\"><param name=quality value=high><embed src=\"../flash/lady.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"629\" height=\"59\"></embed></object></td>");

  }
}

function showSki() { //v4.0
  var ok=false; document.MM_returnValue = false;
  plgIn = "Shockwave Flash";
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=0; }
  if (!ok)
  {
	document.write("<td colspan=\"2\"><img src=\"../flash/noflash_ski.jpg\" width=\"629\" height=\"59\"></td>");
  }
  else
  {
		  document.write("<td colspan=\"2\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"629\" height=\"59\"><param name=movie value=\"../flash/ski.swf\"><param name=quality value=high><embed src=\"../flash/ski.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"629\" height=\"59\"></embed></object></td>");

  }
}

function showTime() { //v4.0
  var ok=false; document.MM_returnValue = false;
  plgIn = "Shockwave Flash";
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=0; }
  if (!ok)
  {
	document.write("<td colspan=\"2\"><img src=\"../flash/noflash_ski.jpg\" width=\"629\" height=\"59\"></td>");
  }
  else
  {
		  document.write("<td colspan=\"2\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"629\" height=\"59\"><param name=movie value=\"../flash/time.swf\"><param name=quality value=high><embed src=\"../flash/time.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"629\" height=\"59\"></embed></object></td>");

  }
}

function showWueste() { //v4.0
  var ok=false; document.MM_returnValue = false;
  plgIn = "Shockwave Flash";
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=0; }
  if (!ok)
  {
	document.write("<td colspan=\"2\"><img src=\"../flash/noflash_ski.jpg\" width=\"629\" height=\"59\"></td>");
  }
  else
  {
		  document.write("<td colspan=\"2\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"629\" height=\"59\"><param name=movie value=\"../flash/wueste.swf\"><param name=quality value=high><embed src=\"../flash/wueste.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"629\" height=\"59\"></embed></object></td>");

  }
}


function showFlash(id) { //v4.0
  var ok=false; document.MM_returnValue = false;
  plgIn = "Shockwave Flash";
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=0; }
  if (!ok)
  {
	if(id != 8)
	 {
		document.write("<td colspan=\"2\"><img src=\"../../flash/noflash_" + id + ".jpg\" width=\"629\" height=\"59\"></td>");
	 }
	 else
	  {
		document.write("<img src=\"../../flash/html_ersatz.jpg\" width=\"629\" height=\"440\" usemap=\"#html_ersatz_Map\" border=\"0\"><map name=\"html_ersatz_Map\"><area shape=\"rect\" alt=\"Wendezeit 1989 - heute\" coords=\"0,280,351,417\" href=\"#\" onClick=\"MM_openBrWindow('http://www.bvr.de/www-new/oeffentl.nsf/bvr_03_05_print_03?OpenPage','intern','toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,width=613,height=400,top=30,left=30,screenx=10,screeny=10');\"><area shape=\"rect\" alt=\"Verb&uuml;nden 1900 - 1989\" coords=\"0,141,351,278\" href=\"#\" onClick=\"MM_openBrWindow('http://www.bvr.de/www-new/oeffentl.nsf/bvr_03_05_print_02?OpenPage','intern','toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,width=613,height=400,top=30,left=30,screenx=10,screeny=10');\"><area shape=\"rect\" alt=\"Brodverein 1800 -1900\" coords=\"0,0,351,139\" href=\"#\" onClick=\"MM_openBrWindow('http://www.bvr.de/www-new/oeffentl.nsf/bvr_03_05_print_01?OpenPage','intern','toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,width=613,height=400,top=30,left=30,screenx=10,screeny=10');\"><area shape=\"rect\" alt=\"Flash-Player\" coords=\"383,217,595,270\" href=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" target=\"_blank\"></map>");
	  }
  }
  else
  {
	if(id != 8)
	{
	  document.write("<td colspan=\"2\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"629\" height=\"59\"><param name=movie value=\"../../flash/bvr_" + id + ".swf\"><param name=quality value=high><embed src=\"../../flash/bvr_" + id + ".swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"629\" height=\"59\"></embed></object></td>");
	}
	else
	{
		document.write("<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" ID=main WIDTH=629 HEIGHT=440><PARAM NAME=movie VALUE=\"../../flash/timeline/main.swf\"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#E8ECE8><EMBED src=\"../../flash/timeline/main.swf\" quality=high bgcolor=#E8ECE8  WIDTH=629 HEIGHT=440	swLiveConnect=true NAME=main TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></EMBED></OBJECT>");
	}
  }
}

browser = navigator.appName;
if(browser.indexOf("Netscape") != -1)
{
	document.write("<link rel=\"stylesheet\" href=\"../../include/stylesns.css\">");
}
else
{
	document.write("<link rel=\"stylesheet\" href=\"../../include/stylesie.css\">");
}
