$j(document).ready(function(){ 
	      
		function showFocussedEl(el){

			var thisEl		=	$j("." + el  + " a");

			
			var bg_pos_arr				=	new Array();
			bg_pos_arr['whatWeOffer']	=	'left -5px'; 
			bg_pos_arr['directory']		=	'left -160px'; 
			bg_pos_arr['aboutFusion']	=	'left -315px'; 
			
			var bg_pos_arr_orig				=	new Array();
			bg_pos_arr_orig['whatWeOffer']	=	'left 0px'; 
			bg_pos_arr_orig['directory']   	=	'left -155px'; 
			bg_pos_arr_orig['aboutFusion']	=	'left -310px'
			
			thisEl.focus(function(){
             
			 $j('.' + el + ' ul ' ).css({'left':'auto', 'background-position': bg_pos_arr[el]});

				$j( '.' + el + ' ul li a').each(function(index){					
									   
			       $j(this).css({'height': '5px', 'margin-top': '-1px', 'margin-bottom' : '0px', 'padding-bottom':'0px'}); 
			       $j(this).focusin(function(){
						$j(this).css({'top':'0px','height': '5px', 'margin-top': '-1px', 'margin-bottom' : '0px', 'padding-bottom': '0px'});
						$j('.' + el + ' ul ' ).css({'left': 'auto', 'background-position': bg_pos_arr_orig[el]});
						});
			
				 });
				// end each
				return false;
		    });
           

			thisEl.blur(function(){
				
				$j('.' + el + ' ul ' ).css('left', '-999em');                           
				
				
				thisEl.parent().mouseover(function(){
			      	$j('.' + el + ' ul ' ).css({'left': 'auto', 'background-position': bg_pos_arr_orig[el]});
					$j( '.' + el + ' ul li a').each(function(index){ 
				       $j(this).css({'top': '0px', 'height': '6px', 'margin-top': '-1px', 'padding-top':'0px', 'padding-bottom':'0px'});
					});
					// end each   
				});
			
				thisEl.parent().mouseout(function(){ 
			   		$j('.' + el + ' ul ' ).css('left', '-999em'); 
				});			 			
			
			}); 
		   

		};
        




		showFocussedEl("whatWeOffer")
		showFocussedEl("directory");
		showFocussedEl("aboutFusion");

	});
