////////////////// 天空JS随机排序程序 //////////////////
//   程式编写: 天空 个人主页:百万网址www.astrodown.com]   //
//   请你尊重作者的劳动,不要修改以上版权说明,谢谢!!   //
////////////////////////////////////////////////////////
theAds=new Array();

//////// 广告数
shu = 6

///////标题前面内容
dot='<font face="Webdings" color="#ff8c00">4</font>'

//////// 广告内容
theAds[1]='<a target="_blank" href="http://www.135mp3.com"><b>mp3手机铃声下载</b></a>mp3手机铃声下载首选软件'

theAds[2]='<a target="_blank" href="http://www.astrodown.com"><b>安平进销存、安平仓管王</b></a>功能强大、性能稳定'

theAds[3]='<a target="_blank" href="http://www.astrodown.com"><b><font color="#008000">注册表终结者</font></b></a>是一个功能强大的系统注册表增强软件'

theAds[4]='<a target="_blank" href="http://www.astrodown.com"><b>金喜鹊电子影集</b></a>电脑相册、VCD相册、屏幕保护制作'

theAds[5]='<a target="_blank" href="http://www.astrodown.com"><b>天空ASP程序专门店</b></a>提供各类免费、收费ASP网站程序'

theAds[6]='<a target="_blank" href="http://www.astrodown.com"><b>不得不背单词</b></a>为什么电视广告我们记得那么清楚呢?'

//////// 以下内容请别修改 ////////
adshu=shu+1
function Quickpick()
{
  var ball
  for( ball = 1; ball < adshu; ball++)
  {
    this[ball] = parseInt(Math.random() * shu + 1);
    for(var list = 0; list < ball; list++)
    {
      if(this[list] == this[ball])
      {       
        list = ball;
        ball--;
      }
    }
  }
  return this;
}
var idx;
var ballball = new Array(shu);
ballball = this.Quickpick();
for(idx = 1; idx < adshu; idx++){
document.write(dot+theAds[ballball[idx]]);
if (idx < shu){document.write('<br>')}}