$(document).ready(function(){
	$("#item1").hoverIntent({
		sensitivity: 1,
		interval: 20,
		over:
		function(){
			$("#homeDropDown").show();
		},
		timeout: 500,
		out:
		function(){
			$("#homeDropDown").hide();
		}
	});

	$("#item2").hoverIntent({
		sensitivity: 1,
		interval: 20,
		over:
		function(){
			$("#eventDropDown").show();
		},
		timeout: 500,
		out:
		function(){
			$("#eventDropDown").hide();
		}
	});

	$("#item3").hoverIntent({
		sensitivity: 1,
		interval: 20,
		over:
		function(){
			$("#regTravelDropDown").show();
				},
		timeout: 500,
		out:
		function(){
			$("#regTravelDropDown").hide();
		}
	});

	$("#item4").hoverIntent({
		sensitivity: 1,
		interval: 20,
		over:
		function(){
			$("#eduDropDown").show();
		},
		timeout: 500,
		out:
		function(){
			$("#eduDropDown").hide();
		}
	});


	$("#item5").hoverIntent({
		sensitivity: 1,
		interval: 20,
		over:
		function(){
			$("#communDropDown").show();
		},
		timeout: 500,
		out:
		function(){
			$("#communDropDown").hide();
		}
	});

	$("#item6").hoverIntent({
		sensitivity: 1,
		interval: 20,
		over:
		function(){
			$("#productDropDown").show();
		},
		timeout: 500,
		out:
		function(){
			$("#productDropDown").hide();
		}
	});

	$("#item7").hoverIntent({
		sensitivity: 1,
		interval: 20,
		over:
		function(){
			$("#sponsorsDropDown").show();
		},
		timeout: 500,
		out:
		function(){
			$("#sponsorsDropDown").hide();
		}
	});
});	

function setLocation(url){
	document.getElementById('SLplayer').innerHTML = "<div style=\"color:white;font-size:12px;padding:10px;\">Download the video from:<br /><a href=\"" + url + "\" style=\"color:red;font-size:12px;\">http://www.mediadl.microsoft.com/...</a><br /><br />Or to reload the Silverlight Player <a href=\"javascript:location.reload(true)\" style=\"color:red;font-size:12px;\">click here</a></div>";
	
}
