/*************************************************
* Cusomized by TRM, October 2002 *
**************************************************/

function fwLoadMenus() {
  if (window.fw_menu_0) return;

  window.fw_menu_0 = new Menu("root",105,19,"Arial, Helvetica, sans-serif",12,"#000000","#000000","#ffffff","#ffcc00","#cccccc");
  fw_menu_0.addMenuItem("PKW",onClick="window.open('http://www.toyota.de/cars/new_cars/index.aspx', '_blank');");
//  fw_menu_0.addMenuItem("Nutzfahrzeuge",onClick="window.open('nfz.htm', '_self');");
   fw_menu_0.bgImageUp="";
   fw_menu_0.bgImageOver="";
   fw_menu_0.fontWeight="plain";
   fw_menu_0.hideOnMouseOut=true;
   fw_menu_0.childMenuIcon="../bilder/buttons/arrows.gif";
   
  window.fw_menu_1 = new Menu("root",160,34,"Arial, Helvetica, sans-serif",12,"#000000","#000000","#ffffff","#ffcc00");
  fw_menu_1.addMenuItem("Unser gesamter Gebrauchtwagenbestand",onClick="window.open('http://www.auxxio.de/funke-beckum', '_blank');");
//  fw_menu_1.addMenuItem("Rheda-Wiedenbr&uuml;ck",onClick="window.open('http://home.mobile.de/Opel-Funke', '_blank');");
   fw_menu_1.bgImageUp="";
   fw_menu_1.bgImageOver="";
   fw_menu_1.fontWeight="plain";
   fw_menu_1.hideOnMouseOut=true;
   fw_menu_1.childMenuIcon="../bilder/buttons/arrows.gif";

fw_menu_1.writeMenus();
} 
/** Second sub menue
  window.fw_menu_2_1 = new Menu("Tuning",105,19,"Arial, Helvetica, sans-serif",12,"#000000","#000000","#ffffff","#ffcc00");
   fw_menu_2_1.addMenuItem("Irmscher",onClick="window.open('tuz-irmscher.htm', '_self');");
   fw_menu_2_1.addMenuItem("Steinmetz",onClick="window.open('tuz-steinmetz.htm', '_self');");
   fw_menu_2_1.bgImageUp="";
   fw_menu_2_1.bgImageOver="";
   fw_menu_2_1.fontWeight="plain";
   fw_menu_2_1.hideOnMouseOut=true;
   
  window.fw_menu_2_2 = new Menu("Mobile Kommunikation",105,19,"Arial, Helvetica, sans-serif",12,"#000000","#000000","#ffffff","#ffcc00");
   fw_menu_2_2.addMenuItem("Mobiltelefone",onClick="window.open('tuz-mobile.htm', '_self');");
   fw_menu_2_2.addMenuItem("Zubeh&ouml;r",onClick="window.open('tuz-mobile-zubehoer.htm', '_self');");
   fw_menu_2_2.bgImageUp="";
   fw_menu_2_2.bgImageOver="";
   fw_menu_2_2.fontWeight="plain";
   fw_menu_2_2.hideOnMouseOut=true;
**/   
  window.fw_menu_2 = new Menu("root",125,19,"Arial, Helvetica, sans-serif",12,"#000000","#000000","#ffffff","#ffcc00");
//  fw_menu_2.addMenuItem(fw_menu_2_1,"window.open('Opel Rent', '_self');");
  fw_menu_2.addMenuItem("Auto Funke Rent",onClick="window.open('../rent.htm', '_self');");
//  fw_menu_2.addMenuItem("SAAB Unlimited",onClick="window.open('../saab/rent.htm', '_self');");   
//  fw_menu_2.addMenuItem(fw_menu_2_2,"window.open('tuz-mobile-kommunikation.htm', '_self');");
//  fw_menu_2.addMenuItem("Chevrolet Rent",onClick="window.open('../chevrolet/rent.htm', '_self');");
//  fw_menu_2.addMenuItem("Toyota Rent",onClick="window.open('../toyota/rent.htm', '_self');");
  fw_menu_2.bgImageUp="";
  fw_menu_2.bgImageOver="";
  fw_menu_2.fontWeight="plain";
  fw_menu_2.hideOnMouseOut=true;
  fw_menu_2.childMenuIcon="../bilder/buttons/arrows.gif";
  
 /** second sub menue 
  window.fw_menu_3_1 = new Menu("Autovermietung",105,19,"gill sans for saab, Arial, Helvetica, sans-serif",12,"#000000","#cccccc","#ffffff","#000099","#cccccc");
   fw_menu_3_1.addMenuItem("OpelRent",onClick="window.open('service-rent.htm', '_self');");
   fw_menu_3_1.addMenuItem("Saab Unlimited",onClick="window.open('../saab/service-rent.htm', '_self');");
   fw_menu_3_1.bgImageUp="";
   fw_menu_3_1.bgImageOver="";
   fw_menu_3_1.fontWeight="plain";
   fw_menu_3_1.hideOnMouseOut=true;
 **/  
  window.fw_menu_3 = new Menu("root",105,19,"Arial, Helvetica, sans-serif",12,"#000000","#000000","#ffffff","#ffcc00");
//  fw_menu_3.addMenuItem("Wartungsintervalle",onClick="window.open('inprogress.htm', '_self');");
  fw_menu_3.addMenuItem("Anfahrt",onClick="window.open('../anfahrt.htm', '_self');");
//  fw_menu_3.addMenuItem("Terminanfrage",onClick="window.open('service-termin.htm', '_self');");
//  fw_menu_3.addMenuItem("Team und Kontakt",onClick="window.open('team-service.htm', '_self');");
//  fw_menu_3.addMenuItem(fw_menu_3_1,"window.open('service-rent.htm', '_self');");
//  fw_menu_3.addMenuItem("SprarDepots",onClick="window.open('service-spardepot.htm', '_self');");
//  fw_menu_3.addMenuItem("ADAC",onClick="window.open('service-adac.htm', '_self');");  
  fw_menu_3.bgImageUp="";
  fw_menu_3.bgImageOver="";
  fw_menu_3.fontWeight="plain";
  fw_menu_3.hideOnMouseOut=true;
  fw_menu_3.childMenuIcon="../bilder/buttons/arrows.gif";
  
  window.fw_menu_4 = new Menu("root",155,19,"Arial, Helvetica, sans-serif",12,"#000000","#000000","#ffffff","#ffcc00");
  fw_menu_4.addMenuItem("Veranstaltungskalender",onClick="window.open('event.htm', '_self');");
/**  fw_menu_4.addMenuItem("Finanzierung",onClick="window.open('dl-finanzierung.htm', '_self');");
  fw_menu_4.addMenuItem("Versicherung",onClick="window.open('dl-versicherung.htm', '_self');");
  fw_menu_4.bgImageUp="";
  fw_menu_4.bgImageOver="";
  fw_menu_4.fontWeight="plain";
  fw_menu_4.hideOnMouseOut=true;
  fw_menu_4.childMenuIcon="../bilder/buttons/arrows.gif";
**/ 
     
  window.fw_menu_5 = new Menu("root",145,19,"Arial, Helvetica, sans-serif",12,"#000000","#000000","#ffffff","#ffcc00");
//  fw_menu_5.addMenuItem("Neubeckum",onClick="window.open('team-beckum.htm', '_self');");
//  fw_menu_5.addMenuItem("Ahlen",onClick="window.open('team-ahlen.htm', '_self');");
  fw_menu_5.addMenuItem("Unser Team",onClick="window.open('../team.htm', '_self');");
  fw_menu_5.bgImageUp="";
  fw_menu_5.bgImageOver="";
  fw_menu_5.fontWeight="plain";
  fw_menu_5.hideOnMouseOut=true;
  fw_menu_5.childMenuIcon="../bilder/buttons/arrows.gif";

 
  window.fw_menu_6 = new Menu("root",115,19,"Arial, Helvetica, sans-serif",12,"#000000","#000000","#ffffff","#ffcc00");
  fw_menu_6.addMenuItem("Historie",onClick="window.open('../historie.htm', '_self');");
//  fw_menu_6.addMenuItem("Das Team",onClick="window.open('../team.htm', 450,450,'gb_self');");
  fw_menu_6.addMenuItem("Das Team",onClick="window.open('../team.htm', '_self');");
//  fw_menu_6.addMenuItem("Karriere",onClick="window.open('jobs.htm', '_self');");
  fw_menu_6.addMenuItem("E-Mail an uns",onClick="window.open('kontakt.htm', '_self');");
//  fw_menu_6.addMenuItem("Anfahrt",onClick="window.open('../anfahrt.htm', '_self');");
//  fw_menu_6.addMenuItem("Links",onClick="window.open('links.htm', '_self');");
  fw_menu_6.bgImageUp="";
  fw_menu_6.bgImageOver="";
  fw_menu_6.fontWeight="plain";
  fw_menu_6.hideOnMouseOut=true;
  fw_menu_6.childMenuIcon="../bilder/buttons/arrows.gif";


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_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_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];}
}
