// JavaScript Document
var ch;

Menu = function() 
	{
		if (document.getElementById("text_pop")) 
		{
			navRoot = document.getElementById("text_pop");
			
			for (i=0; i<navRoot.childNodes.length; i++) 
			{
				node = navRoot.childNodes[i];
				node.className = 'none';
				
					if (node.nodeName=="LI") 
					{
						node.onclick=function() 
						{	
						
							if	(this.className=='none')
								{
									for (j=0; j<navRoot.childNodes.length; j++)
										{
											node = navRoot.childNodes[j];
											node.className = 'none';		
										}
									this.className ='over';
								}
							else
								{
									this.className = 'none';
								}
							
					}


					}// end IF
				

				
			} //end for
			
		}// end if
		
	} // end function



window.onload=Menu;
