<!--
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.getFullYear(); 
window.status="NiqueDeAngelis©"+year
}
stato();

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;
	}
-->
