// riconoscimento browser
    
	function BrowserCheck() 
	{
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
	}
	is = new BrowserCheck()


// funzione per rollover immagine 

	function rollover(imgName,imgSrc)
	{
		if(document.images)
		{
        if (is.ie)
			document.images[imgName].src=imgSrc;
		else            
            eval('document.contenuti.document.images["'+imgName+'"].src = "'+imgSrc+'"')	
		}
	} 
	
	
// FUNZIONE POP UP

	function pop_up_dovesiamo(filename)
	{
	window.open(filename,'pop_dovesiamo','menubar=no,location=no,toolbar=no,status=no,scrollbars=no,resizable=no,width=500,height=400')
	}
	
	function pop_up_piccolo(filename)
	{
	window.open(filename,'pop_piccolo','menubar=no,location=no,toolbar=no,status=no,scrollbars=no,resizable=no,width=400,height=200')
	}
	
	function pop_up_scroller(filename)
	{
	window.open(filename,'pop_scroller','menubar=no,location=no,toolbar=no,status=no,scrollbars=yes,resizable=no,width=518,height=370')
	}
		
	function pop_up_sumisura(filename)
	{
	window.open(filename,'pop_sumisura','menubar=no,location=no,toolbar=no,status=no,scrollbars=yes,resizable=no,width=518,height=281')
	}
	
	
	
