bname = navigator.appName;
bver = parseInt(navigator.appVersion);
if ((bname == "Netscape" && bver >= 3) || (bname == "Microsoft Internet Explorer" && bver >= 4)) br ="n3";
else br = "n2"
if ( br == "n3" ){

// MSover
bioon = new Image();
bioon.src = "../navigator/nav_1_on.gif";
biooff = new Image();
biooff.src = "../navigator/nav_1_off.gif";

bio2on = new Image();
bio2on.src = "../navigator/nav_1_on_eng.gif";
bio2off = new Image();
bio2off.src = "../navigator/nav_1_off_eng.gif";

discoon = new Image();
discoon.src = "../navigator/nav_2_on.gif";
discooff = new Image();
discooff.src = "../navigator/nav_2_off.gif";

disco2on = new Image();
disco2on.src = "../navigator/nav_2_on_eng.gif";
disco2off = new Image();
disco2off.src = "../navigator/nav_2_off_eng.gif";

stampaon = new Image();
stampaon.src = "../navigator/nav_3_on.gif";
stampaoff = new Image();
stampaoff.src = "../navigator/nav_3_off.gif";

stampa2on = new Image();
stampa2on.src = "../navigator/nav_3_on_eng.gif";
stampa2off = new Image();
stampa2off.src = "../navigator/nav_3_off_eng.gif";

evention = new Image();
evention.src = "../navigator/nav_4_on.gif";
eventioff = new Image();
eventioff.src = "../navigator/nav_4_off.gif";

eventi2on = new Image();
eventi2on.src = "../navigator/nav_4_on_eng.gif";
eventi2off = new Image();
eventi2off.src = "../navigator/nav_4_off_eng.gif";

attivitaon = new Image();
attivitaon.src = "../navigator/nav_5_on.gif";
attivitaoff = new Image();
attivitaoff.src = "../navigator/nav_5_off.gif";

personaleon = new Image();
personaleon.src = "../navigator/nav_6_on.gif";
personaleoff = new Image();
personaleoff.src = "../navigator/nav_6_off.gif";


contattion = new Image();
contattion.src = "../navigator/contatti_on.gif";
contattioff = new Image();
contattioff.src = "../navigator/contatti_off.gif";

chiudion = new Image();
chiudion.src = "../navigator_popup/chiudi_on.gif";
chiudioff = new Image();
chiudioff.src = "../navigator_popup/chiudi_off.gif";

chiudi2on = new Image();
chiudi2on.src = "navigator_popup/chiudi_on.gif";
chiudi2off = new Image();
chiudi2off.src = "navigator_popup/chiudi_off.gif";

lavoroon = new Image();
lavoroon.src = "../navigator/bottone_on.gif";
lavorooff = new Image();
lavorooff.src = "../navigator/bottone_off.gif";

scrivimion = new Image();
scrivimion.src = "../navigator/scrivimi_on.gif";
scrivimioff = new Image();
scrivimioff.src = "../navigator/scrivimi_off.gif";


tastostampaon = new Image();
tastostampaon.src = "../navigator_popup/stampa_on.gif";
tastostampaoff = new Image();
tastostampaoff.src = "../navigator_popup/stampa_off.gif";


}

function on(nome) {
if ( br == "n3" ) {
document[nome].src = eval(nome + "on.src");
	}
}

function off(nome) {
if ( br == "n3" ) {
document[nome].src = eval(nome + "off.src");
	}
}



function apri_stampa(url){
window.open(url,'rass_stampa','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizeable=no,copyhistory=no,width=318,height=420,marginwidth=0,marginheight=0');}

function apri_testo(url){
window.open(url,'txt_canzone','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizeable=no,copyhistory=no,width=318,height=420,marginwidth=0,marginheight=0');}

function apri_pc(url){
window.open(url,'pers_crim','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizeable=no,copyhistory=no,width=619,height=400,marginwidth=0,marginheight=0');}
 
 function apri_info(url){
window.open(url,'info_album','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizeable=no,copyhistory=no,width=318,height=420,marginwidth=0,marginheight=0');}


 function apri_contatti(url){
window.open(url,'contatti','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizeable=no,copyhistory=no,width=300,height=150,marginwidth=0,marginheight=0');}

 function apri_foto1(url){
window.open(url,'foto1','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizeable=no,copyhistory=no,width=400,height=300,marginwidth=0,marginheight=0');}

 function apri_foto2(url){
window.open(url,'foto2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizeable=no,copyhistory=no,width=300,height=400,marginwidth=0,marginheight=0');}

// funzione stampa


var NS = (navigator.appName == "Netscape");
var VERSION = parseInt(navigator.appVersion);
function printit(){  
if (NS) {
window.print() ;  
} else {
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6, 2);
WebBrowser1.outerHTML = "";
}
}
