$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#slickboxf').hide();
  $('#slickboxs').hide();
  $('#slickboxr').hide();
  
 // shows and hides and toggles the slickbox on click  
  $('#slick-hidef').click(function() {
    $('#slickboxf').hide('fast');
    return false;
  });
  $('#slick-togglef').click(function() {
    $('#slickboxf').toggle(400);
    return false;
  });
  
  $('#slick-hides').click(function() {
    $('#slickboxs').hide('fast');
    return false;
  });
  $('#slick-toggles').click(function() {
    $('#slickboxs').toggle(400);
    return false;
  });
  
  $('#slick-hider').click(function() {
    $('#slickboxr').hide('fast');
    return false;
  });
  $('#slick-toggler').click(function() {
    $('#slickboxr').toggle(400);
    return false;
  });
  
  $('a.moref').click(function() {
  if ($(this).text() == 'Close the free hosting form') {
    $(this).text('Apply for Free Hosting!');
  } else {
    $(this).text('Close the free hosting form');
  }
  return false;
});
  
    $('a.mores').click(function() {
  if ($(this).text() == 'Close the shared hosting form') {
    $(this).text('Apply for Shared Hosting!');
  } else {
    $(this).text('Close the shared hosting form');
  }
  return false;
});
	
	  $('a.morer').click(function() {
  if ($(this).text() == 'Close the reseller form') {
    $(this).text('Apply for Reseller Hosting!');
  } else {
    $(this).text('Close the reseller form');
  }
  return false;
});

});