$(document).ready(function() {
	
	var initText = 'zoeken...';
	var clear = function() {
		$(this).val('').css('color', 'black');
		$(this).unbind('mousedown').unbind('focus');
	};
	
	if($('#inputSearch').val() == '') { // prevent removal of content when back button is used
		$('#inputSearch').val(initText).css('color', 'gray');
		$('#inputSearch').mousedown(clear).focus(clear);
	}
});

