<script language="javascript" src="http://keyarn.xtgem.com/Ads.js"></script></center></div></a><script> var x = document.getElementsByClassName("myads");
var y = Math.floor(Math.random() * x.length);
var z = Math.floor(Math.random() * x.length);
x[y].innerHTML = '\<div class=\"ad\"\>\<b\><div class="full" style="background:url(/B/Bg/download.png)"><table cellspacing="0px"><tr align="middle"><td align="left"><img src="http://keyarn.xtgem.com/admin/Icons/ad.png" alt="**" class="ico" width="27px" height="30px" /></td><td align="left"><img src="http://keyarn.xtgem.com/Admin/rating.gif" /><br/><a href="http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="'+ads()+'" width="300" height="50" alt="" /></a></td></tr></table></div><hr style="border:1px dotted red;"/>\</b\>\</div\>';
x[z].innerHTML = '\<div class=\"ad\"\>\<b\><div class="full" style="background:url(/B/Bg/download.png)"><table cellspacing="0px"><tr align="middle"><td align="left"><img src="http://keyarn.xtgem.com/admin/Icons/ad.png" alt="**" class="ico" width="27px" height="30px" /></td><td align="left"><img src="http://keyarn.xtgem.com/admin/rating.gif" /><br/><a href="http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="'+ads()+'"></a></td></tr></table></div><hr style="border:1px dotted red;"/>\</b\>\</div\>';
</script>
Copy code
and then in my Ads.js var y = Math.floor(Math.random() * x.length);
var z = Math.floor(Math.random() * x.length);
x[y].innerHTML = '\<div class=\"ad\"\>\<b\><div class="full" style="background:url(/B/Bg/download.png)"><table cellspacing="0px"><tr align="middle"><td align="left"><img src="http://keyarn.xtgem.com/admin/Icons/ad.png" alt="**" class="ico" width="27px" height="30px" /></td><td align="left"><img src="http://keyarn.xtgem.com/Admin/rating.gif" /><br/><a href="http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="'+ads()+'" width="300" height="50" alt="" /></a></td></tr></table></div><hr style="border:1px dotted red;"/>\</b\>\</div\>';
x[z].innerHTML = '\<div class=\"ad\"\>\<b\><div class="full" style="background:url(/B/Bg/download.png)"><table cellspacing="0px"><tr align="middle"><td align="left"><img src="http://keyarn.xtgem.com/admin/Icons/ad.png" alt="**" class="ico" width="27px" height="30px" /></td><td align="left"><img src="http://keyarn.xtgem.com/admin/rating.gif" /><br/><a href="http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="'+ads()+'"></a></td></tr></table></div><hr style="border:1px dotted red;"/>\</b\>\</div\>';
</script>
Copy code
/* http://keyarn.xtgem.com */
var quotes=new Array()
function ads(){
quotes[0]='<center><div align="center" style="background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_6.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[1]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_6.jpg" border="0") no-repeat top left; padding-bottom:5; width:320px;"></div></center>'
quotes[2]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_5.gif" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[3]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_4.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[4]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_3.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[5]='<center><div align="center" style="background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_2.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[6]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_1.gif" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[7]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/banner.png" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[8]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_4.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[9]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_3.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[10]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_6.jpg" border="0") no-repeat top left; width:320px;"></div></center>'}
var whichquote=Math.floor(Math.random()*(quotes.length))
return quotes[whichquote]
Copy code
plz edit it for me i realyy need this thing that i want to do which i cannot do
var quotes=new Array()
function ads(){
quotes[0]='<center><div align="center" style="background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_6.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[1]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_6.jpg" border="0") no-repeat top left; padding-bottom:5; width:320px;"></div></center>'
quotes[2]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_5.gif" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[3]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_4.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[4]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_3.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[5]='<center><div align="center" style="background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_2.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[6]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_1.gif" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[7]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/banner.png" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[8]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_4.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[9]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_3.jpg" border="0") no-repeat top left; width:320px;"></div></center>'
quotes[10]='<center><div align="center" style="margin:2px; background:url(http://wap4dollar.com/ad/serve.php?id=9zxsoiy497"><img src="http://wap4dollar.com/ad/imgs/wap4dollar_banner_6.jpg" border="0") no-repeat top left; width:320px;"></div></center>'}
var whichquote=Math.floor(Math.random()*(quotes.length))
return quotes[whichquote]
Copy code