$(document).ready(function() {

	// add hover classes to primary navigation as patch for IE6 
	if ($('#site.nav').length > 0) {
		// all top level list-items have an id attribute
		$('#site.nav li[id]').hover(
			function() {
				$(this).addClass('hover');
			},
			function() {
				$(this).removeClass('hover');
			}
		);	
	}
	
	// clear input fields on focus 
	$.fn.clear = function() {
		return this.focus(function() {
			if( this.value == this.defaultValue ) {
				this.value = "";
			}
		}).blur(function() {
			if( !this.value.length ) {
				this.value = this.defaultValue;
			}
		});
	};
	$("#email").clear();
	$("#zip").clear();

});