// 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,a)
	{
		if(document.images)
		{
        if (is.ie)
			document.images[imgName].src=imgSrc;
		
        else
        
        if (a==1)
            eval('document.images["'+imgName+'"].src = "'+imgSrc+'"')
       }
	}   
    
// FUNZIONE POP UP

	function pop_credits(filename)
	{
	window.open(filename,'pop_credits','menubar=no,location=no,toolbar=no,status=no,scrollbars=no,resizable=no,width=258,height=305')
	}
	
	function pop_privacy(filename)
	{
	window.open(filename,'pop_privacy','menubar=no,location=no,toolbar=no,status=no,scrollbars=yes,resizable=no,width=350,height=350')
	}

