 
var documentReadyListeners = new Array();
 
/**
 * Keeps an array of all registered document ready listeners. This
 * are invoked when the page is loaded by full page load or AJAX
 */

 function documentReady(fnName){
 documentReadyListeners.push(fnName);
}
 
/**
 * Invokes all registered document ready listeners
 */
 
function invokeDocumentReadyListeners(firesifr){
 for(var i=0; i<documentReadyListeners.length; i++)
 {
  eval(documentReadyListeners[i] + "()");
 } 
}
 
/**
 * Define the global document ready handler
 */

 jQuery(document).ready(function(){
    invokeDocumentReadyListeners(false);
});
 
 
/**************************************************************/
/*              		EDIT BELOW THIS LINE          						*/
/**************************************************************/

documentReady("mainNavigation");


function mainNavigation() {
	  
  $('ul.nav > li > ul').hide();

  $('ul.nav > li').hover(
    function (){
      $(this).children('ul').show();
    },
    function () {
      $(this).children('ul').hide();
    }    
  );
  	
}

 function TextOnFocus(sender,text)
    {
        if (sender.value == text)
         { 
            sender.value='';
         }
         
    }
    function TextOnBlur(sender,text)
    {
        if (sender.value == '') 
        {
            sender.value=text; 
        }
    }


