theAds=new Array();
shu =2;
dot='';

theAds[1]='<a href=\"http:\/\/www.haolymu.com\" target=\"_blank\"><img src=\"http://www.asplm.com\/ad\/tjkj.jpg\" width=\"960\" height=\"48\" alt=\"网络广告,风险自担-3月5号\"border=\"0\"\/><\/a>';

theAds2='';
var idx;
theAds = theAds.sort(function(){return Math.random()*new Date%3-1;});
for(idx = 0; idx < shu; idx++){
	document.write(dot+theAds[idx]);
	//if (idx < shu){document.write('');}
}