			var divMenu = new FSMenu('divMenu', false, 'visibility', 'visible', 'hidden');
			divMenu.cssLitClass = 'highlighted';
			divMenu.animInSpeed = 1;
			divMenu.animOutSpeed = 1;


			$(function(){
				//preload some images

				//alert('pageload');
				//bind all nav_item_cell td cells that are NOT already having a table with class of open to have a mouseover event that sets class of internal table to open
				//and bind mouseout to undo that on same.
				$('#topnav_table td').each(function(){
					var td = $(this);
//					var table = $('table', td);

					//dropdown menu events always
					var menu_div = td.attr('id') + '_menu';
					td.bind('mouseover', {'menu_div':menu_div}, function(e){
						divMenu.show(e.data['menu_div'], this, 0, 43);
					});
					td.bind('mouseout', {'menu_div':menu_div}, function(e){
						divMenu.hide(e.data['menu_div']);
					});

					//hover menu events if its not open.
					if ( td.attr('class') != 'topnav_on') {
						td.bind('mouseover', {}, function(e){
							td.attr('class', 'topnav_on');
							this.style.cursor = 'pointer';
						});
						td.bind('mouseout', {}, function(e){
							td.attr('class', 'topnav_off');
							this.style.cursor = 'default';
						});
					};

					//lets always bind the cell click stuff.
					var url = $('a', td).attr('href');
					td.bind('click', {'url':url}, function(e){
						window.location.href = e.data['url'];
					});
				});
		
				//feature nav highlight events stuff
				$('td.tr_feature_nav').each(function(){
					var td = $(this);
					td.bind('mouseover', {}, function(e){
						td.attr('class', 'tr_feature_nav_hover');
						this.style.cursor = 'pointer';
					});
					td.bind('mouseout', {}, function(e){
						td.attr('class', 'tr_feature_nav');
						this.style.cursor = 'default';
					});
				});
				
				//I apologize for this. its for the homepage. i didnt do the html. the selectors are bad.
				//feature nav highlight events stuff
				$('td.feature_button_home').each(function(){
					var td = $(this);
					td.bind('mouseover', {}, function(e){
						td.attr('class', 'feature_button_home_hover');
						this.style.cursor = 'pointer';
					});
					td.bind('mouseout', {}, function(e){
						td.attr('class', 'feature_button_home');
						this.style.cursor = 'default';
					});
				});				
				$('td.feature_button_homeb').each(function(){
					var td = $(this);
					td.bind('mouseover', {}, function(e){
						td.attr('class', 'feature_button_homeb_hover');
						this.style.cursor = 'pointer';
					});
					td.bind('mouseout', {}, function(e){
						td.attr('class', 'feature_button_homeb');
						this.style.cursor = 'default';
					});
				});		

			});
	
