// JavaScript Document

jQuery(document).ready(function(){
	jQuery(".menu ul li div").hide();
	jQuery(".menu ul li").hover(
		function(){ jQuery("div", this).fadeIn(300); /*jQuery(this).animate({"backgroundColor":"#afafaf"},200);*/ }, 
		function() { jQuery("div", this).fadeOut(300); /*jQuery(this).animate({"backgroundColor":"#ebebeb"},200);*/	} 
	);
	if (document.all) {
		jQuery(".menu ul li").hoverClass ("sfHover");
	}
});

jQuery.fn.hoverClass = function(c) {
	return this.each(function(){
		jQuery(this).hover( 
			function() { jQuery(this).addClass(c);  },
			function() { jQuery(this).removeClass(c); }
		);
	});
};


function rollIn(e) {
	/*jQuery(e).animate({"backgroundColor":"#afafaf"},100);*/
}

function rollOut(e) {
	/*jQuery(e).animate({"backgroundColor":"#ebebeb"},100);*/
}
