﻿
$j = jQuery.noConflict();
$j(function() {
  $j('#top_menu li').hover(
    function(event) {
      if (!$j(this).hasClass('selected'))
      {
        $j(this).addClass('hover');
      }            
    }, 
    function(event) {
      if (!$j(this).hasClass('selected'))
      {
        $j(this).removeClass('hover');
      }
    });
  $j('#top_menu li a').each(function(n) {
    var location = $j(this).attr('href');
    $j(this).parent().css('cursor', 'pointer').bind('click', function() {
      window.location.href = location;
    });
  });        
});
