function submitSearch(search_term)
{
	// Track the search query
	flashLinkTracking('', '', 'Search_CLLC_'+search_term, 'global_header', '');

	// Submit the form
	document.forms.header_search_form.submit();
}

/* Load Event fires when the whole page is loaded, included all images */
window.addEvent('load', function() {

	blnDisplayGlobal = false;


	/*
	Add event for header "global" expander 
	$('global_link').addEvent('click', function(){

		// Test if display is set to 'block' If so, change to 'none', and vice versa
		if (blnDisplayGlobal)
		{
			$('global_more').style.display = 'none';
			$('global_arrow_left').style.display = 'inline';
			$('global_arrow_right').style.display = 'none';
			blnDisplayGlobal = false;
		}
		else
		{
			$('global_more').style.display = 'inline';
			$('global_arrow_left').style.display = 'none';
			$('global_arrow_right').style.display = 'inline';

			blnDisplayGlobal = true;
		}
	});
	*/

	// Loop through array and assign events
	['menu_about_us','menu_innovation','menu_community','menu_environment','menu_blog','menu_news'].each(function(item, index){
		if (item != "menu_" + curMenu)
		{
			// On state
			//$(item).addEvent('mouseover', function(){
				//$(item).setProperty('src', '/en/img/'+ item + '_on.gif');
			//});
			// Off state
			//$(item).addEvent('mouseout', function(){
				//$(item).setProperty('src', '/en/img/'+ item + '_off.gif');
			//});
				$(item).setProperty('class', 'top_nav_menu'); //MB edit
		}
		else
		{
			// Set as "on" position
			//$(item).setProperty('src', '/en/img/'+ item + '_on.gif');
				$(item).setProperty('class', 'top_nav_menu_selected');//MB edit
		}
		
	}); 	

	// If homepage, add the following functionality
	if (curPage == "home")
	{
		// SHARED directory images
		// Loop through array and assign events
		['brand_dodge','brand_chrysler','brand_jeep','brand_mopar','brand_cf','brand_gem'].each(function(item, index){			
			// On state
			$(item).addEvent('mouseover', function(){
				$(item).setProperty('src', '/shared/img/'+ item + '_on.gif');
			});
			// Off state
			$(item).addEvent('mouseout', function(){
				$(item).setProperty('src', '/shared/img/'+ item + '_off.gif');
			});		
		}); 


		// EN directory images
		// Loop through array and assign events
		//['btn_more_news'].each(function(item, index){			
			// On state
			//$(item).addEvent('mouseover', function(){
			//	$(item).setProperty('src', '/en/img/'+ item + '_on.gif');
			//});
			// Off state
			//$(item).addEvent('mouseout', function(){
			//	$(item).setProperty('src', '/en/img/'+ item + '_off.gif');
			//});	
		//}); 
	}

});