(function($) { 
		  
	function externalLinks() { if (!document.getElementsByTagName) return; var anchors = document.getElementsByTagName("a"); for (var i=0; i<anchors.length; i++) { var anchor = anchors[i]; if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank"; } } window.onload = externalLinks;
	
	$(document).ready(function() {
		$('.subnav').hide();
	
		$('#Navigation ul li').hover(function(){
			$('ul', this).show();
			$(this).find('a').addClass('active');
		},function(){
			$('ul', this).hide();
			$(this).find('a').removeClass('active');
		});
		
		$('a.vidGo').click(function(ev){
			$(this).next('.videoOn').show();
			ev.preventDefault();
			ev.stopPropagation();
			return false;
		});
		
		$('a.vidStop').click(function(){
			$(this).parent('.videoOn').hide();
			return false;
		});
		
	});
	
})(jQuery); 

