 $(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;

   });

 });

<!-- Hide script from older browsers

var state = "none";
var newstate = "none";
function MM_openBrWindow(theURL,winName,features,newstate) { //v2.0
if (state != newstate) {
if (navigator.appName=="Microsoft Internet Explorer"){
window.open(theURL,winName,features + ",left=0 ,top=0"); }
else if (navigator.appName=="Netscape") {
window.open(theURL,winName,features + ",screenX=0 ,screenY=0"); }
state = newstate; }
}

//-->


