
function movein(which)
{
which.style.background='#33FFFF'
which.style.color='black'
which.style.cursor='hand'
}

function moveout(which)
{
which.style.background='black'
which.style.color='white'

}

function movein2(which)
{
which.style.background='red'
which.style.color='white'
which.style.cursor='hand'
}

function moveout2(which)
{
which.style.background='black'
which.style.color='white'

}

	
	var bAnimate = true;
	var nStep = 4000;
	var nDelay = 30;
	var nChunk;
	var wLevel;
	var useragent = navigator.userAgent;
		
	// filter all but IE 4.x on Win32  
	if (useragent.indexOf("MSIE")==-1)
	{ } 
	else {
		if ((navigator.appVersion.substring(0,1) < 4) || 
		    (useragent.indexOf("Windows 3.1") != -1) ||
		    (useragent.indexOf("X11") != -1) ||
		    (useragent.indexOf("Mac") != -1))
	    {
	  }	
     }    
  		
	
		function doMenu(id, x, y, wMenu)
		{
		var thisMenu = document.all(id);
		wLevel = wMenu;
	   	if (thisMenu == bottomMenu   || thisMenu == topMenu)
		   {
			window.event.cancelBubble = true;
			return false;
		   }
		   
		if (wMenu == 1)
          if (topMenu != null) topMenu.style.display = "none";  
		if (wMenu == 2)
          if (bottomMenu != null) bottomMenu.style.display = "none";
  
		
		window.event.cancelBubble = true;
		if( x < 0)
		   	x = document.body.clientWidth + x;
				  
		thisMenu.style.left = x;
		thisMenu.style.top = y;

		if (wMenu == 2)
          {
	      topMenu.style.display = "none";		
		  bottomMenu = thisMenu; 
		  }
		if (wMenu == 1)
          {		
	      bottomMenu.style.display = "none";	
		  topMenu = thisMenu;   
		  
		  }

	    if (bAnimate)
		   {
			thisMenu.style.clip = "rect(0 0 0 0)";
			thisMenu.style.display = "block";
			nChunk = nStep;
   			window.setTimeout("showMenu()", nDelay);
			showMenu();
			}
		else 
		   {
	        bottomMenu.style.display = "";
			topMenu.style.display = "";
			}
    }
	
		
	function showMenu()
	  {
	   if (wLevel == 2)
		  bottomMenu.style.clip = "rect(0 "+ nChunk + "% " + nChunk + "% 0)";
		if (wLevel == 1)
		  topMenu.style.clip = "rect(0 "+ nChunk + "% " + nChunk + "% 0)";
         nChunk += nStep;
	     nChunk<=100?window.setTimeout("showMenu()",nDelay):null
		
	}

	function hideMenu()
	  {
	  bottomMenu.style.display = "none";
	  bottomMenu=RAPMenu;
      topMenu.style.display = "none";
	  topMemu=KLDAMenu;
	  
	  window.event.cancelBubble = true;
	  }

	function keepMenu(){
		window.event.cancelBubble = true;
	}

    document.onmouseover = hideMenu; 

