$(function() {
 var cycler = new Cycler('image_window', 'image_pager');

 $('.has_default_value').each(function() {
	  var default_value = this.value;
	  $(this).focus(function() {
      if(this.value == default_value) {
	      this.value = '';
	      $(this).removeClass('dimmed');
      }
	  });
	  $(this).blur(function() {
      if(this.value == '') {
	      this.value = default_value;
	      $(this).addClass('dimmed');
      }
	  });
  });
});
