var ie;
var ns;

ns = (document.layers)? true:false;
ie = (document.all)? true:false;

function init(hoehe) {

if (ns)	textl  = document.text;			if (ie) textl  = text.style;
//initialisierung des Layers
}

//automatische Weiterleitung

// im select feld habe ich den value nothing mitgegeben, damit von dort aus nichts aufgerufen werden kann.
// das heisst wenn Du Überschriften einfügen möchtest oder Leerzeilen hast dann gib ihnen einfachd en value "nothing" mit
// else if (z == "hier muss der Text stehen, den du für den jeweiligen Punkt der Auswahlliste angegeben hast") das ist z.Bsp: <option value="gallery1"># 1</option>
// unter dem Punkt location.href='gibst Du hier den relativen Link an zu der Datei die angezeigt werden soll'
// für jeden weiteren Punkt in einer deiner Listen legst Du eine neue Zeile an. 
//Der else zweig muss aber immer am Ende stehen und braucht dich soweit nicht zu interessieren.

//wichtig falls du einmal ein ganz neues Drop Down Feld anlegen möchtest: der name des select-feldes muss immer menu sein!! 
//also: <select size="1" name="menu" onchange='weiter(menu.options[menu.options.selectedIndex].value)' width="154"> 
//diese zeile nicht verändern !!

function weiter(z) 
  {
 if (z == 'nothing') {} 
 
  
 else if (z == "gallery1")    location.href = 'hotspots/gallery/gallery_1.htm';  
 else if (z == "gallery2")    location.href = 'hotspots/gallery/gallery_2.htm';  
 else if (z == "gallery3")    location.href = 'hotspots/gallery/gallery_3.htm';  
 else if (z == "gallery4")    location.href = 'hotspots/gallery/gallery_4.htm';  
 else if (z == "gallery5")    location.href = 'hotspots/gallery/gallery_5.htm';  
 else if (z == "gallery6")    location.href = 'hotspots/gallery/gallery_6.htm';  
 else if (z == "gallery7")    location.href = 'hotspots/gallery/gallery_7.htm';  
 else if (z == "gallery8")    location.href = 'hotspots/gallery/gallery_8.htm';  
 else if (z == "gallery9")    location.href = 'hotspots/gallery/gallery_9.htm'; 
 else if (z == "gallery10")   location.href = 'hotspots/gallery/gallery_10.htm';   
 else if (z == "gallery11")   location.href = 'hotspots/gallery/gallery_11.htm';   
 else if (z == "gallery12")   location.href = 'hotspots/gallery/gallery_12.htm'; 
 else if (z == "gallery13")   location.href = 'hotspots/gallery/gallery_13.htm'; 
 else if (z == "gallery14")   location.href = 'hotspots/gallery/gallery_14.htm'; 
 else if (z == "gallery15")   location.href = 'hotspots/gallery/gallery_15.htm'; 
 else if (z == "list1")    location.href = 'hotspots/lists/list_6a.htm';  
 else if (z == "list2")    location.href = 'hotspots/lists/list_6b.htm';  
 else if (z == "list3")    location.href = 'hotspots/lists/list_6c.htm';  
 else if (z == "list4")    location.href = 'hotspots/lists/list_7a.htm';  
 else if (z == "list5")    location.href = 'hotspots/lists/list_7b.htm';  
 else if (z == "list6")    location.href = 'hotspots/lists/list_7c.htm';  
 else if (z == "list7")    location.href = 'hotspots/lists/list_8a.htm';  
 else if (z == "list8")    location.href = 'hotspots/lists/list_8b.htm'; 
 else if (z == "list9")    location.href = 'hotspots/lists/list_8c.htm'; 
 else if (z == "list10")    location.href = 'hotspots/lists/list_unbew.htm'; 
 else if (z == "franken")    location.href = 'links/franken.htm';  
 else if (z == "deutschland")    location.href = 'links/deutschland.htm';  
 else if (z == "international")    location.href = 'links/international.htm'; 
 else if (z == "naturschutz + co")    location.href = 'links/naturschutz.htm'; 
 else if (z == "spielregeln")    location.href = 'stuff/spielregeln.htm';  
 else if (z == "bewertung")    location.href = 'stuff/bewertung.htm';  
 else if (z == "kennzeichnung")    location.href = 'stuff/kennzeichnung.htm';  
 else if (z == "naturschutz")    location.href = 'stuff/naturschutz.htm';  
 else if (z == "gill")    location.href = 'stuff/gill.htm';  
 else if (z == "bouldering")    location.href = 'stuff/bouldering.htm';  
 else if (z == "lizenz")    location.href = 'stuff/lizenz.htm';  
 else if (z == "peak")    location.href = 'stuff/peak.htm'; 
 else if (z == "lowcut")    location.href = 'stuff/lowcut.htm'; 
 else if (z == "wallpapers")    location.href = 'stuff/wallpapers.htm'; 
 else if (z == "e-cards")    location.href = 'cards/card.html'; 
 else 
     {   
     document.forms[0].reset();
     document.forms[0].elements[0].blur();
     }
 }
 

 
