
jQuery.fn.fadeIn = function(speed, callback) {
	return this.animate({opacity: 'show'}, speed, function() {
		if (jQuery.browser.msie)
			this.style.removeAttribute('filter');
		if (jQuery.isFunction(callback))
			callback();
	});
};
jQuery.fn.fadeOut = function(speed, callback) {
	return this.animate({opacity: 'hide'}, speed, function() {
		if (jQuery.browser.msie)
			this.style.removeAttribute('filter');
		if (jQuery.isFunction(callback))
			callback();
	});
};
jQuery.fn.fadeTo = function(speed,to,callback) {
	return this.animate({opacity: to}, speed, function() {
		if (to == 1 && jQuery.browser.msie)
			this.style.removeAttribute('filter');
		if (jQuery.isFunction(callback))
			callback();
	});
};



$(function(){

      $('#main_>li>ul').hide();
	  
	  //$('#main_>li').fadeTo('fast',0.80);
	  //$('#footer_>ul>li').fadeTo('fast',0.80);
	  //$('#search_ a').fadeTo('fast',0.80);
	  //$('#utility_>li>a').fadeTo('fast',0.80);

      $('#main_>li').hover(function() {
 		//	$(this).fadeTo('fast',1.0);
			//$(this).fadeTo('fast',0.80);
           $('ul', this).fadeIn('fast');
		   //$('a', this).removeClass('dim');

      }, function() {

		//	$(this).fadeTo('fast',0.80);
			//$(this).fadeTo('fast',1.0);
            $('ul', this).fadeOut('fast');
		   //$('a', this).addClass('dim');

      });
	
	 $('#footer_>ul>li>a').hover(function() {
			$(this).fadeTo('fast',1.0);
      }, function() {
           $(this).fadeTo('fast',0.80);
      });
	  
	$('#search_ a').hover(function() {
			$(this).fadeTo('fast',1.0);
      }, function() {
           $(this).fadeTo('fast',0.80);
      });
			
	 $('#utility_>li>a').hover(function() {
			$(this).fadeTo('fast',1.0);
      }, function() {
			$(this).fadeTo('fast',0.80);
      });

});

