//////////////////////globals//////////////////////
		browser = navigator.appName;
		browVer =parseInt(navigator.appVersion);
		var fenster;
		
var ie;
var ns;

if (browser=="Netscape")
{ie=0;ns=1;
}

if (browser=="Microsoft Internet Explorer")
{ie=1;ns=0;}
//////////////////////welche version//////////////////////
function version()
{
		
		var fenster;


				if (browser=="Netscape" && browVer<4)
				{
			
				fenster=window.open("browser/browsern.html","Netscape","width=300,height=350");
				fenster.setTimeout("window.close()", 15000);



}
				if (browser=="Microsoft Internet Explorer" && browVer<4)
					{


					fenster=window.open("browser/browserm.html","Internet Explorer","width=300,height=350");
					fenster.setTimeout("window.close()", 15000);
		}
					
								 }

	

///////////////// Fenster /////////////////////////////

  function fenster(welches) 
{
//alert("Explorer:"+ie+"Netscape:"+ns);
/////////////////////////Impressionen/////////////////////////////
	if (welches==0)
	{
	if(ie==1)
	{brow="winImpressio_ie.html";}
	else if(ns==1)
	{brow="winImpressio_ns.html";}
    		{
    		impressionen = window.open(brow,"Impressionen","menubar=0,scrollbars=0,toolbar=0,location=0,directories=0,hotkeys=no,status=0,resizable=0,width=351,height=400");
    		impressionen.focus();
    		impressionen.moveTo(200,200);
    		}
		}
////////////////////////// Events /////////////////////////
	if (welches==1)
		{
    		events = window.open("http://www.brueckstrassen4tel.de/structure_default/main.asp?G=121131&A=1&S=Kn2VGb4G5154q2w1m7DcHpqX862R5N4365Hfwro22jV6q88U69b&N=121437&ID=-1&P=&O=","Events","menubar=0,scrollbars=1,toolbar=0,location=0,directories=0,hotkeys=no,status=0,resizable=1,width=640,height=480");
    		events.focus();
    		events.moveTo(200,200);
		}
////////////////////////// Kontakt /////////////////////////
	if (welches==2)
		{
			kontakt = window.open("mail.html","Kontakt","menubar=0,scrollbars=0,toolbar=0,location=0,directories=0,hotkeys=no,status=0,resizable=0,width=346,height=385");
    		kontakt.focus();
    		kontakt.moveTo(200,200);
		}
////////////////////////// Impressum /////////////////////////
if (welches == 3)
    			{
    		impressum = window.open("winImpress.html","Impressum","menubar=0,scrollbars=0,toolbar=0,location=0,directories=0,hotkeys=no,status=0,resizable=0,width=341,height=384");
    		impressum.focus();
    		impressum.moveTo(200,200);
    			}
  }
  
  function inLink(was)
  {	
  //////////////// Verkehr ///////////////////
  if (was==1)
		{parent.inhalt.location.href = "underC.html";}
  ////////////// Hintergruende ///////////////
	if (was==2)
		{parent.inhalt.location.href = "hgrund_m.html";}
		
    ////////////// Stadtplan ///////////////
	if (was==3)
		{parent.inhalt.location.href = "stplan_m.html";}
		
	////////////// Gstebuch ///////////////
	if (was==4)
		{parent.inhalt.location.href = "underC.html";}
		
	////////////// Sitemap ///////////////
	if (was==5)
		{parent.inhalt.location.href = "sitemap.html";}
		
	////////////// Einstiegsseite ///////////////
	if (was==6)
		{parent.inhalt.location.href = "main_m.html";}
		}
		
		
  function openDB(wie)
  	{if (wie==1)
		{
    		nachPlan = window.open("4telPlan/","Plan","menubar=0,scrollbars=1,toolbar=0,location=0,directories=0,hotkeys=no,status=0,resizable=1,width=770,height=450");
    		nachPlan.focus();
    		nachPlan.moveTo(70,70);
		}
	if (wie==2)
		{
    		nachABC = window.open("abc_index/","ABC","menubar=0,scrollbars=1,toolbar=0,location=0,directories=0,hotkeys=no,status=0,resizable=1,width=770,height=450");
    		nachABC.focus();
    		nachABC.moveTo(70,70);
		}
	if (wie==3)
		{
    		nachBra = window.open("branchen/","Branchen","menubar=0,scrollbars=1,toolbar=0,location=0,directories=0,hotkeys=no,status=0,resizable=1,width=770,height=450");
    		nachBra.focus();
    		nachBra.moveTo(70,70);
		}
 }

