	// <![CDATA[
	
	
	var aSecondary = null ;
	var navXPos = 0 ;
	
	function openSecondary(target, ref)
	{
	
		var refObj ;
		var targetObj ;
		
		refObj = document.getElementById(ref) ;
		targetObj = document.getElementById(target) ;
		
		
		refObj.style.left = (findPosX( targetObj ) - navXPos).toString() + 'px' ;
		
		
		if (aSecondary == null )
		{
			refObj.style.display = "block" ;
			aSecondary = refObj ;
		}
		else
		{
			aSecondary.style.display = "none" ;
			refObj.style.display = "block" ;
			aSecondary = refObj ;
		}
		
	}
	
	function closeSecondary()
	{
		if (aSecondary != null)
		{
			aSecondary.style.display = "none";
			aSecondary = null ;
		}
	}
	
	
	function setNavXPos()
	{
		navXPos = findPosX( document.getElementById('pn-1') ) ;
	}
	
	function resizeInit()
	{
		setNavXPos() ;
	}
	
	function primaryRollovers()
	{
			/*  ABOUT US  */

				document.getElementById('pn-1').onmouseover = function()
				{
					
					openSecondary('pn-1', 'sn-1') ;
					mouse(this, true) ;
				}
				document.getElementById('pn-1').onmouseout = function()
				{
					mouse(this, false) ;
				}
				

			
			/*  PROGRAMS  */

				document.getElementById('pn-2').onmouseover = function()
				{				
					
					openSecondary('pn-2', 'sn-2') ;
					mouse(this, true) ;
				}
				document.getElementById('pn-2').onmouseout = function()
				{
					mouse(this, false) ;
				}


			
			
			/*  RESOURCE CENTRE  */

				document.getElementById('pn-3').onmouseover = function()
				{
					
					openSecondary('pn-3', 'sn-3') ;
					mouse(this, true) ;
				}
				document.getElementById('pn-3').onmouseout = function()
				{
					mouse(this, false) ;
				}
			
			

	}
	
	function initMenu()
	{
		
		
		primaryRollovers() ;
		
		
		var ids = new Array( 'sn-1','sn-2','sn-3', 'sn-4' ) ;
		
		for ( i = 0 ; i < ids.length ; i++ )
		{
			document.getElementById(ids[i]).style.display = "none" ;
			//document.getElementById(ids[i]).style.width = "auto" ;
		}			
	}

	
	
	// ]]>