$(document).ready(function(){

	/*Place any load code in here, functions should be built below, also below is the default calls to preload data from an EMS link, use one of these to load data into a form from EMS and ensure the value being passed matches the form name you are pre-populating
	preLoadData('testOnlineFormName');
	testPreLoadToken('testOnlineFormName');

	Here is the default code to populate errors into a error table from a querystring provided by the EMS, place this function call below the last script include, the first argument should never change, the second argument should pount to a container ID you wish to hold the error messages. The example below uses wrapper_EMSErrors
	displayOnlineFormErrorCodes("|","wrapper_EMSErrors");
	*/

	$("#nav_main li.main").hover(
		function(){
			$(".nav_sub").removeClass("sticky");
			$(this).find("a.main").addClass("sticky");
			$(this).find("ul").addClass("sticky");
		},
		function(){
			$(this).find("a.main").removeClass("sticky");
			$(this).find("ul").removeClass("sticky");
		}
	);
});