//
// www.gauchada.com
// Gauchada.com (c) 2003
//
function link( sSection, sPage ) {

   if (sPage.charAt(0)=='/') {
      sPage = sPage.substring(1,sPage.length);
   }
   
   if (sSection == 'cerebro') {
      window.location = site__path + 'gauchada.asp?key=cerebro/' + sPage;
   } else if (sSection == 'lapiz') {
      window.location = site__path + 'gauchada.asp?key=lapiz/' + sPage;
   } else if (sSection == 'ojo') {
      window.location = site__path + 'gauchada.asp?key=ojo/' + sPage;
   } else if (sSection == 'gauchada') {
      window.location = site__path + 'gauchada.asp?key=gauchada/' + sPage;
   } else {
      window.location = site__path + 'gauchada.asp';
   }
}

function linkX( sSection, sPage ) {

   if (sPage.charAt(0)=='/') {
      sPage = sPage.substring(1,sPage.length);
   }
   
   if (sSection == 'cerebro') {
      window.location = site__path + 'cerebro/' + sPage;
   } else if (sSection == 'lapiz') {
      window.location = site__path + 'lapiz/' + sPage;
   } else if (sSection == 'ojo') {
      window.location = site__path + 'ojo/' + sPage;
   } else if (sSection == 'gauchada') {
      window.location = site__path + 'gauchada/' + sPage;
   } else {
      window.location = site__path + 'gauchada.asp';
   }
}

function glosario( pKey, pSearchType ) {
   var url1 = site__path + "glosario/fs_glosario.asp?key=" + pKey + '&contenido='+ pSearchType;
   parent.window.open(url1,"glosario","toolbar=0,location=0,status=0,resizable=0,menubar=0,scrollbars=1,width=345,height=350");
}

function Glosario(key)
{
   var GlosarioURL = site__path + 'glosario/fs_glosario.asp?key=' + key;
   parent.window.open( GlosarioURL, "Glosario", "toolbar=0,location=0,status=0,resizable=1,menubar=0,scrollbars=1,width=345,height=350" );
}

function predio(lugar) { 
   var url3 = site__path + 'instituciones/ficha-' + lugar + '.html';
   parent.window.open(url3,"ficha","toolbar=0,location=0,status=0,resizable=1,menubar=0,scrollbars=1,width=345,height=350");
}

function empleos(desktopURL){
	var desktop = window.open( desktopURL, "_blank", "width=620,height=400,scrollbars=yes,resizable=yes");
}

function recordarpass() {
   var url1 = site__path + "gauchada/registracion/fs-recordarpass.html";
   parent.window.open(url1,"RecordarPassword","width=300,height=300,menubar=no,scrollbars=no,resizable=no");
}

// POPUP GALERÍA JPGs
function galeria(desktopURL){
	popupwin=window.open( "", "_blank", "toolbar=no,location=no,status=no,menubar=no,resizable=yes,scrollbars=yes,width=550,height=400" );
	popupwin.document.write("<html>");
	popupwin.document.write("<head>");
	popupwin.document.write("<title>Gauchada.com - parte de una buena idea</title>");
	popupwin.document.write("</head>");
	popupwin.document.write("<body bgcolor='#FFFFFF' marginwidth='0' marginheight='0' topmargin='0' leftmargin='0'>");
	popupwin.document.write("<table border='0' cellpadding='0' cellspacing='0' width='100%'>");
	popupwin.document.write("  <tr>");
	popupwin.document.write("    <td>&nbsp;</td>");
	popupwin.document.write("    <td>&nbsp;</td>");
	popupwin.document.write("  </tr>");
	popupwin.document.write("  <tr>");
	popupwin.document.write("    <td align='center' colspan='2'><img src='" + desktopURL +"' border='0'></td>");
	popupwin.document.write("  </tr>");
	popupwin.document.write("  <tr>");
	popupwin.document.write("    <td>&nbsp;</td>");
	popupwin.document.write("    <td>&nbsp;</td>");
	popupwin.document.write("  </tr>");
	popupwin.document.write("  <tr>");
	popupwin.document.write("    <td align='center' width='95%' bgcolor='#D50401'><font face='Verdana, Arial, Helvetica, sans-serif' size='1' color='#FFFFFF'>Gauchada.com © 1999 - 2009</font></td>");
	popupwin.document.write("    <td align='right' bgcolor='#D50401'><a href='#bing' onclick='self.close()'><img src='/ojo/imag/cerrar-off.gif' width='23' height='20' alt='cerrar ventana' border='0'></a></td>");
	popupwin.document.write("  </tr>");
	popupwin.document.write("</table>");
	popupwin.document.write("</body>");
	popupwin.document.write("</html>");
}

// POPUP GALERÍA FLASH
function galeriaFlash(desktopURL, width, height, widthVentana, heightVentana){
	popupwin=window.open( "", "_blank", "toolbar=no,location=no,status=no,menubar=no,resizable=yes,scrollbars=yes,width="+ widthVentana +",height="+ heightVentana +"" );
	popupwin.document.write("<html>");
	popupwin.document.write("<head>");
	popupwin.document.write("<title>Gauchada.com - parte de una buena idea</title>");
	popupwin.document.write("</head>");
	popupwin.document.write("<body bgcolor='#FFFFFF' marginwidth='0' marginheight='0' topmargin='0' leftmargin='0'>");
	popupwin.document.write("<table border='0' cellpadding='0' cellspacing='0' width='100%'>");
	popupwin.document.write("  <tr>");
	popupwin.document.write("    <td>&nbsp;</td>");
	popupwin.document.write("    <td>&nbsp;</td>");
	popupwin.document.write("  </tr>");
	popupwin.document.write("  <tr>");
	popupwin.document.write("    <td align='center' colspan='2'>");
	popupwin.document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='" + width +"' height='" + height +"'>");
	popupwin.document.write("  <param name=movie value='" + desktopURL +"'>");
	popupwin.document.write("  <param name=quality value=high>");
	popupwin.document.write("  <param name='menu' value='false'>");
	popupwin.document.write("  <embed src='" + desktopURL +"' width='" + width +"' height='" + height +"' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' menu='false'></embed>");
	popupwin.document.write("</object>");
	popupwin.document.write("  </tr>");
	popupwin.document.write("  <tr>");
	popupwin.document.write("    <td>&nbsp;</td>");
	popupwin.document.write("    <td>&nbsp;</td>");
	popupwin.document.write("  </tr>");
	popupwin.document.write("  <tr>");
	popupwin.document.write("    <td align='center' width='95%' bgcolor='#D50401'><font face='Verdana, Arial, Helvetica, sans-serif' size='1' color='#FFFFFF'>Gauchada.com © 1999 - 2009</font></td>");
	popupwin.document.write("    <td align='right' bgcolor='#D50401'><a href='#bing' onclick='self.close()'><img src='/ojo/imag/cerrar-off.gif' width='23' height='20' alt='cerrar ventana' border='0'></a></td>");
	popupwin.document.write("  </tr>");
	popupwin.document.write("</table>");
	popupwin.document.write("</body>");
	popupwin.document.write("</html>");
}

//
// RANDOM BANNER MENU-TOP
function banner(imgSource,url,alt,chance) {
this.imgSource = imgSource;
this.url = url;
this.alt = alt;
this.chance = chance;
}
function dispBanner() {
with (this) document.write("<A HREF=" + url + "><IMG SRC='" + imgSource + "' WIDTH=468 HEIGHT=60 BORDER=0 ALT='" + alt + "'></A>");
}
banner.prototype.dispBanner = dispBanner;
banners = new Array();
banners[0] = new banner("/banners/ext-468x60-intergratis8.gif",
                        "http://www.intergratis.com/ target='_blank'",
                        "Internet Gratis - Únicamente válido para argentinos piolas",
                        10);
banners[1] = new banner("http://www.kilak.com/banners/468x60_kilak1.gif",
                        "http://www.kilak.com/ target='_blank'",
                        "Kilak | Diseño & Web",
                        15);
banners[2] = new banner("http://www.kilak.com/banners/468x60_kilak2.gif",
                        "http://www.kilak.com/ target='_blank'",
                        "Kilak | Diseño & Web",
                        15);
banners[3] = new banner("/banners/ext-468x60-freewarefonts.gif",
                        "http://www.freewarefonts.com/cgi-bin/arp/rankem.cgi?action=in&id=gauchada target='_blank'",
                        "FreewareFonts.com",
                        20);
banners[4] = new banner("/banners/ext-468x60-clipart.gif",
                        "http://www.clip-art.com/in.php?id=gauchada target='_blank'",
                        "Clipart.com",
                        20);
banners[5] = new banner("/banners/ext-468x60-pcfonts.gif",
                        "http://www.pcfonts.com/in.php?id=gauchada target='_blank'",
                        "PCFonts.com",
                        20);
sum_of_all_chances = 0;
for (i = 0; i < banners.length; i++) {
sum_of_all_chances += banners[i].chance;
}
function randomBanner() {
chance_limit = 0;
randomly_selected_chance = Math.round((sum_of_all_chances - 1) * Math.random()) + 1;
for (i = 0; i < banners.length; i++) {
chance_limit += banners[i].chance;
if (randomly_selected_chance <= chance_limit) {
document.write("<A HREF=" + banners[i].url + "><IMG SRC='" + banners[i].imgSource + "' WIDTH=468 HEIGHT=60 BORDER=0 ALT='" + banners[i].alt + "'></A>");
return banners[i];
break;
      }
   }
}


// RANDOM BANNER INTERNO HOME
function bannerint(imgSource,url,alt,chance) {
this.imgSource = imgSource;
this.url = url;
this.alt = alt;
this.chance = chance;
}
function dispBannerInt() {
with (this) document.write("<a href=" + url + "><img src='" + imgSource + "' width=485 height=50 border=0 alt='" + alt + "'></a>");
}
bannerint.prototype.dispBannerInt = dispBannerInt;
bannersint = new Array();
bannersint[0] = new banner("/banners/int-485x50-cliparts.gif",
                        "javascript:link('lapiz','cliparts/tapa-cliparts-03.html');",
                        "¡Bajate los mejores cliparts vectoriales para Illustrator y CorelDraw!",
                        20);
bannersint[1] = new banner("/banners/int-485x50-concursos.gif",
                        "javascript:link('cerebro','concursos/tapa-concursos.html');",
                        "¡Participá de los mejores concursos para diseñadores y creativos!",
                        15);
bannersint[2] = new banner("/banners/int-485x50-diarios.gif",
                        "javascript:linkX('ojo','diarios/formulario.asp');",
                        "¡Recorré las portadas de los principales diarios y periódicos del mundo!",
                        15);
bannersint[3] = new banner("/banners/int-485x50-eventos.jpg",
                        "javascript:link('ojo','eventos/tapa-eventos.html');",
                        "¡Mantenete informado de los eventos y seminarios más importante!",
                        15);
bannersint[4] = new banner("/banners/int-485x50-galeriadetrabajos.jpg",
                        "javascript:linkX('ojo','galeria/galeria.asp');",
                        "¡Publicá tus obras creativas en nuestra Galería de Trabajos!",
                        20);
bannersint[5] = new banner("/banners/int-485x50-sharewares.jpg",
                        "javascript:link('lapiz','sharewares/tapa-sharewares.html');",
                        "¡Bajate los softwares de distribución gratuita más utilizados!",
                        15);
sum_of_all_chances = 0;
for (i = 0; i < bannersint.length; i++) {
sum_of_all_chances += bannersint[i].chance;
}
function randomBannerInt() {
chance_limit = 0;
randomly_selected_chance = Math.round((sum_of_all_chances - 1) * Math.random()) + 1;
for (i = 0; i < bannersint.length; i++) {
chance_limit += bannersint[i].chance;
if (randomly_selected_chance <= chance_limit) {
document.write("<a href=" + bannersint[i].url + "><img src='" + bannersint[i].imgSource + "' width=485 height=50 border=0 alt='" + bannersint[i].alt + "'></a>");
return bannersint[i];
break;
      }
   }
}

// Validacion Email
function vEmail() 
    {
	if (document.formsuscrip.Email.value == "")
           {
             alert('\nDebés ingresar tu e-mail.');
             document.formsuscrip.Email.focus();
             return(false);
        }

        if (document.formsuscrip.Email.value.indexOf('@',0)==-1 || document.formsuscrip.Email.value.indexOf('@',0)== 0 ||
          document.formsuscrip.Email.value.indexOf('.',0)==-1)
             {
                 alert('\nLa dirección de e-mail no es válida.');
                 document.formsuscrip.Email.focus();
                 return(false);
              }
             else { return(true); }
    }
// -->

// Boton envio Suscripción
function Enviar() 
   {
       if ( vEmail() )
          {
          document.formsuscrip.submit();
          }

   }
// -->

// Validacion Email Recomendar Amigo
function vEmailRecomendar1() 
    {
	if (document.formrecomendar.TuEmail.value == "")
           {
             alert('\nDebés ingresar tu e-mail.');
             document.formrecomendar.TuEmail.focus();
             return(false);
        }

        if (document.formrecomendar.TuEmail.value.indexOf('@',0)==-1 || document.formrecomendar.TuEmail.value.indexOf('@',0)== 0 ||
          document.formrecomendar.TuEmail.value.indexOf('.',0)==-1)
             {
                 alert('\nLa dirección de e-mail no es válida.');
                 document.formrecomendar.TuEmail.focus();
                 return(false);
              }
             else { return(true); }
    }
// -->

// Validacion Email Recomendar Amigo
function vEmailRecomendar2() 
    {
	if (document.formrecomendar.SuEmail.value == "")
           {
             alert('\nDebés ingresar el e-mail de tu amigo.');
             document.formrecomendar.SuEmail.focus();
             return(false);
        }

        if (document.formrecomendar.SuEmail.value.indexOf('@',0)==-1 || document.formrecomendar.SuEmail.value.indexOf('@',0)== 0 ||
          document.formrecomendar.SuEmail.value.indexOf('.',0)==-1)
             {
                 alert('\nLa dirección de e-mail no es válida.');
                 document.formrecomendar.SuEmail.focus();
                 return(false);
              }
             else { return(true); }
    }
// -->

// Boton envio Recomendar
function EnviarRecomendarAmigo() 
   {
       if ( vEmailRecomendar1() && vEmailRecomendar2() )
          {
          document.formrecomendar.submit();
          }

   }
// -->

// ABRIR VENTANA HELP FONTS
function HelpFonts(desktopURL,ancho,alto)  
      { 
        if (ancho == null && alto == null)
           { ancho = 800; alto = 600}

	  var desktop = window.open( desktopURL, '_blank', 'width=' + ancho +' ,height=' + alto + ' ,scrollbars=no,resizable=no');
      }
// -->



//
// INICIO BANNERS Y AVISOS GOOGLE
//

// LINKS GOGLE 468X60 HOME CENTRAL
function Google468x60_Home()
      {
google_ad_client = "pub-9331367654484945";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="4120793483";
google_color_border = "D7D7D7";
google_color_bg = "D7D7D7";
google_color_link = "96190C";
google_color_text = "666666";
google_color_url = "96190C";
	  }

// LINKS GOOGLE 468X15 GLOBAL FOOTER
function Google468x15_Footer()
      { 
google_ad_client = "pub-9331367654484945";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al";
google_ad_channel ="2542502550";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "666666";
google_color_url = "000000";
	  }

// GOOGLE 120x240 MR GLOBAL
function Google120x240_MRGlobal()
      { 
google_ad_client = "pub-9331367654484945";
/* 120x240, creado 1/07/08 */
google_ad_slot = "4613782011";
google_ad_width = 120;
google_ad_height = 240;
//-->
	  }

// AVISO GOOGLE 234x60 NOTAS
function Google234x60_CerNotas()
      { 
google_ad_client = "pub-9331367654484945";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text_image";
google_ad_channel ="8597968884";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "E0AA07";
google_color_text = "666666";
google_color_url = "996600";
	  }

// AVISO GOOGLE 234x60 GLOSARIO
function Google234x60_Glosario()
      { 
google_ad_client = "pub-9331367654484945";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text_image";
google_ad_channel ="2591735476";
google_color_border = "B2CFB2";
google_color_bg = "B2CFB2";
google_color_link = "006600";
google_color_text = "000000";
google_color_url = "006600";
	  }

// AVISO GOOGLE 468x60 CONCURSOS
function Google468x60_CerConcursos()
      { 
google_ad_client = "pub-9331367654484945";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="7943008614";
google_color_border = "FFDC9D";
google_color_bg = "FFDC9D";
google_color_link = "996600";
google_color_text = "666666";
google_color_url = "996600";
	  }

// GOOGLE 468x60 LAPIZ IMÁGENES
function Google468x60_LapImagenes()
      {
google_ad_client = "pub-9331367654484945";
/* 468x60, creado 2/07/08 */
google_ad_slot = "4094092122";
google_ad_width = 468;
google_ad_height = 60;
//-->
	  }

// GOOGLE 468x60 LAPIZ HERRAMIENTAS
function Google468x60_LapHerramientas()
      {
google_ad_client = "pub-9331367654484945";
/* 468x60, creado 2/07/08 */
google_ad_slot = "5789011701";
google_ad_width = 468;
google_ad_height = 60;
//-->
	  }

// GOOGLE 468x60 LAPIZ SHAREWARES
function Google468x60_LapSharewares1()
      {
google_ad_client = "pub-9331367654484945";
/* 468x60, creado 2/07/08 */
google_ad_slot = "2696798260";
google_ad_width = 468;
google_ad_height = 60;
//-->
	  }

// AVISO GOOGLE 300x250 LAPIZ FONTS
function Google300x250_LapFonts()
	{
google_ad_client = "pub-9331367654484945";
/* Lap_Fonts - 300x250 */
google_ad_slot = "7510016970";
google_ad_width = 300;
google_ad_height = 250;
	}

// AVISO GOOGLE 336x280 404
function GoogleAdSense336x280_404()
	{ 
google_ad_client = "pub-9331367654484945";
google_alternate_color = "FFFFFF";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_channel ="5546837479";
google_color_border = "AB352E";
google_color_bg = "E8D8BB";
google_color_link = "AB352E";
google_color_url = "AB352E";
google_color_text = "000000";
	}


// AVISO GOOGLE 336x280 404
function GoogleAdSense120x90_ML()
	{
google_ad_client = "pub-9331367654484945";
/* 120x90, creado 1/07/08 */
google_ad_slot = "1964048917";
google_ad_width = 120;
google_ad_height = 90;
	}


// AVISO GOOGLE 468x60 CLIPARTS
function GoogleAdSense468x60_LapCliparts()
	{
google_ad_client = "pub-9331367654484945";
/* Cliparts 468x60 */
google_ad_slot = "2638237441";
google_ad_width = 468;
google_ad_height = 60;
	}

// AVISO GOOGLE 234x60 CLIPARTS
function GoogleAdSense234x60_LapCliparts()
	{
google_ad_client = "pub-9331367654484945";
/* Cliparts 234x60 */
google_ad_slot = "8906689328";
google_ad_width = 234;
google_ad_height = 60;
	}

// AVISO GOOGLE 468x60 VIDEOS
function GoogleAdSense468x60_OjoVideos()
	{
google_ad_client = "pub-9331367654484945";
/* 468x60 Videos */
google_ad_slot = "7846225860";
google_ad_width = 468;
google_ad_height = 60;
	}

// AVISO GOOGLE 468x60 EVENTOS
function GoogleAdSense468x60_OjoEventos()
	{
google_ad_client = "pub-9331367654484945";
/* Eventos - 468x60 */
google_ad_slot = "2915477288";
google_ad_width = 468;
google_ad_height = 60;
	}

// AVISO GOOGLE 160x600 MR GLOBAL
function GoogleAdSense120x600_MrGlobal()
	{
google_ad_client = "pub-9331367654484945";
/* MR Global 120x600 */
google_ad_slot = "8732796603";
google_ad_width = 120;
google_ad_height = 600;
	}



// ROTADOR DOMINIOS HOME

<!-- Begin
function txt_rotator1() {

rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
	var result = Math.ceil(rnd()*number);
	if (!result)result++;
        return result
};
var ad_cnta = 5;
var ada = rand(ad_cnta);
var linka;
var adBannera;
var widtha
var heighta
if (ada==1) {
linka="El pincel";
adBannera="http://www.el-pincel.com.ar/";
}
if (ada==2) {
linka="Educaci&oacute;n";
adBannera="http://www.formarte.com.ar/";
}
if (ada==3) {
linka="Humor";
adBannera="http://www.argentonta.com.ar/";
}
if (ada==4) {
linka="Publicidad";
adBannera="http://www.3x2banner.com.ar/";
}
if (ada==5) {
linka="Publicidad";
adBannera="http://www.3x2banners.com.ar/";
}

document.write('<a href="' + adBannera + '" target="_blank"><u>');
document.write(linka + '</u></a>');

}
// End -->


<!-- Begin
function txt_rotator2() {

rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
	var result = Math.ceil(rnd()*number);
	if (!result)result++;
        return result
};
var ad_cnta = 5;
var adb = rand(ad_cnta);
var linkb;
var adBannerb;
var widthb
var heightb
if (adb==1) {
linkb="Malvinas";
adBannerb="http://www.1982.com.ar/";
}
if (adb==2) {
linkb="Efem&eacute;rides";
adBannerb="http://www.1985.com.ar/";
}
if (adb==3) {
linkb="1987";
adBannerb="http://www.1987.com.ar/";
}
if (adb==4) {
linkb="A quejarse";
adBannerb="http://www.aquejarse.com.ar/";
}
if (adb==5) {
linkb="A quejarse";
adBannerb="http://www.a-quejarse.com.ar/";
}

document.write('<a href="' + adBannerb + '" target="_blank"><u>');
document.write(linkb + '</u></a>');

}
// End -->


<!-- Begin
function txt_rotator3() {

rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
	var result = Math.ceil(rnd()*number);
	if (!result)result++;
        return result
};
var ad_cnta = 5;
var adc = rand(ad_cnta);
var linkc;
var adBannerc;
var widthc
var heightc
if (adc==1) {
linkc="Dise&ntilde;o";
adBannerc="http://www.loscreativos.com.ar/";
}
if (adc==2) {
linkc="Arte";
adBannerc="http://www.pincel.com.ar/";
}
if (adc==3) {
linkc="Soft para Mac";
adBannerc="http://www.apple-center.com.ar/";
}
if (adc==4) {
linkc="Deportes";
adBannerc="http://www.acorrer.com.ar/";
}
if (adc==5) {
linkc="Gr&aacute;fica";
adBannerc="http://www.alabrent.com.ar/";
}

document.write('<a href="' + adBannerc + '" target="_blank"><u>');
document.write(linkc + '</u></a>');

}
// End -->


<!-- Begin
function txt_rotator4() {

rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
	var result = Math.ceil(rnd()*number);
	if (!result)result++;
        return result
};
var ad_cnta = 5;
var add = rand(ad_cnta);
var linkd;
var adBannerd;
if (add==1) {
linkd="Curso de Photoshop";
adBannerd="http://www.adobe.com.ar/";
}
if (add==2) {
linkd="Curso de Illustrator";
adBannerd="http://www.adobar.com.ar/";
}
if (add==3) {
linkd="Frutiger";
adBannerd="http://www.adrian-frutiger.com.ar/";
}
if (add==4) {
linkd="Fonts";
adBannerd="http://www.adrianfrutiger.com.ar/";
}
if (add==5) {
linkd="Caricatura";
adBannerd="http://www.airtoons.com.ar/";
}
document.write('<a href="' + adBannerd + '" target="_blank"><u>');
document.write(linkd + '</u></a>');

}
// End -->


