jQuery.fn.fillin = function(txt) {
	var txt_orig = txt;
	return this.each(function(){
		if (txt_orig == null) txt = $(this).val();
		if ($(this).val() == '') $(this).val(txt);
		if ($(this).val() != txt && $(this).val() != ''){
			$(this).removeClass("fillin");
		} else {
			$(this).addClass("fillin");
		}
		
		$(this).bind('focus', {t:txt}, function(e){
			if ($(this).val() == e.data['t']) {
				$(this).val("");
				$(this).removeClass("fillin");
			}
		});
		$(this).bind('blur', {t:txt}, function(e){
			if ($(this).val() == ""){
				$(this).val(e.data['t']);
				$(this).addClass("fillin");
			}
		});
	});
};
// jQuery.fn.fillin = function(txt) {
// 	return this.each(function(){
// 		
// 		if ($(this).val() != txt && $(this).val() != ''){
// 			$(this).removeClass("fillin");
// 		} else {
// 			$(this).addClass("fillin");
// 		}
// 		
// 		$(this).focus(function(){
// 			if ($(this).val() == txt) {
// 				$(this).val("");
// 				$(this).removeClass("fillin");
// 			}
// 		});
// 		
// 		$(this).blur(function(){
// 			if ($(this).val() == ""){
// 				$(this).val(txt);
// 				$(this).addClass("fillin");
// 			}
// 		});
// 	});
// };
