No3 = (parseInt(navigator.appVersion) > 3) ? 1:0;
if (navigator.userAgent == "Mozilla/4.0 (compatible; MSIE 4.5; Mac_PowerPC)") { No3 = 0; }


if (document.layers && No3) layer="document.layers['L'+menu]"; // If Netscape 4.x
if (document.getElementById && !document.all) layer="document.getElementById('L'+menu).style"; // If Netscape 6
if (document.all && No3) layer="document.all['L'+menu].style"; // If Internet Explorer

var timer;

function move(menu){
if (document.getElementById) {
 startY=document.body.scrollTop; 
 startX=document.body.scrollLeft; 
 }
else {
 startY=window.pageYOffset ;
 startX=window.pageXOffset ;
}

for(i=0; i<arguments.length; i++){
 menu=arguments[i];

 if (document.getElementById && !document.all) {
  eval("document.getElementById('L"+menu+"').style.top=startY+Layer["+menu+"].top+7;");
  eval("document.getElementById('L"+menu+"').style.left=startX+Layer["+menu+"].left;");
  }
 if (document.layers) {
  eval("document.L"+menu+".top=startY+Layer["+menu+"].top+7;");
  eval("document.L"+menu+".left=startX+Layer["+menu+"].left;");
  }
 if (document.all) {
  eval("document.all.L"+menu+".style.top=startY+Layer["+menu+"].top;");
  eval("document.all.L"+menu+".style.left=startX+Layer["+menu+"].left;");
  }
 }
}




function Show() { if(layer) {
 if(timer) clearTimeout(timer);
 for(menu=0; menu<Layer.length; menu++) { if(Layer[menu]) { eval(layer).visibility = "hidden"; } }
 for(i=0; i<arguments.length; i++) { menu=arguments[i]; eval(layer).visibility = "visible"; }
} }

function Hide() { timer = setTimeout("Show()", 200); }

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

 hovercolor   = "#f5f5f5";//"#2b63a8" // color name/code
 menucolor   = "#987CE3"; //"#4a62a9"     // color name/code 
 bgcolor      =  "#987CE3"; //"#3479c5"    // color name/code
 background   = "";   // picture url
 menu_border  = 1;   // IE only
 border_color = "#333333"; // IE only
 arrow_pic    = "images/tri.gif";
//////////////////////////////////////////////////////

if(document.all) { if(!background) { background=bgcolor; } 
else { background = "url("+background+")"; } }

if(document.all) { type="navbottom"; } else { type="navbottom2" } // Selection of CSS for the menus navbottom for IE and navbottom2 for NS

function LayerSpecs(Left,Top,Width) { if(No3) {
 if(!document.all) { 
 // NETSCAPE
  this.left = Left-2;
  this.top = Top-2;
 }
 else {
 // EXPLORERS
    this.left  = Left;
    this.top   = Top;    
 }
 
 this.info  = "";
 T=0;
 for(i=3; i<arguments.length; i++) {
  if(document.layers) {
   if (arguments[i].substr(1,3)!="NOB"){
    this.info += "<LAYER onMouseOver='this.bgColor=\""+hovercolor+"\"' onMouseOut='this.bgColor=\""+bgcolor+"\"' WIDTH="+Width+" height=15 POSITION=RELATIVE TOP="+T+"><font class=navbottom2> "+arguments[i]+"</font></LAYER>";} else {this.info += "<LAYER  bgcolor="+menucolor+" onMouseOver='this.bgColor=\""+hovercolor+"\"' onMouseOut='this.bgColor=\""+menucolor+"\"' WIDTH="+Width+" height=15 POSITION=RELATIVE TOP="+T+"><font class=navbottom2> "+arguments[i]+"</font></LAYER>";
   }
  }
  if(document.getElementById && !document.all) { 
   if (arguments[i].substr(1,3)!="NOB"){
    this.info += "<TR><TD WIDTH="+Width+" height=15 ><font class=navbottom> </font>"+arguments[i]+"</TD></TR>";}else{this.info += "<TR><TD WIDTH="+Width+" height=15 bgColor="+menucolor+" onMouseOver='this.bgColor=\""+hovercolor+"\"' onMouseOut='this.bgColor=\""+menucolor+"\"'><font class=navbottom> </font>"+arguments[i]+"</TD></TR>";
   } 
  }
  if(document.all) { 
   if (arguments[i].substr(1,3)!="NOB"){
    this.info += "<TR><TD WIDTH="+Width+" height=15 onMouseOver='this.bgColor=\""+hovercolor+"\"' onMouseOut='this.bgColor=\""+bgcolor+"\"'><font class=navbottom> </font>"+arguments[i]+"</TD></TR>";}else{this.info += "<TR><TD WIDTH="+Width+" height=15 bgColor="+menucolor+" ><font class=navbottom> </font>"+arguments[i]+"</TD></TR>";
   } 
  }
  T+=15;
 }
} }

Layer = new Array();
arrow = "  <span class=\"nav1\">>></span>";
blank="   -";

   if(document.all){
      windowWidth = document.body.clientWidth;
      windowHeight = document.body.clientHeight;
   }else{
      windowWidth = innerWidth;
      windowHeight = innerHeight;
   }
if (windowWidth>800) startX=(windowWidth-780)/2; else startX=0;
startY=0;

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

/* Create Your layers below by typing:
  Layer[incrementing number] = new LayerSpecs(Left Position, Top Position, Width, List of Links Seperated by Commas)
  If a layer has a sublayer, add onMouseOver="Show(Layer Number to Open, Current Layer, Any Layers Opened before the current layer (sepurated by commas)
*/

Layer[1] = new LayerSpecs(startX,145,190
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=webdesign" class='+type+'>Webdesign</a>'
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=preise" class='+type+'>Preise</a>'


);

Layer[2] = new LayerSpecs(startX+140,145,200
,blank +'<a href="http://www.wmserv.de/neuehp/index.php?seite=serverhousing" class='+type+'>Serverhousing</a>'
  

);


Layer[3] = new LayerSpecs(startX+300,145,140
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=cms" class='+type+'>Content-Managment</a>'
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=shop" class='+type+'>Online-Shops</a>'
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=kk" class='+type+'>KK-Antrag</a>'
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=domain" class='+type+'>Domain-Check</a>'
);


Layer[4] = new LayerSpecs(startX+400,145,100 
,blank + '<A href="index.php" class='+type+'>Home</a>'

   
);

Layer[5] = new LayerSpecs(startX+485,145,140
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=webhosting1" class='+type+'>Webhosting 10 MB</a>'
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=webhosting2" class='+type+'>Webhosting 25 MB</a>'
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=webhosting3" class='+type+'>Webhosting 50 MB</a>'
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=webhosting4" class='+type+'>Webhosting 100 MB</a>'
,blank + '<A href="http://www.wmserv.de/neuehp/index.php?seite=webhosting5" class='+type+'>Webhosting 500 MB</a>'
 
);



Layer[6] = new LayerSpecs(startX+550,145,140
,blank + '<A href="http://wmserv.de/neuehp/index.php?seite=agb" class='+type+'>AGB</a>'
,blank + '<A href="http://wmserv.de/neuehp/index.php?seite=impressum" class='+type+'>Impressum</a>'
,blank + '<A href="http://wmserv.de/neuehp/index.php?seite=kontakt" class='+type+'>Kontakt</a>'

);


Layer[7] = new LayerSpecs(startX+700,145,130
,blank + '<A href="" class='+type+'></a>'
);



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

j = (Layer[0]) ? 0:1;

for(i=j; i<Layer.length; i++) {

 if(document.getElementById && !document.all) { 
  document.write("<span onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' ID='L"+i+"' STYLE='position:absolute; visibility:hidden; z-index:10;background:"+background+"; width:"+Layer[i].width+"; top:"+Layer[i].top+"; left:"+Layer[i].left+";'><TABLE cellpadding=1 bgcolor='"+bgcolor+"' cellspacing=0 STYLE='border:solid "+menu_border+" "+border_color+"'>"+Layer[i].info+"</TABLE></span>"); 
 }
 if(document.layers && No3) {
  document.write("<LAYER onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' ID='L"+i+"' POSITION=ABSOLUTE VISIBILITY=HIDDEN BGCOLOR='"+bgcolor+"' BACKGROUND='"+background+"'  WIDTH="+Layer[i].width+" TOP="+Layer[i].top+" LEFT="+Layer[i].left+">"+Layer[i].info+"</LAYER>"); 
 }
 if(document.all && No3) { 
  document.write("<SPAN onMouseOver='clearTimeout(timer)' onMouseOut='Hide("+i+")' ID='L"+i+"' STYLE='position:absolute; visibility:hidden; background:"+background+"; width:"+Layer[i].width+"; top:"+Layer[i].top+"; left:"+Layer[i].left+";'><TABLE cellpadding=1 cellspacing=0 STYLE='border:solid "+menu_border+" "+border_color+"'>"+Layer[i].info+"</TABLE></SPAN>"); 
 }
}




 
