function dropDown(){

	$('#sub_nav > li').hover(
	function(){
	$(this).toggleClass('active');
	},
	function(){
	$(this).toggleClass('active');
	}
	);
} 


$(document).ready(function() {




		// Preload all rollovers

		
		// Determine the active section button
		/*
				if (location.pathname.substring(1)) {
			// get the path
			thePath = location.pathname.substring(1);
			thePath = thePath.match(/^\/?([a-z0-9_\.-]+)/); // only get the first part of the path

			thePath = '/' + thePath[0];

			navLink = $('#nav a[@href$="' + thePath + '"], #subnav a[@href$="' + thePath + '"]');
			imgsrc = $(navLink).children("img").attr("src");
			if (imgsrc) {
			imgsrcON = imgsrc.replace(/.gif$/ig,"_over.gif"); // strip off .gif
			$(navLink).children("img").attr("src", imgsrcON);
			}
		}

	$("form.vote").submit(function() {
		var vote = $("input[name='items[vote]']");
		return vote.val() != "null";
	});
	*/
	dropDown();
});
