$(document).ready(function(){
  $('#slideshow').cycle({delay: 3000, speed: 500});
  inlineFieldLabel("email@address.com", "#mb-ndljr-ndljr");
});

function inlineFieldLabel (label, inputid)
{
  var fieldLabel = label;         // string to put in your text input
  var textInput = $(inputid)  // your text input field

  /* add the field label css class to the form field and set the value */
  textInput.addClass("intra-field-label").val(fieldLabel);

  /* remove the placeholder string when field gets focus */
  textInput.focus(function()
   {
      if(this.value == fieldLabel )
      {
         $(this).removeClass("intra-field-label").val("");
      };
   });

  /* add the field label string when field looses focus */
  textInput.blur(function()
   {
      if(this.value == "")
      {
         $(this).addClass("intra-field-label").val(fieldLabel );
      };
   });

   /* if the field is set to the fieldLabel on submit, clear the field */
   form.submit(function()
   {
      if(textInput.val() == fieldLabel)
      {
         textInput.removeClass("intra-field-label").val("");
      };
   });
};