window.onload = function() {
	
	$(".shadow").dropShadow({left: 0, top: 0, blur: 1, opacity: 0.2});	
	
};

$(document).ready(function(){	
	$("table.stripe").each(function(){
$(this).find("tr:odd").addClass("odd");
$(this).find("tr:even").addClass("even");
});
	$('a[href^="http"]').attr({target: "_blank", title: "Opens in a new window"});
	
	$('ul.nav > li').hover(
			function(){
				$('ul', this).stop(true, true).slideDown("fast")
			},
			function(){ 
				$('ul', this).stop(true, true).slideUp("fast")
			});
	
	$('ul.subnav > li').click(function() {
        window.location = $('a', this).attr('href');
    });
	
	$('ul.subnav > li').hover(
		function(){
			$('a', this).css('color', '#3182c4')
			$('a', this).css('text-decoration', 'underline')
		},
		function(){
			$('a', this).css('color', '#343434')
			$('a', this).css('text-decoration', 'none')
	});
						   
						   
});



