// Liste der Bilder
var preload_images =
[
  "image/basic/top_a.jpg",
  "image/basic/top_b.jpg",
  "image/basic/logo_flyion_top.jpg",
  "image/basic/navi_space_top.gif",
  "image/basic/space_a.gif",
  "image/basic/products_top.gif",
  "image/basic/space_b.gif",
  "image/basic/technology_top.gif",
  "image/basic/space_c.gif",
  "image/basic/company_top.gif",
  "image/basic/space_d.gif",
  "image/basic/news_top.gif",
  "image/basic/space_e.gif",
  "image/basic/contact_top.gif",
  "image/basic/space_f.gif",
  "image/basic/home_top.gif",
  "image/basic/space_g.gif",
  
  "image/basic/products_0.gif",
  "image/basic/technology_0.gif",
  "image/basic/company_0.gif",
  "image/basic/news_0.gif",
  "image/basic/contact_0.gif",
  "image/basic/home_0.gif",
  
  "image/basic/products_1.gif",
  "image/basic/technology_1.gif",
  "image/basic/company_1.gif",
  "image/basic/news_1.gif",
  "image/basic/contact_1.gif",
  "image/basic/home_1.gif",
  
  "image/basic/products_bottom.gif",
  "image/basic/technology_bottom.gif",
  "image/basic/company_bottom.gif",
  "image/basic/news_bottom.gif",
  "image/basic/contact_bottom.gif",
  "image/basic/home_bottom.gif",
  
  "image/basic/navi_space_bottom.gif"
]
					 // intern benoetigte Parameter
var load_next = 500 // Zeit in ms zwischen zwei Ladevorgaengen
var pos_array = 0

// Ladefunktion
function preload()
{
  // Naechstes Bild laden
  var new_image = new Image()
  new_image.src = preload_images[pos_array]
  // Noch Bilder zu laden?
  pos_array++
  if(pos_array < preload_images.length)
    setTimeout('preload()', load_next)
}

// Start der Vorladefunktion
function preload_start()
{
  // Bilder vorhanden?
  if(preload_images.length == 0)
    return
  // Pruefroutine starten
  setTimeout('preload()', load_next)
}
