<!--
	
	// This javascript was written only for use on site www.astroala.it
	// Any other use is proibithed
	// Copyright © Emilio Lapenna 2009 - All rights reserved, Tutti i diritti riservati
	// Last update 17/10/09
	// www.astroala.it
	
	
    var now = new Date();
    var hours = now.getHours();
		
	//0-4-8-12-16-20 hours
        if (hours==0 || hours==4 || hours==8 || hours==12 || hours==16 || hours==20) {
        
        var background = new Array();
		background[0] = "images/bg/moon.jpg";
		background[1] = "images/bg/helix.jpg";
		background[2] = "images/bg/nebula.jpg";
		background[3] = "images/bg/saturn.jpg";
		
	}
	
	//1-5-9-13-17-21 hours
        if (hours==1 || hours==5 || hours==9 || hours==13 || hours==17 || hours==21) {
		
		var background = new Array();
		background[0] = "images/bg/phoebe.jpg";
		background[1] = "images/bg/pillar.jpg";
		background[2] = "images/bg/neptune.jpg";
		background[3] = "images/bg/whirpol.jpg";

	}
	
	//2-6-10-14-18-22 hours
        if (hours==2 || hours==6 || hours==10 || hours==14 || hours==18 || hours==22) {
		
		var background = new Array();
		background[0] = "images/bg/reha.jpg";
		background[1] = "images/bg/ngc3370.jpg";
		background[2] = "images/bg/bubble.jpg";
		background[3] = "images/bg/m16.jpg";

	}
	
	//3-7-11-15-19-23 hours
        if (hours==3 || hours==7 || hours==11 || hours==15 || hours==19 || hours==23) {
		
		var background = new Array();
		background[0] = "images/bg/mars.jpg";
		background[1] = "images/bg/supernova.jpg";
		background[2] = "images/bg/sombrero.jpg";
		background[3] = "images/bg/pleiadi.jpg";

	}
		
		var bNum = Math.round(Math.random() * (background.length - 1));
		var sfondo = background[bNum];
		document.write("<body background=\"" + sfondo + "\">");

//-->