$(function(){
	$(".populate").each(function(){
		var $this = $(this);
		$this.focus(function(){
			if ( $this.val() == $this.attr("title") ) {
				$this.val('');
				$this.removeClass('inactive');
			}
		}).blur(function(){
			if ( $this.val() == '' ) {
				$this.val( $this.attr("title") );
				$this.addClass('inactive');
			}
		}).blur();
		
	});
	
});
