/* =================================================================================================
 * TransMenu 
 * ============================================================================================== */

function TransMenuInit() {
	
			//==========================================================================================
			// if supported, initialize TransMenus
			//==========================================================================================
			// Check isSupported() so that menus aren't accidentally sent to non-supporting browsers.
			// This is better than server-side checking because it will also catch browsers which would
			// normally support the menus but have javascript disabled.
			//
			// If supported, call initialize() and then hook whatever image rollover code you need to do
			// to the .onactivate and .ondeactivate events for each menu.
			//==========================================================================================
	
	if (TransMenu.isSupported()) {
		TransMenu.initialize();

			// hook all the highlight swapping of the main toolbar to menu activation/deactivation
			// instead of simple rollover to get the effect where the button stays hightlit until
			// the menu is closed.

		//!!!!!!!!!!!!! daca creez X meniuri treb sa chem din html X meniuri, nu mai putin - altfel nu merge nici unul !!!!!!!!!!!!!



//1
		menu1.onactivate = function() { 
			//document.getElementById("id_trans_meniu_1").className = "hover"; 
			//MM_swapImage('Image1','','imagini/meniu_principal/Despre_noi_over.JPG',1);
			//fun.src='imagini/meniu/menu_fun_over.jpg';
			};
		menu1.ondeactivate = function() { 
			//document.getElementById("id_trans_meniu_1").className = ""; 
			//MM_swapImgRestore();
			//MM_swapImage('Image1','','imagini/meniu_principal/Despre_noi.JPG',1);
			//fun.src='imagini/meniu/menu_fun.jpg';
			};


//2
		menu2.onactivate = function() { 
			//document.getElementById("id_trans_meniu_2").className = "hover"; 
			//MM_swapImage('Image2','','imagini/meniu_principal/Produse_over.JPG',1);
			//poze.src='imagini/meniu/menu_poze_over.jpg';
			};
		menu2.ondeactivate = function() { 
			//document.getElementById("id_trans_meniu_2").className = ""; 
			//MM_swapImgRestore();
			//poze.src='imagini/meniu/menu_poze.jpg';
			};


	}
}
