// shelf slider
$(document).ready(function(){

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

$(function() {
	// Use this example, or...
	$('a[@rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
	
	});

function loadContent(id) {
	
			$("#slickbox").load("questions.php?o="+id+"").animate({ backgroundColor: "#FFFFFF" }, "slow").animate({ backgroundColor: "#E1E1E1" }, "slow");
		}

	
// Hearty thanks to: http://www.learningjquery.com/2006/09/slicker-show-and-hide...
 $(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready
 // (a little sooner than page load)
  $('#slickbox').hide();
 // shows the slickbox on clicking the noted link
  $('a#slick-show').click(function() {
	$('#slickbox').show('slow');
	return false;
  });
 // hides the slickbox on clicking the noted link
  $('a#slick-hide').click(function() {
	$('#slickbox').hide('fast');
	return false;
  });
 // toggles the slickbox on clicking the noted link
  $('a#slick-toggle').click(function() {
	$('#slickbox').toggle(400);
	return false;
  });
});



	
//$(document).ready(function(){

	
//	$(".pane .btn-color").click(function(){
//	  $(this).parents(".pane").animate({ backgroundColor: "#fff568" }, "fast")
//	  .animate({ backgroundColor: "#ffffff" }, "slow")
//	  .addClass("spam")
//	  return false;
//	});

	
//});	
