
document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="165" height="25">'
+'    <param name="movie" value="../swf/lingue.swf">'
 +'   <param name="quality" value="high">'
 +'   <param name=wmode value=transparent>'
 +'   <embed src="../swf/lingue.swf" quality="high"  wmode=transparent  pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="165" height="25"></embed>'
 +'  </object>' );



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 

 * Questo menu e' (C)2001 webmasterATjsdir.com - Lo script e' reperibile al sito http://www.jsdir.com - JavaScript Directory
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

//var ron="#731f1f"; // Colore al MouseOver
//var roff="#484848"; // Colore di default
var ron="#FF3366"; // Colore al MouseOver
var roff="#ff3366"; // Colore di default
var rozz=""; // no coloret
var leftmargin=2; // Distanza dal margine sinistro della pagina
var topmargin=25; // Distanza dal margine superiore della pagina
var largo=165; // Larghezza dei layers, quindi dei bottoni del menu
var alto=31; // Altezza dei layers, quindi distanza (verticale) fra le voci del menu

var Home = true; // Settare a "false" se non si desidera il link all'homepage
var HomeLink = "../pages/home.asp?intro=no"; // URL della homepage
var HomeText = "Home"; // Testo del link alla homepage
// -- La variabile HomeWidth in questo caso non e' necessaria (v. scheda del Menu a Tendine - http://www.jsdir.com/staffscripts/script043.asp)

/* L'array seguente contiene i testi che verranno visualizzati dal menu.
 * Nell'esempio (il menu di JsDir) trovate quattro elementi dell'array "voci" corrispondenti alle quattro voci del menu principale
 * Il primo elemento degli array e' il nome del menu, gli elementi successivi sono i links contenuti nel singolo menu.
 * Il tasto "Home" non compare in questo array perche' viene inserito di default come primo elemento */

var voci=new Array();
//	voci[0]=new Array("Chi siamo")
	//voci[1]=new Array("Servizi", "I servizi", "Geomarketing", "Certificati Gost");
	voci[0]=new Array("Contatti");
//	voci[2]=new Array("Eventi", "Fashion", "Not only fashion");
//	voci[3]=new Array("Rassegna Stampa");
//	voci[4]=new Array("Archivio Newsletter");
	//voci[6]=new Array("Show Room", "Milano", "S. Pietroburgo" );
//	voci[5]=new Array("Societa' Italia negli anni" );
	//voci[8]=new Array("Riconoscimenti" );
//	voci[6]=new Array("Contatti" );
//	voci[7]=new Array("Gallery", "Movies");
	//voci[9]=new Array("Emozioni e colori", "Krasin un mito", "I Romanov", "Murano" );
	//voci[11]=new Array("Vecchio Molino" );
/*voci[11]=new Array("Info Moda");*/

/* Questo array contiene invece i links che saranno aperti dalle singole voci dei sottomenu.
 * In questa nuova versione del menu ( 09 Dic 2002 ) e' possibile specificare un link anche per la voce principale del menu */
var links=new Array();
	//links[0]=new Array("../pages/chisiamo.html")
	//links[1]=new Array("", "../pages/servizi.html", "../pages/geo.html", "../pages/certificati.html")
	links[0]=new Array("../pages/contatti.html")
//	links[2]=new Array("", "../pages/eventi.asp?kind=fashion&lang=ita","../pages/eventi.asp?kind=culturale&lang=ita")
	//links[3]=new Array("../pages/press.asp")
//	links[4]=new Array("../pages/newsletter.asp")
	//links[6]=new Array("", "../pages/milano.html", "../pages/showpietroburgo.html")
	//links[5]=new Array("../pages/collaborazioni.asp")
	//links[8]=new Array("../pages/riconoscimenti.asp?kind=riconoscimenti&lang=ita")
	//links[7]=new Array("", "../pages/fotogallery.asp", "../pages/videogallery.asp")
	//links[9]=new Array("/", "../pages/krasin.html", "../pages/nicolaj.html", "../pages/murano.html")
	//links[6]=new Array("../pages/contatti.html")
    //links[11]=new Array("../pages/molino.html")
	//links[7]=new Array("","../pages/videogallery.asp")
/*links[11]=new Array("../pages/news.asp")*/
		

/* Questo array contiene i target dei links
 * A partire dal 10 Ottobre 2004 e' in grdo di gestire frames, finestre e pop-up.
 * La prima parte della stringa ("nome" o lettera+|)  indica il tipo di destinazione:
 *   "win" sta per "nuova finestra": analogo al target='_blank' di un normale link A HREF
 *   "self" apre nello stesso frame in cui e' contenuto il menu, analogo al target="_self" di un normale link A HREF
 *   "top" apre il link sostitendo il frameset, analogo al target="_top" di un normale link A HREF
 *   "p|" sta per pop-up, seguono nella stessa stringa le consuete istruzioni per la formattazione, ad esempio "p|width=100,height=100,resizable=yes"
 *   "f|" sta per "in un frame", segue il nome del frame in cui aprire il link, ad esempio "f|nomeframe".
 * 
 * Se non viene riconosciuta la stringa di destinazione, il link viene aperto in modalita' "self", quindi sostituendo la pagina in cui e' contenuto il menu.
 * 
 * Forse e' un po' macchinoso, ma evita di dover gestire un altro array solo per poter specificare il nome di un eventuale frame. :-)
 * 
 * Nell'esempio che segue:
 * - il primo link vene aperto in un'altra finestra del browser;
 * - il secondo nello stesso frame dov'e' contenuto il menu;
 * - il terzo sostituisce il frameset
 * - il quarto nel frame "contenuti"
 * - il quinto in una pop-up di 300x400 pixel
 * 
 * targets[...]=new Array("win", "self", "top", "f|contenuti", "p|width=300,height=400")
 * 
 * - - - - - - - - - - - - - - - - - */
var targets=new Array();
	targets[0]=new Array("self")
//	targets[1]=new Array("self")
//	targets[2]=new Array("self","self","self")
	//targets[3]=new Array("self")
//	targets[4]=new Array("self")
//	targets[5]=new Array("self")
//	targets[6]=new Array("self")
//	targets[7]=new Array("self","self")
//targets[8]=new Array("self")
//targets[12]=new Array("self", "self", "self")
//targets[9]=new Array("self", "self", "self","self")
//targets[6]=new Array("self")
//targets[11]=new Array("self")
//targets[7]=new Array("self", "self")
/*targets[10]=new Array("self")*/



/* Ultimo array.
 * Contiene i testi che saranno visualizzati nella barra di stato del browser quando il mouse e' sopra una voce del menu  */
var wst=new Array();
	wst[0]=new Array("");
//	wst[1]=new Array("");
//	wst[2]=new Array("");
//	wst[3]=new Array("");
//	wst[4]=new Array("");
//	wst[5]=new Array("");
//	wst[6]=new Array("");
//	wst[7]=new Array("");
	//wst[8]=new Array("");
	//wst[12]=new Array("");
	//wst[9]=new Array("");
	//wst[10]=new Array("");
	//wst[11]=new Array("");
	//wst[12]=new Array("");
/*wst[10]=new Array("");*/
		

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 * Fine sezione personalizzabile.
 * Le righe che seguono costituiscono il menu vero e proprio.
 * La personalizzazione e' consigliata solo a webmaster un po' esperti di JavaScript.
 * Per la descrizione dello script si veda lo StaffScript "Menu a tendine" in JsDir.
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
var nn=document.layers?true:false,conta=0,last=0;
if (nn)
	{
	if (Home)
		document.write("<LAYER NAME=mtop. position=absolute left="+leftmargin+" top="+topmargin+" width="+largo+" height="+alto+" clip=0,0,"+largo+","+alto+" bgColor="+roff+" visibility=visible onMouseOver=showdeps(last,false);mroll('mtop.') onMouseOut=unmroll('mtop.') CLASS=menuNNb>&nbsp;<A HREF='"+HomeLink+"' CLASS=menuNNb>"+HomeText+"</A></LAYER>");
	for (i=0;i<voci.length;i++)
		{
		var n=i;
		document.writeln("<LAYER NAME=mtop"+n+". position=absolute left="+leftmargin+" top="+eval(alto+topmargin+alto*i)+" width="+largo+" height="+alto+" clip=0,0,"+largo+","+alto+" bgColor="+roff+" visibility=visible onMouseOver=MostraMenu("+i+");mroll('mtop"+i+".');conta++ onMouseOut=last="+i+";unmroll('mtop"+i+".');conta-- CLASS=menuNNb>&nbsp;<A HREF=javascript:mroll('mtop"+i+".') onClick=vai('"+links[i][0]+"',"+i+",0) CLASS=menuNNb>"+voci[i][0]+"</A></LAYER>");
		for (l=1;l<voci[i].length;l++)
			document.writeln("<LAYER NAME=mdep"+i+"."+l+" position=absolute left="+eval(leftmargin+largo)+" top="+eval(topmargin+alto*i+alto*l)+" width="+largo+" height="+alto+" clip=0,0,"+largo+","+alto+" bgColor="+roff+" visibility=hidden onMouseOver=mroll('mdep"+n+"."+l+"');conta++ onMouseOut=unmroll('mdep"+n+"."+l+"');conta-- CLASS=menuNNb>&nbsp;<A HREF=javascript:mroll('mdep"+n+"."+l+"') onClick=vai('"+links[i][l]+"',"+i+","+l+") CLASS=menuNN>"+voci[i][l]+"</A></LAYER>");
		}
	}
	else
	{
	if (Home)
		document.write("<div id='mtop.' style=\"position:absolute;left:"+leftmargin+"px;top:"+topmargin+"px;width:"+largo+"px;height:"+alto+"px;background-color:"+rozz+";visibility:visible;cursor:hand;\" onmouseover=\"showdeps(last,false);mroll('mtop.');\" onmouseout=\"unmroll('mtop.');\"><div class='menuIEb'><a href='"+HomeLink+"' class='menuIEb' onfocus='this.blur();'>&nbsp;"+HomeText+"</a></div></div>");
	for (i=0;i<voci.length;i++)
		{
		var n=i;
		document.writeln("<div id='mtop"+n+".' style=\"position:absolute;left:"+leftmargin+"px;top:"+eval(alto+topmargin+alto*i)+"px;width:"+largo+"px;height:"+alto+"px;background:"+rozz+";visibility:visible;cursor:hand;\" onmouseover=\"MostraMenu("+n+");mroll('mtop"+n+".');conta++;\" onmouseout=\"last="+n+";unmroll('mtop"+n+".');conta--;\"><div class='menuIEb' onclick=\"vai('"+links[i][0]+"',"+i+",0);\">&nbsp;"+voci[i][0]+"</div></div>");
		for (l=1;l<voci[i].length;l++)
			document.writeln("<div id='mdep"+i+"."+l+"' style=\"position:absolute;left:"+eval(leftmargin+largo)+"px;top:"+eval(topmargin+alto*i+alto*l)+"px;width:"+largo+"px;height:"+alto+"px;background:"+roff+";visibility:hidden;cursor:hand;\" onmouseover=\"mroll('mdep"+n+"."+l+"');conta++;\" onmouseout=\"unmroll('mdep"+n+"."+l+"');conta--;\" class='menuIE' onclick=\"vai('"+links[i][l]+"',"+i+","+l+");\">&nbsp;"+voci[i][l]+"</div>");
		}
	}

timer=setInterval("NascondiMenu()",1000)

function NascondiMenu()
	{
	if (conta==0)
		{
		coloratutti(true)
		timer=setTimeout("coloratutti(false)",200);
		timer=setTimeout("showdeps(last,false)",250);
		}
	}

function coloratutti(col)
	{
	colore=col?ron:roff;
	for (i=0;i<voci.length;i++)
		for (j=1;j<voci[i].length;j++)
			{
		if (nn)
			document.layers["mdep"+i+"."+j].bgColor=colore;
		else
			if(document.all)
				document.all["mdep"+i+"."+j].style.background=colore;
				
				else
				document.getElementById('mdep'+i+"."+j).style.background=colore;
			}
	}

function MostraMenu(n)
	{
	showdeps(last,false);
	showdeps(n,true);
	last=n;
	}

function showdeps(n,act)
	{
	if (conta==0)
		{
		act?stat="visible":stat="hidden";
	if (nn)
		for (i=1;i<voci[n].length;i++)
			document.layers["mdep"+n+"."+i].visibility=stat;
	else
		for (i=1;i<voci[n].length;i++)
			if(document.all)
				document.all["mdep"+n+"."+i].style.visibility=stat;
				
				else
				document.getElementById('mdep'+n+"."+i).style.visibility=stat;
		}
	}

function vai(dove,r,c)
	{
	if (c>0)
		lev=nn?document.layers["mdep"+r+"."+c]:(document.all)?document.all["mdep"+r+"."+c].style:document.getElementById("mdep"+r+"."+c).style;
	else
		lev=nn?document.layers["mtop"+r+"."]:(document.all)?document.all["mtop"+r+"."].style:document.getElementById("mtop"+r+".").style;
	if (nn)
		{
		lev.bgColor=roff;
		timer=setTimeout("lev.bgColor=ron",50)
		timer=setTimeout("lev.bgColor=roff",100)
		timer=setTimeout("lev.bgColor=ron",150)
		timer=setTimeout("lev.bgColor=roff",200)
		timer=setTimeout("lev.bgColor=ron",250)
		}
		else
		{
		lev.background=roff;
		timer=setTimeout("lev.background=ron",50)
		timer=setTimeout("lev.background=roff",100)
		timer=setTimeout("lev.background=ron",150)
		timer=setTimeout("lev.background=roff",200)
		timer=setTimeout("lev.background=ron",250)
		}
   	if (navigator.userAgent.toLowerCase().indexOf("msie")!=-1 && navigator.platform.toLowerCase().indexOf("mac")=="mac")
	   document.write("")  
	
	dest=targets[r][c].split("|");
	switch (dest[0])
		{
		case "self" : timer=setTimeout("self.location.href='"+dove+"'",350) ; break;
		case "win" : timer=setTimeout("window.open('"+dove+"')",350) ; break;
		case "top" : timer=setTimeout("top.frames.location.href='"+dove+"'",350) ; break;
		case "f" : timer=setTimeout("parent."+dest[1]+".location.href='"+dove+"'",350) ; break;
		case "p" : timer=setTimeout("window.open('"+dove+"','','"+dest[1]+"')",350) ; break;
		default : timer=setTimeout("self.location.href='"+dove+"'",350);
		}
	}

function mroll(l)
	{
	LTop="mtop"+l.substr(4,l.indexOf(".")-4)+".";
	nn?document.layers[LTop].bgColor=ron:(document.all)?document.all[LTop].style.background=ron:document.getElementById(LTop).style.background=ron;
	nn?document.layers[l].bgColor=ron:(document.all)?document.all[l].style.background=ron:document.getElementById(l).style.background=ron;
	document.getElementById?document.getElementById(l).style.cursor=document.all?'hand':'pointer':'void(0)';
	if (l.substr(0,4)=="mdep")
		stringa=wst[l.substr(4,l.indexOf(".")-4)][l.substring(l.indexOf(".")+1,l.length)];
			else if (l.length>5)
			stringa=wst[l.substr(4,l.indexOf(".")-4)][0];
				else stringa="Home Page";		
	window.status=stringa;
	timer=setTimeout("window.status=stringa",20);
	}

function unmroll(l)
	{
	LTop="mtop"+l.substr(4,l.indexOf(".")-4)+".";
	nn?document.layers[LTop].bgColor=rozz:(document.all)?document.all[l].style.background=roff:document.getElementById(l).style.background=rozz;
	/* inserito LTop al posto  di 1 */
	nn?document.layers[l].bgColor=roff:(document.all)?document.all[LTop].style.background=rozz:document.getElementById(LTop).style.background=rozz;
	window.status="";
	}

onresize=function() {self.location.reload()};


