 //implementacion de funciones
Num=Math.floor (Math.random()*1000000);
Site="us.terra.copalibertadores/home";


if (typeof(rsSegs) == "undefined") 
	rsSegs = "";


function ordem(){
  for(i = 0; i < ordem.arguments.length; i++){
    this.tagsPublicidad += "<scr"+"ipt src=\""+ ordem.arguments[i] + "\"></scr"+"ipt>";
  }
}

function anuncios(){
  this.tagsPublicidad="";
  this.ordem = ordem;
  this.mostra = function (){document.write(this.tagsPublicidad);}
}

anuncioDerecha = new anuncios();
anuncioIzquierda = new anuncios();
anuncioBanner = new anuncios();
anuncioSky = new anuncios();
anuncioLogo = new anuncios();

//espaciador
espacador = "http://www.terra.com.br/ads/espaco.js";

//fuentes para los anuncios
superbanner = "http://ad.doubleclick.net/adj/" + Site + ";sz=728x90;" + rsSegs + "ord=" + Num + "?";
arrobabanner = "http://ad.doubleclick.net/adj/" + Site + ";sz=300x250;" + rsSegs + "ord=" + Num + "?";
sky= "http://ad.doubleclick.net/adj/" + Site + ";sz=120x600;" + rsSegs + "ord=" + Num + "?";

//posicion de los anuncios
anuncioDerecha.ordem(arrobabanner);
anuncioBanner.ordem(superbanner);
anuncioSky.ordem(sky);
