function createMenu(lang, sez){
		createMenuLang('it',sez);
}

function createMenu_en(sez){
		createMenuLang('en',sez);
}

function createMenu_es(sez){
		createMenuLang('es',sez);
}
function createMenu_fr(sez){
		createMenuLang('fr',sez);
}
function createMenu_ru(sez){
		createMenuLang('ru',sez);
}

function createMenu_po(sez){
		createMenuLang('po',sez);
}

function createMenu_ir(sez){
		createMenuLang('ir',sez);
}

function createMenuLang(lang,sez){
		var ipad=isipad();
		if(lang=='_it'){
				langx='';
		}else{
				langx=lang;
		}
		if (hasRightVersion && ipad==false){
				AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','750','height','42','src','main_menu'+langx+'','quality','high','wmode','transparent','FlashVars','sez='+sez,'pluginspage','http://www.macromedia.com/go/getflashplayer','movie','main_menu'+langx);
				document.getElementById('hiddenMenu').style.display = 'none';
		}else{
				document.getElementById('hiddenMenu').style.display = 'block';
		}
}

function createFabbricaLang(lang){
		if(lang=='it'){
				langx='';
		}else{
				langx='_'+lang;
		}
		AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','1025','height','513','src','lafabbrica'+langx,'quality','high','wmode','transparent','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','lafabbrica'+langx );
}

function createFabbrica(){
		createFabbricaLang('it');
}

function createFabbrica_en(){
		createFabbricaLang('en');
}

function createFabbrica_po(){
		createFabbricaLang('po');
}

function createFabbrica_es(){
		createFabbricaLang('es');
}

function createFabbrica_fr(){
		createFabbricaLang('fr');
}

function createFabbrica_ru(){
		createFabbricaLang('ru');
}

function createFabbrica_ir(){
		createFabbricaLang('ir');
}

function createMaddalena1(){
		if (hasRightVersion){
				AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','398','height','237','src','maddalena_oggi','quality','high','wmode','transparent','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','maddalena_oggi' );
				document.getElementById('mad1').style.display = 'none';
		}
}

function createMaddalena2(){
		if (hasRightVersion){
				AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','398','height','237','src','maddalena_ieri','quality','high','wmode','transparent','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','maddalena_ieri' );
				document.getElementById('mad2').style.display = 'none';
		}
}

function isipad(){
		return (navigator.platform.indexOf("iPad") != -1);
}


