// click clear function for contact form
function clickclear(thisfield, defaulttext) {
	if (thisfield.value == defaulttext) {
		thisfield.value = "";
	}
}
	
function clickrecall(thisfield, defaulttext) {
	if (thisfield.value == "") {
		thisfield.value = defaulttext;
	}
}

// jQuery
$(document).ready(function() {
	
	// add class to first and last child elements so we can target easily with css
	$('li:first-child, td:first-child').addClass('first');
	$('li:last-child, td:last-child').addClass('last');
	
	// tooltip legal
	$(".tooltip p").hover(
	function () {
		$(this).next().show();
	},
	function () {
		$(this).next().hide();
	});
	
});
