// JavaScript Document
function onloading()
{
	var root = document.getElementById("navmenu");
	for(i=0 ;i< root.childNodes.length;i++)
	{  
		if(root.childNodes[i].nodeName == 'LI')
		{
			var innerChild = root.childNodes[i];
			
					innerChild.onmouseover = function()
					{ 
					
					var tagA = this.getElementsByTagName('DIV');
					if(tagA[0])
					tagA[0].style.display = 'block';
					
					var tagB = this.getElementsByTagName('A');
					if(tagB)
					tagB[0].className = 'active';
					
					}
					innerChild.onmouseout = function()
					{ 
					var tagA = this.getElementsByTagName('DIV');
					if(tagA[0])
					tagA[0].style.display = 'none';
					
					var tagB = this.getElementsByTagName('A');
					if(tagB)
					tagB[0].className = '';
					}
		}
	}
}
window.onload = onloading;



	
function showwheel(thechosenone) {
	  var tglCode = document.getElementsByTagName("div");
	  for(var x=0; x<tglCode.length; x++) {
			name = tglCode[x].getAttribute("name");
			if (name == 'radwheel') {
				  if (tglCode[x].id == thechosenone) {
						if (tglCode[x].style.display == 'block') {
							  tglCode[x].style.display = 'none';
						}
						else {
							  tglCode[x].style.display = 'block';
						}
				  }else {
						tglCode[x].style.display = 'none';
				  }
			}
	  }
}
	
