


function stopError() {


return true;


}


window.onerror = stopError;





Browser="";


if(navigator.appName.indexOf("Netscape")==-1)


Browser="IE"


else


{


if (document.layers)


Browser="NS4";


else


Browser="NS6";


}





No3 = (parseInt(navigator.appVersion) > 3) ? 1:0;


layer = (document.all && No3) ? "document.all['L'+menu].style" : (document.layers && No3) ? "document.layers['L'+menu]" : 0;


if (Browser =="NS6")layer= (document.getElementById) ? "document.getElementById('L'+menu).style" :(document.layers && No3) ? "document.layers['L'+menu]" : 0;





var timer;


function Show() { 


if(layer) {


if(timer) clearTimeout(timer);


for(menu=0; menu<Layer.length; menu++) { if(Layer[menu]) { eval(layer).visibility = "hidden"; } }


for(i=0; i<arguments.length; i++) { menu=arguments[i]; eval(layer).visibility = "visible"; 





if(menu==1) {document.getElementById("eins").background="pics/menu_hg_aktiv.gif";document.getElementById("zwei").background="pics/menu_hg.gif";}


if(menu==2) {document.getElementById("zwei").background="pics/menu_hg_aktiv.gif";document.getElementById("eins").background="pics/menu_hg.gif";}


}





} }


function Hide() { 


	timer = setTimeout("Show()", 50);


	if(menu==1) document.getElementById("eins").background="pics/menu_hg_aktiv.gif";

	if( document.getElementById("eins").background="pics/menu_hg_aktiv.gif" ) document.getElementById("eins").background="pics/menu_hg.gif";
	if(menu==2) document.getElementById("zwei").background="pics/menu_hg_aktiv.gif";

	if( document.getElementById("zwei").background="pics/menu_hg_aktiv.gif" ) document.getElementById("zwei").background="pics/menu_hg.gif";

}





hovercolor   = "#6d88bf";        // color name/code


bgcolor      = "#05379a";        // color name/code


background   = "";              // picture url


menu_border  = 0;                        // IE only


border_color = "#000000";        // IE only


arrow_pic    = "pics/pfeile.gif"; // url of arrow picture for submenus





function chgBgColor(what){


	what.bgColor=hovercolor;


	if(menu==1) {document.getElementById("eins").background="pics/menu_hg_aktiv.gif"; document.getElementById("zwei").background="pics/menu_hg.gif";}


	if(menu==2) {document.getElementById("zwei").background="pics/menu_hg_aktiv.gif";document.getElementById("eins").background="pics/menu_hg.gif";}





}


function chgBgColorback(what){


	what.bgColor=bgcolor;


	if(menu==1) {document.getElementById("eins").background="pics/menu_hg_aktiv.gif";document.getElementById("zwei").background="pics/menu_hg.gif";}


	if(menu==2) {document.getElementById("eins").background="pics/menu_hg.gif";document.getElementById("zwei").background="pics/menu_hg_aktiv.gif";}


}





if(document.all) { if(!background) { background=bgcolor; }  }


if(Browser=="NS6") { if(!background) { background=bgcolor; }  }


if(Browser=="NS4"){ background = "url("+background+")"; }


function LayerSpecs(Left,Top,Width) { if(No3) {


        if(document.all) { Top+=7; Left+=2; Width-=6; }


        if(Browser=="NS6"){ Top+=9; Left+=2; Width-=6; }


        this.left  = Left;


        this.top   = Top;


        this.info  = "";


        T=0;


        for(i=3; i<arguments.length; i++) {


                if(Browser=="IE") { this.info += "<TR><TD WIDTH="+Width+" onMouseOver='chgBgColor(this)' onMouseOut='chgBgColorback(this)'>"+arguments[i]+"</TD></TR>"; }


                if(Browser =="NS6") { this.info += "<TR><TD WIDTH="+Width+" onMouseOver='chgBgColor(this)' onMouseOut='chgBgColorback(this)'>"+arguments[i]+"</TD></TR>"; }


                if(Browser == "NS4") { this.info += "<LAYER onMouseOver='chgBgColor(this)' onMouseOut='chgBgColorback(this)' WIDTH="+Width+" POSITION=RELATIVE TOP="+T+">&nbsp;"+arguments[i]+"</LAYER>"; }


T+=20;


}


} }





Layer = new Array();


arrow = "<IMG SRC='"+arrow_pic+"' WIDTH=10 HEIGHT=9 BORDER=0 ALT=''>";


//geschäft








Layer[1] =        new LayerSpecs(316,223,100,


                        '<A HREF="#" onMouseOver="Show(3,1)" class="menu" >Versicherungen</A> '+arrow,


                        '<A HREF="finanzierung.html" onMouseOver="Show(1)"  class="menu" >Finanzierungen</A> ',


                        '<A HREF="#" onMouseOver="Show(4,1)" class="menu" >Geldanlagen</A> '+arrow,


                        '<A HREF="finanz.html" onMouseOver="Show(1)" class="menu" >Finanzanalyse</A> '


);


//Kontakt


Layer[2] =        new LayerSpecs(532,223,90,


                        '<A HREF="kontakt.html" onMouseOver="Show(2)" class="menu">Kontaktdaten</A> ',


                        '<A HREF="anfrage.html" onMouseOver="Show(2)" class="menu">Anfrage</A> ',


                        '<A HREF="anfahrt.html" onMouseOver="Show(2)" class="menu">Anfahrt</A> ',


                        '<A HREF="http://maps.google.de/maps?f=q&hl=de&q=Carl-Menzel-Str. 13, 01623 Lommatzsch&sll=50.092393,10.195313&sspn=20.455069,40.957031&ie=UTF8&z=16&om=1&iwloc=addr" onMouseOver="Show(2)" class="menu" target="_blank">Routenberechnung</A> '


);


//versicherung


Layer[3] =        new LayerSpecs(417,223,110,


                        '<A HREF="privat.html" class="menu" onMouseOver="Show(3,1)" >Privatversicherungen</A>',


                        '<A HREF="gewerbe.html" class="menu" onMouseOver="Show(3,1)">Gewerbeversicherungen</A> '


);


//geldanlagen


Layer[4] =        new LayerSpecs(417,262,70,


                        '<A HREF="knowhow.html" onMouseOver="Show(4,1)" class="menu">Know-How</A> ',


                        '<A HREF="fonds.html" onMouseOver="Show(4,1)" class="menu">Fonds</A> '


);





j = (Layer[0]) ? 0:1;


for(i=j; i<Layer.length; i++) {





    	 if(Browser=="IE") { document.write("<div onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' ID='L"+i+"' STYLE='position:absolute; visibility:hidden; background:"+background+"; top:"+Layer[i].top+"; left:"+Layer[i].left+";'><TABLE STYLE='border:solid "+menu_border+" "+border_color+"'>"+Layer[i].info+"</TABLE></div>"); }


        if(Browser=="NS4") { document.write("<LAYER onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' ID='L"+i+"' POSITION=absolute VISIBILITY=HIDDEN BGCOLOR='"+bgcolor+"' BACKGROUND='"+background+"' TOP="+Layer[i].top+" LEFT="+Layer[i].left+">"+Layer[i].info+"</LAYER>"); }


        if(Browser=="NS6") { document.write("<div ID='L"+i+"' onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' STYLE='position:absolute; visibility:hidden; background:"+background+"; top:"+Layer[i].top+"px; left:"+Layer[i].left+"px;'><TABLE STYLE='border:solid "+menu_border+" "+border_color+"'>"+Layer[i].info+"</TABLE></div>"); }











}











  if(Browser=="IE"){ document.all["menubar_1"].style.visibility = "visible"; }


  if(Browser=="NS4") { document.layers["menubar_1"].visibility = "visible"; }


  if(Browser=="NS6") {document.getElementById('menubar_1').style.visibility = "visible"; }


















































function chgBkrd(what){
















document.getElementById("eins").background="pics/menu_hg.gif";













document.getElementById("zwei").background="pics/menu_hg.gif";
















what.background = "pics/menu_hg_aktiv.gif";
















}
















function chgBkrdback(what){










	what.background="pics/menu_hg.gif";










}
