function testa(img, altro){
if (document.all) {
	window.parent.frames("Top").titolo.src="../images/Loghi/" + img;
	window.parent.frames("Top").voci.innerHTML=altro;
	}
	else{
	nets (img, altro)}
}
function nets (img, altro) {
var htm;
htm='<table border="0" cellpadding="0" cellspacing="0" width="635" height="40"> <tr><td width="260" height="40">';
htm= htm + '<img border="0" align="center" src="../images/Loghi/' + img + '" width="256" height="33"></td>';
htm= htm + '<td width="375" height="40">' + altro + '</td> </tr></table>';
window.parent.frames["Top"].document.layers.titolo.document.write(htm);
window.parent.frames["Top"].document.layers.titolo.document.close();
}

function r55_menu(pagina, ing){
//pagina e' il numero di riga da cambiare
//ing ="uk" o niente 
var htm;
var intro = "<td width='20%' height='20'>";
var ref=new Array(10);
var centro = "<img border='0' src='../images/Loghi/"
var img = new Array(10);
var fine = ".jpg' width='75' height='20'></a></td>"

ref[0]= "<a href='riverclack55.htm' target='centro'>";
ref[1]= "<a href='riv55_b.htm' target='centro'>";
ref[2]= "<a href='riv55_c.htm' target='centro'>";
ref[3]= "<a href='riv55_d.htm' target='centro'>";
ref[4]= "<a href='riv55_e.htm' target='centro'>";
ref[5]= "<a href='riv55_f.htm' target='centro'>";
ref[6]= "<a href='riv55_g.htm' target='centro'>";
ref[7]= "<a href='riv55_h.htm' target='centro'>";
ref[8]= "<a href='riv55_i.htm' target='centro'>";
ref[9]= "<a href='riv55_l.htm' target='centro'>";

ref[pagina]="";

img[0]= "menugenerale" + ing;
img[1]= "menu_dettagli" + ing;
img[2]= "menu_morfo" + ing;
img[3]= "menu_metal" + ing;
img[4]= "menu_stat" + ing;
img[5]= "menu_aff" + ing;
img[6]= "menu_acqua" + ing;
img[7]= "menu_certif" + ing;
img[8]= "menu_inst" + ing;
img[9]= "menu_opere" + ing;

img[pagina] = img[pagina] + "2";

htm = " <table border='0' width='375' height='40' cellspacing='0' cellpadding='0' bgcolor='#CCFFFF'>";
htm = htm + "<tr>";
htm = htm + intro + ref[0] + centro + img[0] + fine;
htm = htm + intro + ref[1] + centro + img[1] + fine;
htm = htm + intro + ref[2] + centro + img[2] + fine;
htm = htm + intro + ref[3] + centro + img[3] + fine;
htm = htm + intro + ref[4] + centro + img[4] + fine;
htm = htm + "</tr>";
htm = htm + "<tr>";
htm = htm + intro + ref[5] + centro + img[5] + fine;
htm = htm + intro + ref[6] + centro + img[6] + fine;
htm = htm + intro + ref[7] + centro + img[7] + fine;
htm = htm + intro + ref[8] + centro + img[8] + fine;
htm = htm + intro + ref[9] + centro + img[9] + fine;
htm = htm + "</tr>";
htm = htm + "</table>";

testa ("LOGO_river55tit.gif", htm);
}

function doga_menu(pagina, ing){
//pagina e' il numero di riga da cambiare
//ing ="uk" o niente 
var htm;
var intro = "<td width='20%' height='20'>";
var ref=new Array(2);
var centro = "<img border='0' src='../images/Loghi/"
var img = new Array(2);
var fine = ".jpg' width='75' height='20'></a></td>"

ref[0]= "<a href='doga.htm' target='centro'>";
ref[1]= "<a href='doga2.htm' target='centro'>";

ref[pagina]="";

img[0]= "menugenerale" + ing;
img[1]= "menuscheda" + ing;

img[pagina] = img[pagina] + "2";

htm = " <table border='0' width='150' height='20' cellspacing='0' cellpadding='0' bgcolor='#CCFFFF'>";
htm = htm + "<tr>";
htm = htm + intro + ref[0] + centro + img[0] + fine;
htm = htm + intro + ref[1] + centro + img[1] + fine;
htm = htm + "</tr>";
htm = htm + "</table>";

testa ("LOGO_doga1400.jpg", htm);
}

function apri(finestra){
window.open(finestra,"_blank","menubar=no,toolbar=no");
}
