// JavaScript Document


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}




var subactive=0;

var navtimer;



function subOver(id)

{ 

 window.clearTimeout(navtimer);  

if(subactive!=id && subactive>0)

  { 

    document.getElementById("subsub"+subactive).style.display="none";

  }

  if(document.getElementById("subsub"+id)!=null)

  {

     document.getElementById("subsub"+id).style.display="block";

     if(id!=subactive)subactive=id;  

   }

}







function wegsubnav(id)

{

 window.clearTimeout(navtimer); 

 if(document.getElementById("subsub"+id)!=null)

   document.getElementById("subsub"+id).style.display="none";

}













function geturl(str)

{

 document.location.href=str;

}





function mainnavover(id)

{

 document.getElementById("mn"+id).style.color="#ffffff";

}





function mainnavout(id)

{

 document.getElementById("mn"+id).style.color="#aaaaaa";

}









function subnavout(id)

{

 document.getElementById("sn"+id).style.color="#aaaaaa";

 document.getElementById("sn"+id).style.background='';

 navtimer = window.setTimeout('wegsubnav('+id+')',350);

}



function subsubnavout(id,idr)

{

 document.getElementById("sn"+id).style.color="#aaaaaa";

 document.getElementById("sn"+id).style.background='';

 navtimer = window.setTimeout('wegsubnav('+idr+')',350);

}





function startSearch(msg)

{

 if(document.getElementById("search").value=="")

 {

  alert(msg);

  document.getElementById("search").focus();

  return false;	

 }

 else document.suche.submit();		

}
