var autoPopulateText = {
	elClass:'populate', 
	
	init:function() {
		$('.'+this.elClass).each(function () {
			el = $(this);
			if ((el.val() == '') && (el.attr('title') != '')) el.val(el.attr('title'));
			el.focus(function () {
				if ($(this).val() == $(this).attr('title')) $(this).val('');
			});			
			el.blur(function () {
				if ($(this).val()=='') $(this).val($(this).attr('title'));
			});
		});
	}
};

$(window).load(function () {
	autoPopulateText.init();
}); 
