<!--
//var widt = window.screen.availWidth;

//if(widt > 800){
//	var dif = widt - 455;
//	var calc = widt - dif;
//}

//if(calc){
//document.writeln('<style type="text/css">');
//document.writeln('<!--');
//document.writeln('body {');
//document.writeln('background-position: '+calc+' 155;');
//document.writeln('}');
//document.writeln('-->');
//document.writeln('</style>');
//}

// Image Slide;
var pic_width=585;
var pic_height=125;

if (document.images) {
     pic1= new Image(pic_width,pic_height);
     pic1.src="images/saopaulo.jpg";  
     pic2= new Image(pic_width,pic_height); 
     pic2.src="images/riodejaneiro.jpg"; 
     pic3= new Image(pic_width,pic_height);
     pic3.src="images/brasilia.jpg";  
}

var pics= new Array(3) 
pics[0]=pic1.src;
pics[1]=pic2.src;
pics[2]=pic3.src;

var numpics = 3;
var thenum = 0;

function change_it() {
   if (document.images) {
      document.write("<img name='tgtimg' src='"+pics[thenum]+"' border='0' width='"+pic_width+"' height='"+pic_height+"'>\n");
      setTimeout('change_it2()',3000);  
   }
}

function change_it2() {
	var x = 0;
	thenum += 1;

	if (thenum > numpics-1) {
	thenum=0;
	}
	document['tgtimg'].src=pics[thenum];
	x+=1;
	setTimeout('change_it2()',3000);
}
//-->