function clearInput(value, id) { 
	var input = document.getElementById(id); 
	if(value == input.value) {
		input.value = ''; 
	} else { 
		input.value = input.value; 
	}
}

$(function(){
	$('#keywords').add('#footer-keywords').click(function(){
		clearInput('Search...',$(this).attr('id'));
	});
});
