﻿
        $(function() {
            // run the code in the markup!
            $('pre code').each(function() {
                eval($(this).text());
            });
        });
  
$(document).ready(function() {
    $("#nav-one li").hover(
				function() { $("ul", this).fadeIn("fast"); },
				function() { }
			);
    if (document.all) {
        $("#nav-one li").hoverClass("sfHover");
    }
});
$(document).ready(function() {
    $("#navsingle-one li").hover(
				function() { $("ul", this).fadeIn("fast"); },
				function() { }
			);
    if (document.all) {
        $("#navsingle-one li").hoverClass("sfHover");
    }
});
$.fn.hoverClass = function(c) {
    return this.each(function() {
        $(this).hover(
					function() { $(this).addClass(c); },
					function() { $(this).removeClass(c); }
				);
    });
};	