/************************************************/
/* fudder.js                     	   			*/
/* copyright 2006 fudder.de				        */
/*											 	*/
/************************************************/
// based on suckerfish dropdowns: http://www.alistapart.com/articles/dropdowns
setUpDropdowns = function()
{
	if (document.all&&document.getElementById)
	{	
		// get the navlist nose and iterate through its children
		navRoot = document.getElementById("navlist");
		
		for (i=0; i<navRoot.childNodes.length; i++)
		{
			node = navRoot.childNodes[i];
			// if its an LI
			if (node.nodeName=="LI")
			{	
				// add mouseover and mouseout functions to change the class
				node.onmouseover=function()
				{
					this.className+="over";
					// Tom Test
					//alert(this.className);
  				}
  				node.onmouseout=function()
				{
  					this.className=this.className.replace("over", "");
					
   				}
				// then add the same thing for the ul
				for( j=0; j<node.childNodes.length; j++ )
				{
					if( node.childNodes[j].nodeName == "UL" )
					{
						node.childNodes[j].onmouseover=function()
						{
							this.className+="over";
							
							tomsCheck = this.className;
							if(tomsCheck=='navsub25over'){
								//alert(this.className);
								this.style.margin = "0px 0px 0px -66px";
							}
							
						}
						node.childNodes[j].onmouseout=function()
						{
							this.className=this.className.replace("over", "");
						}
					}
				}
   			}
  		}
 	}
}
window.onload=setUpDropdowns;

/*Positionierung des Sky-Banner bei OMS-Wallpaper*/

var adlWallPaperTop=0;
//var adlWallPaperLeft=786;
var adlWallPaperLeft=798;

