var FIELD_TITLES = { 
	frm_name: 'Name',
	frm_email: 'Email Address',
	frm_phone: 'Phone Number',
	frm_body: 'Your comments'
};
$(function() { 
	$(".frm-clear").focus(function() {
		var $this = $(this);
		if (FIELD_TITLES[$this.attr('id')] == $this.val()) {
			$this.val('');
			$this.css('color','black');
			$this.css('background-color','white');
		}
	}).blur(function() {
		var $this = $(this);
		if ($this.val()=='') {
			$this.val(FIELD_TITLES[$this.attr('id')]);
			$this.css('color','#6f7b29');
			$this.css('background-color','transparent');
		}
	}).each(function() {
		var $this = $(this);
		var title = FIELD_TITLES[$this.attr('id')]
		if ($this.val()=='') {
			$this.val(title);			
		}
		if ($this.val()==title) {
			$this.css('color','#6f7b29');
			$this.css('background-color','transparent');
		}
	});
});
