function inputText(id,text) {
	obj = document.getElementById(id);
	if (obj.value == text){
		obj.value = "";
	} 
	else if (obj.value == "") {
		obj.value = text;
	}
}

<!-- Fix form elements from showing dotted lines -->
jQuery(function($) {
	$("input:button,input:submit,input:radio,input:checkbox,input:image").focus(function() {
		this.blur();
	});
});
