$(document).ready(function(){

		var revert = '';
					
		$("input[type='text']").focus(function() {
			revert = $(this).attr('value');
			$(this).attr('value','');
		});
		
		$("input[type='text']").blur(function() {
			if($(this).attr('value') == '' || $(this).attr('value') == null) { $(this).attr('value', revert); }
		});
		
		
		// iOS Hover Event Class Fix
		if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) {
			$(".dir span").click(function(){  // Update class to point at the head of the list
			});
		}


});
