// <script language="JavaScript1.2">
/***********************************************
* Sliding Menu Bar Script- © Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
***********************************************/

var slidemenu_width=220 //specify width of menu (in pixels)
var slidemenu_reveal=1 //specify amount that menu should protrude initially
var slidemenu_top=11  //specify vertical offset of menu on page

var ns4=document.layers?1:0
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
var ns6=document.getElementById&&!document.all?1:0

var baseURL = ''  // the relative path to the baseURL


if (ie4||ns6){
   document.write('<style>\n#slidemenubar2{\nposition:absolute;border:1.5px solid #0000aa;background-color:#00003f;layer-background-color:#00003f;font:12px Verdana;line-height:18px;}\n<\/style>\n')
   document.write('<div id="slidemenubar2" style="left:' +
    ((slidemenu_width-slidemenu_reveal)*-1)+'; top:'+slidemenu_top+'; width:'+slidemenu_width +
    '" onMouseover="pull()" onMouseout="draw()">')
}
else if (ns4){
   document.write('<style>\n#slidemenubar{\nwidth:'+slidemenu_width+';position:absolute;border:1.5px solid blue;background-color:#00003f;layer-background-color:#00003f;font:12px Verdana;color:white;line-height:18px;}\n<\/style>\n')
// document.write('<style>\n#slidemenubar{\nwidth:'+slidemenu_width+';position:absolute;border:1.5px solid blue;background-color:#00003f;layer-background-color:#00003f;font:12px Verdana;line-height:18px;}\n<\/style>\n')
   document.write('<layer id="slidemenubar" left=0 top='+slidemenu_top+' width='+slidemenu_width +
    ' onMouseover="pull()" onMouseout="draw()" visibility=hide>')
}




var sitems=new Array()
///////////Edit below/////////////////////////////////
//sitems[x]=["Item Text", "Optional URL associated with text"]

j=0;
sitems[j++]=["<b>HOME</b>",                         "../"]
sitems[j++]=["<b>Aktuell: Neues</b>",               "../new.html"]
sitems[j++]=["<hr><b>Leuchtfeuer:</b>",""]
sitems[j++]=["<b>Alphabetisch</b>",                 "../alphab.html"]
sitems[j++]=["<b>Nach Regionen</b>",                "../region.html"]
sitems[j++]=["-&nbsp;Ems</a>   &nbsp; / &nbsp; <a href='../regJad.html'>-&nbsp;Jade","../regEms.html"]
sitems[j++]=["-&nbsp;Nordsee Niedersachsen",        "../regNns.html"]
sitems[j++]=["-&nbsp;Weser</a> &nbsp; / &nbsp; <a href='../regElb.html'>-&nbsp;Elbe","../regWes.html"]
sitems[j++]=["-&nbsp;Nordsee Schleswig-Holstein",   "../regNsh.html"]
sitems[j++]=["-&nbsp;Ostsee Schleswig-Holstein",    "../regOsh.html"]
sitems[j++]=["-&nbsp;Ostsee Mecklenburg-Vorpommern","../regOmv.html"]
sitems[j++]=["-&nbsp;Ausland: Gran Canaria",        "../HTML/es/GranCanaria/index.html"]
sitems[j++]=["<b>Einzelthemen</b>",                 "../themes.html"]
sitems[j++]=["-&nbsp;Turmtypen",                    "../themes.html"]
sitems[j++]=["-&nbsp;Versetzung Lt Obereversand",   "../HTML/Oberev.html"]
sitems[j++]=["-&nbsp;Feuerschiffe",                 "../HTML/gtFMuseu.html"]
sitems[j++]=["<b>Links</b>",                        "../links.html"]
sitems[j++]=["<b>Kurzinfo. Leuchtfeuer</b>",        "../TEXT/ARCHIV/KURZINFO/index.html"]
sitems[j++]=["<hr><b>Andere Themen:</b>",""]
sitems[j++]=["Maritime Texte u.a.",                 "../TEXT/start.html"]
sitems[j++]=["Kunst: Radierungen",                  "../ART/BL/start.html"]
sitems[j++]=["<hr><b>Orientierung:</b>",""]
sitems[j++]=["Site-Map",                            "../sitemap.html"]
sitems[j++]=["Glossar",                             "../glossar.html"]
sitems[j++]=["Abk&uuml;rzungen",                    "../abkuer.html"]
sitems[j++]=["Kennungen der Feuer",                 "../kennun.html"]

//If you want the links to load in another frame/window, specify name of target (ie: target="_new")
var target=""

/////////////////////////////////////////////////////////

if (ie4||ns4||ns6) {
   document.write('\n')
   for (i=0;i<sitems.length;i++) {
   if (sitems[i][1])
      document.write('<a href="'+baseURL+sitems[i][1]+'" target="'+target+'">')
      document.write(sitems[i][0])
   if (sitems[i][1])
      document.write('</a>')
      document.write('<br>\n')
   }
}





function regenerate(){
   window.location.reload()
}


function regenerate2(){
   if (ns4){
      document.slidemenubar.left=((slidemenu_width-slidemenu_reveal)*-1)
      document.slidemenubar.visibility="show"
      setTimeout("window.onresize=regenerate",400)
   }
}
window.onload=regenerate2

rightboundary=0
leftboundary=(slidemenu_width-slidemenu_reveal)*-1

if (ie4||ns6) {
   document.write('</div>')
   themenu=(ns6)? document.getElementById("slidemenubar2").style : document.all.slidemenubar2.style
}
else if (ns4) {
   document.write('</layer>')
   themenu=document.layers.slidemenubar
}


function pull(){
   if (window.drawit)
   clearInterval(drawit)
   pullit=setInterval("pullengine()",10)
}


function draw(){
   clearInterval(pullit)
   drawit=setInterval("drawengine()",10)
}


function pullengine(){
   if ((ie4||ns6)&&parseInt(themenu.left)<rightboundary)
      themenu.left=parseInt(themenu.left)+10
   else if(ns4&&themenu.left<rightboundary)
      themenu.left+=10
   else if (window.pullit){
      themenu.left=0
      clearInterval(pullit)
   }
}


function drawengine(){
   if ((ie4||ns6)&&parseInt(themenu.left)>leftboundary)
      themenu.left=parseInt(themenu.left)-10
   else if(ns4&&themenu.left>leftboundary)
      themenu.left-=10
   else if (window.drawit){
      themenu.left=leftboundary
      clearInterval(drawit)
   }
}

// </script>

