 jQuery.fn.defaultInput = function(options) {
   //this is the beginning of a great plugin, later get user to specify css styles to the input element.
   //this is intended for input with type text, textarea.
   var settings = jQuery.extend({
     value: ""
   }, options);

    var value = options.value;

	  $(this).focus(function() {
			$(this).css("color","#414141");							 
		var foo = $(this).val();
		if (foo == value)
		{
			$(this).val('');
			$(this).css("color","#414141");
		}
	  });
	  
	  $(this).blur(function() {
		  $(this).css("color","#999999");									
		var foo = $(this).val();
		if (foo == '')
		{
		  $(this).val(value);		
		  $(this).css("color","#999999");	  
		}
	  });
	     
 };


/* jQuery.fn.check = function(mode) {
   // if mode is undefined, use 'on' as default
   var mode = mode || 'on';
   
   return this.each(function() {
     switch(mode) {
       case 'on':
         this.checked = true;
         break;
       case 'off':
         this.checked = false;
         break;
       case 'toggle':
         this.checked = !this.checked;
         break;
     }
   });
 };*/

