// Show and hide slickbox
$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#slickbox').hide();
  

 // slides down, up, and toggle the slickbox on click    
  $('#slick-down').click(function() {
    $('#slickbox').slideDown('slow');
    return false;
  });
  $('#slick-up').click(function() {
    $('#slickbox').slideUp('fast');
    return false;
  });
  $('#slick-slidetoggle').click(function() {
    $('#slickbox').slideToggle(600);
    return false;
  });
});


/**
 * @author Programmer
 */
$(document).ready(function(){

	$("#all").center({
		vertical: false
	});

	// centering the element with no properties
	$(".centered:eq(0)").center();

	// centering the element with no properties
	$(".centered:eq(1)").center({
		vertical: false
	});

	// centering the element with no properties
	$(".centered:eq(2)").center({
		horizontal: false
	});

});
