
function adArray() {
 for (i=0; i*2<adArray.arguments.length; i++) {
  this[i] = new Object();
  this[i].src = adArray.arguments[i*2];
  this[i].href = adArray.arguments[i*2+1];
 }
 this.length = i;
}
function getAdNum() {
 return Math.floor(Math.random()*ads.length);
}
 
var ads = new adArray(
"ASProxy download",
"http://www.sourceforge.com/projects/asproxy",

"ASProxy فارسي",
"http://salarsoft.somee.com/magaleh/m_asproxy.htm",

"ASProxy English",
"http://www.codeproject.com/useritems/asproxy.asp",

"ساعت گویا",
"http://salarsoft.somee.com/downlist/beeper_downloads.htm",

"Wrapper 3.2",
"http://salarsoft.somee.com/downlist/ssoft_downloads.htm#wrapper",

"Email Lister",
"http://salarsoft.somee.com/downlist/ssoft_downloads.htm#email_lister",

"Upload center",
"http://salarsoft.somee.com/downlist/ssoft_downloads.htm#upload_center",

"Calculator",
"http://salarsoft.somee.com/downlist/ssoft_downloads.htm#calculator"

);

var ad_num = getAdNum(); // don't change this line

for (i=0; i<ads.length; i++) {
	document.write(
		'<p class="BorderLinks"><a href="' + ads[i].href + '">'
		+ ads[i].src 
		+ '</a></p>');

}
