document.writeln ('<!-- The JavaScript Source!! http://javascript.internet.com -->')
document.writeln ('<!--  Author: www.cgiscript.net  -->')
document.writeln (' <p> ')

// Get today's current date.
var now = new Date();

// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

// Array list of months.
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
				}
// Join it all together
today ="Bras&iacute;lia-DF, Brazil &bull; " + date + " " +
		 months[now.getMonth()] + " " + " " +
         (fourdigits(now.getYear()));

// Print out the data.

document.write(today);

// 	

// FUNÇÃO DE IMPRESSÃO »

function DoPrinting(){
	
	if (!window.print){ alert ("Use o Netscape  ou Internet Explorer \n nas versões 4.0 ou superior!")
	return
	}
	window.print()
	}

document.writeln (' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &laquo; <a href="javascript:history.go(-1);">BACK</a> | <a href="javascript:history.go(1);">NEXT</a> &raquo; | &nbsp;<a href="javascript:DoPrinting();" class= "link1">PRINT</a> ')
document.writeln (' </p> ')



