﻿//file per funzioni Javascript custom
Prototype.Browser.IE6=Prototype.Browser.IE && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5))==6;
Prototype.Browser.IE7=Prototype.Browser.IE && !Prototype.Browser.IE6;



function showLang(){
    if(Prototype.Browser.IE6){ // Solo se IE6
        $('lang').className="langLinks"; // Assegno la classe visibile
        $('MenuMarket').observe('mouseout', function() { // Attacco l'evento mouseout
            $('lang').className="langHiddenLinks"; // Assegno la classe invisibile 
	        $('MenuMarket').stopObserving('mouseout'); // Tolgo l'evento
        });
    }
}

