window.onload = function() {
	//$("#background").dropShadow({left: -1, top: -1, blur: 1, opacity: 1});
	
	$(".shadow").dropShadow({left: 0, top: 0, blur: 1, opacity: 0.4});
			
	
};

$(document).ready(function(){	
	$("table.stripe tr:odd").addClass("odd");
	$("table.stripe tr:even").addClass("even");
	$('a[href^="http://"]').attr({target: "_blank", title: "Opens in a new window"});
	
	$.localScroll();
	$(".top_links > li > a").click(function () {
		$(".faq > li").removeClass('highlight');
		var str = $(this).attr("href");
		str = "a[name='" + str.substring(1) + "']";
		$(str).parent().addClass('highlight');

	});
	
	$("#bottombar img").fadeTo("slow", 0.6); // This sets the opacity of the thumbs to fade down when the page loads

	$("#bottombar img").hover(function(){
		$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
	},function(){
		$(this).fadeTo("slow", 0.6); // This should set the opacity back on mouseout
	});

});



