/* Declare a namespace for the site */
var Site = window.Site || {};

/* Create a closure to maintain scope of the '$'
   and remain compatible with other frameworks.  */
(function($) {
	
	// same as $(document).ready();
	$(function() {

		// Dropdown for Navigation

		$("nav ol li").hover(function(){

			$(this).addClass("hover");
			$('.category:first',this).css('display', 'block');

		}, function(){

			$(this).removeClass("hover");
			$('.category:first',this).css('display', 'none');

		});

		// Add ability to open link in new window, without breaking standards.
		
		$("a[rel=external]").attr("target","_blank");

	});


	$(window).bind("load", function() {
		
		
	
	});
	
})(jQuery);
