Skavenger |
02-13-2007 05:11 PM |
Random Ads Codes
Hi, actually I'm using Google Adsense, but I want too put another code from another web in the same 'box' [table], I need that the two codes change randomly when the user load the page, or maybe with o conditional...
This is the code I'm using now
Code:
<!-- Start Google AdSense -->
<div>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="thead">$vbphrase[google_ad_advert]</td>
</tr>
<tr>
<td class="alt2">
<center>
<table width="100%" height="60" border="0">
<tr>
<td width="100%"><div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-8473163217242949";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "000000";
google_color_bg = "242f37";
google_color_link = "FFFFFF";
google_color_text = "CCCCCC";
google_color_url = "FFFFFF";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></td>
</tr>
</table>
</div>
</center>
</td>
</tr>
</table>
<br />
<!-- End Google AdSense -->
This is the other code I need to put
Code:
<script language="javascript" type="text/javascript" >
iw_ad_cliente='3fc703661503434d7524267dfdd3e668';
iw_ad_pagina=20198;
iw_ad_cod=10187;
iw_ad_tm=5;
iw_ad_ancho=468;
iw_ad_alto=60;
iw_ad_formato='ad_468x60';
iw_ad_cad='8bd8c01b091dfda37a2cd0a475d619b2';
iw_ad_tipo=1;
iw_ad_tipocod=5;
iw_ad_modo=1;
impresionesweb_color_titulo='#FFFFFF';
impresionesweb_color_cuerpo='#CCCCCC';
impresionesweb_color_fondo='#242f37';
impresionesweb_color_url='#FFFFFF';
impresionesweb_color_borde='#000000';
</script>
<script language="javascript" src="http://www.impresionesweb.com/r/banner_iw.php?idrotador=20198&tamano=468x60"></script>
|