<!--
var cssmenuids=["cssmenu1"] //Enter id(s) of CSS Horizontal UL menus, separated by commas
var csssubmenuoffset=-1 //Offset of submenus from main menu. Default is 0 pixels.

function createcssmenu2(){
for (var i=0; i<cssmenuids.length; i++){
  var ultags=document.getElementById(cssmenuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
			ultags[t].style.top=ultags[t].parentNode.offsetHeight+csssubmenuoffset+"px"
    	var spanref=document.createElement("span")
			spanref.className="arrowdiv"
			spanref.innerHTML="&nbsp;&nbsp;&nbsp;&nbsp;"
			ultags[t].parentNode.getElementsByTagName("a")[0].appendChild(spanref)
    	ultags[t].parentNode.onmouseover=function(){
					this.style.zIndex=100
    	this.getElementsByTagName("ul")[0].style.visibility="visible"
					this.getElementsByTagName("ul")[0].style.zIndex=0
    	}
    	ultags[t].parentNode.onmouseout=function(){
					this.style.zIndex=0
					this.getElementsByTagName("ul")[0].style.visibility="hidden"
					this.getElementsByTagName("ul")[0].style.zIndex=100
    	}
    }
  }
}

if (window.addEventListener)
window.addEventListener("load", createcssmenu2, false)
else if (window.attachEvent)
window.attachEvent("onload", createcssmenu2)

function menu()
{
// Anzahl
var a
// Arrays
var z= new Array(a)
var p= new Array(a)
var text1  = "javascript:ext('1','mein.lauftreff-soest','');"
var text2  = "javascript:ext('1','mein.lauftreff-soest','');"
// Pfad oder Link plus '> plus Text
z[00] = '<div class="horizontalcssmenu">'
z[01] = '<ul id="cssmenu1">'
z[02] = '<li><a class="xlnkw" href="index.php?men=0"><p class="men">startseite</p></a></li>'
z[03] = '<li><a class="xlnkw" href="index.php?men=1"><p class="men">neuigkeiten</p></a></li>'
z[04] = '<li><a class="xlnkw" href="index.php?men=2"><p class="men">&nbsp;&nbsp;ergebnisse</p></a><ul><li><a class="xlnkw" href="index.php?men=2"><p class="men">bestenlisten</p></a></li><li><a class="xlnkw" href="index.php?men=3"><p class="men">ergebnislinks</p></a></li></ul></li>'
z[05] = '<li><a class="xlnkw" href="index.php?men=5"><p class="men">strecken</p></a></li>'
z[06] = '<li><a class="xlnkw" href="index.php?men=6"><p class="men">triathlon</p></a></li>'
z[07] = '<li><a class="xlnkw" href="index.php?men=7"><p class="men">&nbsp;&nbsp;info</p></a><ul><li><a class="xlnkw" href="index.php?men=7"><p class="men">kontakt</p></a></li><li><a class="xlnkw" href="index.php?men=4"><p class="men">termine</p></a></li><li><a class="xlnkw" href="index.php?men=8"><p class="men">links</p></a></li><li><a class="xlnkw" href="index.php?men=9"><p class="men">impressum</p></a></li><li><a class="xlnkw" href="http://www.disclaimer.de/disclaimer.htm?farbe=ffffff/000000/000000/000000" target="_blank"><p class="men">haftungsausschluss</p></a></li><li><a class="xlnkw" href="index.php?men=11"><p class="men">statistik</p></a></li><li><a class="xlnkw" href="index.php?men=12"><p class="men">archiv</p></a></li></ul></li>'
z[08] = '<li><a class="xlnkw" href="javascript:ext(&#39;1&#39;,&#39;mein.lauftreff-soest&#39;,&#39;&#39;);"><span style="color:red"><p class="men">login</p></span></a></li>'
z[09] = '</ul><br style="clear: left;" />'
z[10] = '</div>'
// Position der Menuzeile
p[00] = 0
p[01] = 1
p[02] = 2
p[03] = 3
p[04] = 4
p[05] = 5
p[06] = 6
p[07] = 7
p[08] = 8 
p[09] = 9
p[10] = 10

a=p.length;
for (i = 0; i < a; i++)
{
  document.write(z[p[i]])
  }
}
function ext( typ, mitte, rest ) {
  var vorne1  = 'http://www.';
  var vorne2  = 'http://';
  var vorne3  = 'mein.lauftreff-soest';
  var hinten1 = '.de';
  var hinten2 = '.com';
  var hinten3 = '.org';
  var hinten4 = '.net';
  var hinten5 = '.info';
  var hinten6 = '.php';
  var rest1   = '?v_id=';
  var rest2   = '?f_id=';
  var url;
  if ( typ == '1' ) { url = vorne1 + mitte + hinten1 + rest; }
  if ( typ == '2' ) { url = vorne1 + mitte + hinten2 + rest; }
  if ( typ == '3' ) { url = vorne2 + mitte + hinten2 + rest; }
  if ( typ == '4' ) { url = vorne2 + mitte + hinten3 + rest; }
  if ( typ == '5' ) { url = vorne2 + mitte + hinten1 + rest; }
  if ( typ == '6' ) { url = vorne1 + mitte + hinten4 + rest; }
  if ( typ == '7' ) { url = vorne1 + mitte + hinten5 + rest; }
  if ( typ == '8' ) { url = vorne1 + mitte + hinten3 + rest; }
  if ( typ == '9' ) { url = vorne1 + vorne3 + hinten1 + '/home/' + mitte + '0' + hinten6 + rest1 + rest; }
  if ( typ == '10' ) { url = vorne1 + vorne3 + hinten1 + '/home/' + mitte + '0' + hinten6 + rest2 + rest; }
  window.open( url );
}
//-->

