        function findPos(obj) {
        	var curleft = curtop = 0;
        	if (obj.offsetParent) {
        		curleft = obj.offsetLeft
        		curtop = obj.offsetTop
        		while (obj = obj.offsetParent) {
        			curleft += obj.offsetLeft
        			curtop += obj.offsetTop
        		}
        	}
        	return [curleft,curtop];
        }      
      	
	  $(function(){

		$('#menu li.outer').hover(
        
		
		  function() {
          
            // uncomment this and change "350" to pos[0] if you want the submenus to line up with the menu items
            //var pos = findPos(this.childNodes[0]);
		    
		    $(this).find('ul.flyout').css('left', 350).show();
		  
		  }, 
          function() {
          
            $(this).find('ul.flyout').hide();
		  
		  }
		  
		);
        
        $('a[@rel="external"]').click(function(){window.open(this.href);return false;});

	  })