
$(document).ready(function(){

	function showConfHover(){
				$("#conf-hover").show();
				$("#conf-hover").css('z-index','999');
				$("#conf-button a").css('background-image','none');
				$("#conf-button a").css('background-image','url(/isaautomationweek/images/down-arrow-over.gif)');
				$("#conf-button a").css('padding-bottom','20px');
				$("#conf-button a").addClass('conf-button-hover');
	}	
	function removeConfHover(){
				$("#conf-hover").hide();
				$("#conf-button a").css('background-image','none');
				$("#conf-button a").css('background-image','url(/isaautomationweek/images/down-arrow.gif)');
				$("#conf-button a").removeClass('conf-button-hover');
	}	

	
	function showScheduleHover(){
				$("#schedule-hover").show();
				$("#schedule-hover").css('z-index','999');
				$("#schedule-button a").css('background-image','none');
				$("#schedule-button a").css('background-image','url(/isaautomationweek/images/down-arrow-over.gif)');
				$("#schedule-button a").css('padding-bottom','20px');
				$("#schedule-button a").addClass('conf-button-hover');
	}	
	function removeScheduleHover(){
				$("#schedule-hover").hide();
				$("#schedule-button a").css('background-image','none');
				$("#schedule-button a").css('background-image','url(/isaautomationweek/images/down-arrow.gif)');
				$("#schedule-button a").removeClass('conf-button-hover');
	}	
	
	$("#conf-button a").hover(showConfHover,removeConfHover);
	$("#conf-hover").hover(showConfHover,removeConfHover);
	

	$("#schedule-button a").hover(showScheduleHover,removeScheduleHover);
	$("#schedule-hover").hover(showScheduleHover,removeScheduleHover);

	
});