
// ############################ JQUERY DOM READY FUNCTION -------------------------------------->>>>
$(document).ready(function(){

// ############################ Navigation roll overs start
    $('li.headlink').hover(
      function() { 
// Animate in:         
//        $('ul', this).slideDown('normal').show();     
        if($('ul', this).siblings('a').length){
          $('ul', this).css('display', 'block'); 
          $('ul', this).parent(".headlink").css('background','#FEFEFE');
          $('ul', this).siblings('a').css("color", "#ff0000");
        }else{
          $(this).css('background','#FEFEFE');
          $('a', this).css("color", "#ff0000");
        }

      },
      function() { 
// Animate out:       
//        $('ul', this).slideUp('fast').show();
        $('ul', this).css('display', 'none');
        if($('ul', this).siblings('a').length){
          $(this).css('background','#003366');
          $('ul', this).siblings('a').css("color", "#ffffff");
        }else{
          $('a', this).css("color", "#ffffff");
          $(this).css('background','#003366'); 
        }

      }
    );
//--- remove "current" class so rollovers function correctly
    $("li.current").hover(
      function() { 
      $(this).removeClass("current")
      },
      function() {
      $(this).addClass("current")
      }
    );
// ############################ Navigation roll overs end





});
// ############################ JQUERY DOM READY FUNCTION END--------------------------------------||||

// ---------------------- global open spotlight:
function openSpotlight(who){
newwin = window.open(who,"Spotlight","height=650,width=790,resizable,scrollbars=yes")
}
