var rootPath        ='.'
var ImgExtension    = '.gif';
var ImgPath         = rootPath + '/images/gif/navigation/';
var wechsel_erlaubt = false;

// ------------ Bilder der Navigation links

function loadImages(root) {

  rootPath= root 	
  ImgPath = rootPath + '/images/gif/navigation/';
   	
  Fahrschule_over  = new Image();
  Fahrschule_over.src = ImgPath + "fahrschule_over" + ImgExtension;
  Fahrschule_out  = new Image();
  Fahrschule_out.src = ImgPath + "fahrschule_std" + ImgExtension;
  
  Fahrerlaubnis_over  = new Image();
  Fahrerlaubnis_over.src = ImgPath + "fahrerlaubnis_over" + ImgExtension;
  Fahrerlaubnis_out  = new Image();
  Fahrerlaubnis_out.src = ImgPath + "fahrerlaubnis_std" + ImgExtension;
  
  Ferien_over  = new Image();
  Ferien_over.src = ImgPath + "ferien_over" + ImgExtension;
  Ferien_out  = new Image();
  Ferien_out.src = ImgPath + "ferien_std" + ImgExtension;
  
  Nachsch_over  = new Image();
  Nachsch_over.src = ImgPath + "nachsch_over" + ImgExtension;
  Nachsch_out  = new Image();
  Nachsch_out.src = ImgPath + "nachsch_std" + ImgExtension;
  
  Wir_over  = new Image();
  Wir_over.src = ImgPath + "wir_over" + ImgExtension;
  Wir_out  = new Image();
  Wir_out.src = ImgPath + "wir_std" + ImgExtension;
  
  Kontakt_over  = new Image();
  Kontakt_over.src = ImgPath + "kontakt_over" + ImgExtension;
  Kontakt_out  = new Image();
  Kontakt_out.src = ImgPath + "kontakt_std" + ImgExtension;
    
  Home_over  = new Image();
  Home_over.src = ImgPath + "home_over" + ImgExtension;
  Home_out  = new Image();
  Home_out.src = ImgPath + "home_std" + ImgExtension;

 
  Vor_over  = new Image();
  Vor_over.src = ImgPath + "vor_over" + ImgExtension;
  Vor_out  = new Image();
  Vor_out.src = ImgPath + "vor_std" + ImgExtension;

  Zurueck_over  = new Image();
  Zurueck_over.src = ImgPath + "zurueck_over" + ImgExtension;
  Zurueck_out  = new Image();
  Zurueck_out.src = ImgPath + "zurueck_std" + ImgExtension;

  Oben_over  = new Image();
  Oben_over.src = ImgPath + "oben_over" + ImgExtension;
  Oben_out  = new Image();
  Oben_out.src = ImgPath + "oben_std" + ImgExtension;
  
}
