<!--
var nn=document.layers?true:false;
var N6=navigator.userAgent.toLowerCase().indexOf("gecko")!=-1?true:false
var op=navigator.userAgent.toLowerCase().indexOf("opera")!=-1?true:false
var topmargin=95,menuwidth=140;
var homekeylayer=null;
var tabs = new Array("JavaScript","Documenti","Contatti","Menu","Varie")
var menus = new Array();
var menuheights = new Array(0,0,0,40,0);

var voci=new Array();
	voci[0]=new Array("StaffScripts","UserScripts","FlyScripts","P.O.J.","Newsgroup iclj","Libreria JS")
	voci[1]=new Array("F.A.Q & Answers","Tutorials","Downloads","Biblioteca","Links","Go!OnLine e &lt;TAG />");
	voci[2]=new Array("Staff","Collaboratori","Contatti","Credits","Problemi");
	voci[3]=new Array("<span class='redtextthinbold'>Drop Down Menu</span>", "<span class='redtextthinbold'>Menu a Tendine<span class='redtextthinbold'>", "<span class='redtextthinbold'>A Tendine verticale<span class='redtextthinbold'>", "<span class='redtextthinbold'>A Tendine Orizzont.</span>", "Menu a tendina (2)", "Telecomando", "Menu ad albero (3)", "Menu lato destro", "Menu Avvio", "Tasto dx", "Albero c/ cartelle", "A scomparsa", "Albero" );
	voci[4]=new Array("<SPAN CLASS='redtextthinbold'>SideBar</SPAN>",/*"Servizi Gratuiti",*/"Hanno detto di noi","Scambio Banner",/*"Advertising",*/"WebbIT.03","Disclaimer &amp; &copy;");

var links=new Array();
	links[0]=new Array("/staffscripts/scripts.asp","/userscripts/userscripts.asp?show=Categoria&filtro=nessuno","/flyscript/flyscripts.asp","/poj/poj.asp","http://groups.google.it/groups?hl=en&lr=&ie=UTF-8&group=it.comp.lang.javascript","/LibreriaJS")
	links[1]=new Array("/faq/faq.asp","/tutorials/tutorials.asp","/red/red.asp","/biblioteca/biblioteca.asp?show=index","/links.asp","/goonline/gol.asp")
	links[2]=new Array("/staff/staff.asp","/staff/collaboratori.asp","/contatti.asp","/credits.asp","/troubles.asp")
	links[3]=new Array("/staffscripts/script088.asp", "/staffscripts/script043.asp", "/staffscripts/script044.asp", "/staffscripts/script068.asp", "/staffscripts/script073.asp", "/staffscripts/script064.asp", "/staffscripts/script053.asp", "/staffscripts/script051.asp", "/staffscripts/script047.asp", "/staffscripts/script041.asp", "/staffscripts/script038.asp", "/staffscripts/script033.asp", "/staffscripts/script031.asp" )
	links[4]=new Array("/sidebarinfo.asp",/*"/wms/",*/"/press/press.asp","/banner.asp",/*"/adv.asp",*/"/webbit03.asp","/copyrights.asp")

var MenuLength=menuwidth*voci.length+2*voci.length-18;
var BrowserWidth=nn||op?window.innerWidth:N6?document.width:document.body.clientWidth;
var leftmargin=parseInt((BrowserWidth-MenuLength)/2);

if (nn){
	document.write("<LAYER NAME='home' POSITION='absolute' TOP='"+topmargin+"' LEFT='"+eval(leftmargin-28)+"' WIDTH='16' HEIGHT='17'><A HREF='/' onMouseOver=\"homekeylayer.visibility='visible'\" onMouseOut=\"homekeylayer.visibility='hidden'\"><IMG BORDER='0' SRC='/img/tabhome.gif'></A></LAYER>");
	for (i in tabs){
		document.write("<LAYER NAME='top"+tabs[i]+"' POSITION='absolute' TOP='"+topmargin+"' LEFT='"+eval(leftmargin+i*menuwidth+2*i)+"' WIDTH='140' HEIGHT='17' BACKGROUND='/img/tab.gif' onMouseOver=\"menus["+i+"].visibility='visible'\" onMouseOut=\"menus["+i+"].visibility='hidden'\" CLASS='mnuNscb'>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF='#' CLASS='menuNNb'>"+tabs[i]+"</A></LAYER>");
		document.write("<LAYER NAME='menu"+i+"' POSITION='absolute' TOP='"+eval(16+topmargin)+"' LEFT='"+eval(leftmargin+i*menuwidth+2*i)+"' WIDTH='140' HEIGHT='"+eval(129+menuheights[i])+"' Z-INDEX='10' BACKGROUND='/img/"+tabs[i].toLowerCase()+"sfondo.gif' VISIBILITY='hidden' onMouseOver=\"this.visibility='visible'\" onMouseOut=\"this.visibility='hidden'\" CLASS='menuNN'>");
		for (j in voci[i])
			document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF='"+links[i][j]+"' CLASS='menuNN'>"+voci[i][j]+"</A><BR>");
		document.write("</LAYER>");
		menus[i]=eval(document.layers["menu"+i]);
		}
	document.write("<LAYER NAME='homekey' POSITION='absolute' TOP='"+topmargin+"' LEFT='"+eval(leftmargin-28)+"' WIDTH='65' HEIGHT='17' VISIBILITY='hidden' Z-INDEX='10'><A HREF='/' onMouseOver=\"homekeylayer.visibility='visible'\" onMouseOut=\"homekeylayer.visibility='hidden'\"><IMG BORDER='0' SRC='/img/keyhome.gif'></A></LAYER>");
	homekeylayer=document.layers.homekey;
		}
	else{
	document.writeln("<DIV ID='home' STYLE='position:absolute;top:"+topmargin+";left:"+eval(leftmargin-28)+";width:16;height:17;background-image:url(\"/img/tabhome.gif\");cursor:hand' CLASS='menuIEb' onMouseOver=homekeylayer.visibility='visible' onMouseOut=homekeylayer.visibility='hidden'>&nbsp;</DIV>");
	for (i in tabs){
		document.writeln("<DIV ID='top"+tabs[i]+"' STYLE='position:absolute;top:"+topmargin+";left:"+eval(leftmargin+i*menuwidth+5*i)+";width:140;height:17;background-image:url(\"/img/tab.gif\");cursor:hand' onMouseOver=menus["+i+"].visibility='visible' onMouseOut=menus["+i+"].visibility='hidden' CLASS='menuIEb'>&nbsp;&nbsp;&nbsp;&nbsp;"+tabs[i]+"</DIV>");
		document.writeln("<DIV ID='menu"+i+"' STYLE='position:absolute;top:"+eval(16+topmargin)+";left:"+eval(leftmargin+i*menuwidth+5*i)+";width:140;height:"+eval(129+menuheights[i])+";background-image:url(\"/img/"+tabs[i].toLowerCase()+"sfondo.gif\");visibility:hidden;z-index:10' onMouseOver=menus["+i+"].visibility='visible' onMouseOut=menus["+i+"].visibility='hidden' CLASS='menuIE'>");
		for (j in voci[i])
			document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF='"+links[i][j]+"' CLASS='menuIE'>"+voci[i][j]+"</A> <BR>")
		document.writeln(" <BR></DIV>")
		}
	document.writeln("<DIV ID='homekey' STYLE='position:absolute;top:"+topmargin+";left:"+eval(leftmargin-28)+";width:65;height:17;background-image:url(\"/img/keyhome.gif\");cursor:hand;visibility:hidden;z-index:10' CLASS='menuIEb' onMouseOver=homekeylayer.visibility='visible' onMouseOut=homekeylayer.visibility='hidden'><A HREF='/' CLASS='menuIEb'><IMG BORDER=0 SRC=/img/keyhome.gif></A></DIV>");
	N6?setTimeout("LeggiLivelli()",50):LeggiLivelli(); // temporizzata per Netscape6
		}

function LeggiLivelli()
	{
	for (i in tabs)
		N6?menus[i]=document.getElementById('menu'+i).style:menus[i]=eval(document.all["menu"+i].style);
	N6?homekeylayer=document.getElementById('homekey').style:homekeylayer=eval(document.all.homekey.style);

}
//-->
