<!--

img1		= new Image(220,36); img1.src		= "images/b_victory1.gif";
img1_r 	= new Image(220,36); img1_r.src	= "images/b_victory2.gif";

function imgOn(imgX,text){
	document.images [imgX].src = eval(imgX + "_r.src");
	window.status = text; return true;
}

function imgOff(imgX,text){
	document.images [imgX].src = eval(imgX + ".src");
	window.status = text; return true;
}

function checkModulo() {
	var errore = '';
	if (!(document.form.azienda.value)) {
		errore = '\n - il nome della Vs Società / Ente';
	}
	if (!(document.form.tel.value)) {
		errore = errore + '\n - il numero di Telefono';
	}
	if (errore) {
		alert('ATTENZIONE !!!\nti sei dimenticato di compilare i seguenti dati:' + errore);
		return false;
	}
	else {
		return checkPrivacy();
	}
}

function checkPrivacy() {
	if (!(document.form.privacy[0].checked)) {
		alert('ATTENZIONE !!!\nse non si consente al trattamento dei dati personali secondo la legge 196/03, non è possibile proseguire.');
		return false;
	}
}


function showProd(tabName) {
	document.all['fonderiaT'].style.display = "none";
	document.all['vp001T'].style.display = "none";
	document.all['vp002T'].style.display = "none";
	document.all['vp003T'].style.display = "none";
	document.all['vp004T'].style.display = "none";
	document.all['vp005T'].style.display = "none";
	document.all[tabName + 'T'].style.display = "block";

	document.all['fonderiaI'].style.display = "none";
	document.all['vp001I'].style.display = "none";
	document.all['vp002I'].style.display = "none";
	document.all['vp003I'].style.display = "none";
	document.all['vp004I'].style.display = "none";
	document.all['vp005I'].style.display = "none";
	document.all[tabName + 'I'].style.display = "block";
}


function vediGrande(foto) {hrefloc = location
	winCat=window.open ("", "Foto_Grande", "toolbar=no,directories=no,menubar=no,scrollbars=yes,width=600,height=700");
	winCat.document.write ("<html><head><base href=" + hrefloc + "><title></title>");
	winCat.document.write ("<link rel='stylesheet' type='text/css' href='dara.css'></head>");
	winCat.document.write ("<body onLoad='self.focus()' bgcolor='#000000' background='images/sfondo.jpg'>");
	winCat.document.write ("<p align='center'><img src='prodotti/" + foto + ".jpg' border='0'></p>");
	winCat.document.write ("<form><p align='center'><input type='button' value='chiudi questa finestra' class='bottPopup' onClick=window.close()></p>");
	winCat.document.write ("</form></body></html>");
	winCat.document.close ();
}


//-->

