<!-- hide from old browsers

var days = new Array();
days[0] = "Sunday";
days[1] = "Monday";
days[2] = "Tuesday";
days[3] = "Wednesday";
days[4] = "Thursday";
days[5] = "Friday";
days[6] = "Saturday";

var months = new Array();
months[0] = "January";
months[1] = "February";
months[2] = "March";
months[3] = "April";
months[4] = "May";
months[5] = "June";
months[6] = "July";
months[7] = "August";
months[8] = "September";
months[9] = "October";
months[10] = "November";
months[11] = "December";

	function prod_validator(){
		thereturn = false;
		theTotal = 0;
		var $b = $('input[type=checkbox]');
		theTotal += ($b.filter(':checked').length);
		if (theTotal>0) {
			thereturn = true;
		}else{
			alert("Please tick an option");
		}
		return thereturn;
	}

	jQuery(document).ready(function($) {
		
		//On Hover Over
		function megaHoverOver(){
			$(this).find(".sub").stop().show(); //Find sub and fade it in

		}
		//On Hover Out
		function megaHoverOut(){
		  $(this).find(".sub").stop().hide();  //after fading, hide it
		}
		
		//Set custom configurations
		var config = {
			 sensitivity: 1, // number = sensitivity threshold (must be 1 or higher)
			 interval: 1, // number = milliseconds for onMouseOver polling interval
			 over: megaHoverOver, // function = onMouseOver callback (REQUIRED)
			 timeout: 1, // number = milliseconds delay before onMouseOut
			 out: megaHoverOut // function = onMouseOut callback (REQUIRED)
		};

		
		$("#topnav ul li").hoverIntent(config); //Trigger Hover intent with custom configurations
		
		
	});

// - end hiding -->
