$(document).ready(function() {
   //table row striping
	$("table tbody tr:odd").addClass('even');
	$("table tbody tr:even").addClass('odd');

	$("#nwg .header .nav").append("<li id='print' style='cursor:pointer'><a href='#'>Print Page</a></li>");
		$("#nwg .header .nav #print").click(function(){
			print();
		});
		
		
	$("input[type='text']").each(function()
	{
		if(!$(this).hasClass('txtPostcode'))
		{
			var text = $(this).attr("value");
			$(this).focus(function()
			{
				$(this).addClass('isFilled')
				if($(this).val() == text) $(this).val("");
			})
			$(this).blur(function(){
				if($(this).val() == "")
				{
					$(this).val(text);
					$(this).removeClass('isFilled')
				}
			})
		}
    })
});

