

function Start(URL, NOME, WIDTH, HEIGHT) {
timeout =0;
windowprops = "left=50,top=50,width=" + (WIDTH+50) + ",height=" + (HEIGHT+50);
text = "<html><head><title>" + NOME + "</title></head><body bgcolor=" + "'silver'";

if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\"";

text += "><center><img src='" + URL + "'>";

if (timeout != 0) text +="<br><font face='arial, helvetica' size='-1'>Preview closes after " + timeout + " seconds.</font>";

text += "</center></body></html>";

preview = window.open("", "prrrrrrr", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();
}

function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}

function opencredit(nomef){

var creditfile= nomef 

if (document.all)
creditwindow=window.open(creditfile,"","width=350,height=450,scrollbars")
else
creditwindow=window.open(creditfile,"","width=350,height=450,scrollbars")
}



function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
alert("Il tasto destro del mouse e' disabilitato");
return false;
}
return true;
}
