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

$(document).ready(function(){	
	
	$("table.stripe tr:odd").addClass("odd");
	$("table.stripe tr:even").addClass("even");
	$('#textedit-text_content').wysiwyg();
	$('a[href^="http://"]')
  .attr({
    target: "_blank", 
    title: "Opens in a new window"
  });

	$(".btn-slide").click(function(){
		$("#panel").slideToggle("slow");
		$(this).toggleClass("active"); return false;
	});
	
	
  });