	text=new Array();
  	title=new Array();
 	
	title[1]="Telefonia";
	text[1]="<b>Accessori</b><br>" +
			"<b>Cavi telefonici</b><br>" +
			"<b>Centralini</b><br>" +
			"<b>Telefoni</b><br>";
		
	title[2]="Networking";
	text[2]="<b>Armadi</b><br>" +
			"<b>Categoria 5</b><br>" +
			"<b>HUB, Switch e Router</b><br>" +
			"<B>Pannelli e prese</B><br>" +
			"...ed altro ancora...<br>";

	var x = 0;
	var xx=10;
	var yy=-140
	var y = 0;
	var showit = 0;

    // Che browser hai...
    // ----------------------------------
    ns = (document.layers)? true:false
    ie4 = (document.all)? true:false
    ie5 = false;
    if (ie4) {
    	if (navigator.userAgent.indexOf('MSIE 5')>0) {
    		ie5 = true;
    	}
    }
	
   // Che piattaforma hai
 
	if ( navigator.platform.substring(0,3).toUpperCase() == "MAC" && (ie4 || ie5) )  
	{
	   mac = true;
	   } else {
	   mac = false;
	   }
	
    if ( (ns) || (ie4) ) {
    	if (ns) over = document.popDiv
    	if (ie4) over = popDiv.style
    	document.onmousemove = mouseMove
    	if (ns) document.captureEvents(Event.MOUSEMOVE)
    }

    function wtl(txt) {
    	if (ns) {
    		var lll = document.popDiv.document
    		lll.write(txt)
    		lll.close()
    	} else {
    		if (ie4) document.all["popDiv"].innerHTML = txt
    	}
    }

    function show(obj) {
    	if (ns) obj.visibility = "show"
    	else if (ie4) obj.visibility = "visible"
   }

    function hide(obj) {
    	if (ns) obj.visibility = "hide"
    	else if (ie4) obj.visibility = "hidden"
    }

    function moveTo(obj,lx,ly) {
    	obj.left = lx
    	obj.top = ly
    }


    function hideit() {
    	if (mac) {return;}
		
		if ( (ns) || (ie4) )  {
    		showit = 0;
    		hide(over);
    	}
    }


    // Tira su la finestra
    // -------------------
    function rpopi(text, title) {
    	txt = "<TABLE WIDTH=150 BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\"#990033\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0><TR><TD><B><FONT face=\"Arial, Helvetica\" size=2 class=\"lt\" color=\"#ffffff\">"+title+"</FONT></B></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=3 CELLSPACING=0 BGCOLOR=\"#ffffec\"><TR><TD><FONT face=\"Verdana, Arial, Helvetica\" COLOR=\"#000000\" size=1>"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>"
       	wtl(txt);
    	display_it();
    }

	function popi(i,xm) {
		if (mac) {return;}
		xx=xm;
		rpopi(text[i],title[i]);
    }

    // ...visualizza
    // -------------
    function display_it() {
    	if ( (ns) || (ie4) ) {
    		if (showit == 0) 	{
    			moveTo(over,x+xx,y+yy);
    			show(over);
    			showit = 1;
    		}
    	}
    }

    // Su mouseover
    // ------------
    function mouseMove(e) {
    	if (ns) {x=e.pageX; y=e.pageY;}
    	if (ie4) {x=event.x; y=event.y;}
    	if (ie5) {x=event.x+document.body.scrollLeft; y=event.y+document.body.scrollTop;}
    	if (showit) {
    		moveTo(over,x+xx,y+yy);
    	}
    }