<!--
function banner() {
index = Math.floor(Math.random()*13);
document.write("<img src='banner/banner_"+index+".jpg' align='right'>");
}


function popupGen(cric) {
	document.getElementById("output").innerHTML ="<div align=center><img src='"+cric+"' width=250 height=187 border=1>";
}
function titolazione(cric,testo) {
	document.getElementById("output").innerHTML ="<div align=center><img src='"+cric+"' width=120height=>";
	document.getElementById("titolo").innerHTML =testo;
}

function finestra(){
	tipo = 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=100,height=100,top=0,left=0'
	newWindow=window.open("default_3.asp?joy=3","",tipo);
	newWindow.moveTo(0,0)
	newWindow.resizeTo(screen.width,(screen.height-30))
	newWindow.setTimeout("window.focus()", 10000);
}

function carigo(swf,marca,lingua,largo,alto) {
	if (window.screen) {
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH='+largo+' HEIGHT='+alto+' id="passFlash">');
	document.write('<PARAM NAME=movie VALUE="'+swf+'.swf?chiave='+marca+'&lingua='+lingua+'"><PARAM NAME=quality VALUE=best> <PARAM NAME=menu VALUE=false> <param name="WMode" value="transparent">\n <EMBED src="'+swf+'.swf?chiave='+marca+'&lingua='+lingua+'" quality=best menu=false bgcolor=#FFFFFF WIDTH='+largo+' HEIGHT='+alto+' Name="passFlash" swLiveconnect=true id="passFlash" TYPE="application/x-shockwave-flash"');
	document.write('PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent"</EMBED></OBJECT>');	
}
}


function resize() { 
	window.resizeTo(window.picture.width+15,window.picture.height+60);
}

function stato() {
		var today = new Date();
		var year = today.getYear(); 
window.status="NiqueDeAngelis©"+year
}


function novite(data,titolo,id) {
var	color = (c_News %2 == 0) ? "#FFFFFF" : "#EEEEEE"
document.write('<tr bgcolor="'+color+'">');
document.write('<td width="80" align="right" class="data">'+data+'</td>');
document.write('<td width="350" class="data">| <a href="rispondi.asp?id='+id+'">'+titolo+'</a></td></TR>');
c_News++
}

function novitu() {
var	color = (c_News %2 == 0) ? "#FFFFFF" : "#EEEEEE"
document.write('<tr bgcolor="'+color+'">');
c_News++
}

function goToURL() { //v3.0
  var i, args=goToURL.arguments; document.returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

function imgLoadingError(n) {
document.images[n].src="public/0_Bianca.gif";
}

function imgLoadingErrororig(n) {
var foto = new Array(); //array delle frasi
foto[0] = "public/Rotary1.gif"
foto[1] = "public/Rotary2.jpg"
foto[2] = "public/Rotary4.jpg"

var id = Math.round(Math.random() * (foto.length - 1)); //ne prende una a caso
var quote = foto[id]
	document.images[n].src=quote;
	}


-->