
$(document).ready(function(){
	$("#nav-one li").hover(
		function(){ $("ul", this).fadeIn("fast"); }, 
		function() { } 
	);
	if (document.all) {
		$("#nav-one li").hoverClass ("sfHover");
	}
	
	//isolate last nav item
	$("#nav-one li:last").addClass("end")
	
	//h3 heading styling
	$("#contentHolder h3").before("<div class='headingTop'>&nbsp;</div>");
	$("#contentHolder h3").after("<div class='headingBottom'>&nbsp;</div>")
	
	//sidebar heading styling
	$("#sidebar .title").before("<div class='sidebarHeadingTop'>&nbsp;</div>");
	$("#sidebar .title").after("<div class='sidebarHeadingBottom'>&nbsp;</div>")
	
	
	
	

	
	
});

$.fn.hoverClass = function(c) {
	return this.each(function(){
		$(this).hover( 
			function() { $(this).addClass(c); },
			function() { $(this).removeClass(c);}
		);
	});
};	



