
$(document).ready(function() {   

    Cufon.replace(['#pagecontent .content h1'], {
        hover: true
    });

    Cufon.replace(['#pagecontent .content-properties h1'], {
        hover: true
    });
	
	$("#pagecontent .content img").each(function() {
	    if ($(this).hasClass("inline"))
	        {
	            
	        }
	    else 
	        {
	            $(this).addClass("photo");
	        }
	});
	$(".nav ul li a").wrap("<span></span>");
});

$(document).ready(function(){
    $("#nav-one li").hover(
        function(){ $("ul", this).fadeIn("fast"); }, 
        function() { } 
    );
    if (document.all) {
        $("#nav-one li").hoverClass ("sfHover");
    }
});

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

