/*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() {
dat = new Date();
dat = (dat.getTime()+"").charAt(8);
if (dat.length == 1)
ad_num = dat%ads.length;
else
ad_num = 0;
return ad_num;
}

var ads = new adArray(
"/images/ads/lotrc_con_ban.gif",
"/features/the-lord-of-the-rings-contest/",
"/images/ads/lotrc_con_ban.gif",
"/features/the-lord-of-the-rings-contest/"
//"http://www.primagames.com/images/ads/25off_v2_ban.jpg",
//"http://www.primagames.com/popular/"
);

var ad_num = getAdNum();

//document.write('<A href="'+ads[ad_num].href+'" target="_self"><IMG SRC="'+ads[ad_num].src+'" '
//+'height="90" width="728" border="0" name="adswap"></a>');

document.write('<A href="'+ads[ad_num].href+'" target="_self" id="adlink"><IMG SRC="'+ads[ad_num].src+'" '
+'height="90" width="728" border="0" name="adswap"></a>');

////document.write('<A href="'+ads[ad_num].href+'" target="_self" id="adlink"><IMG SRC="'+ads[ad_num].src+'" '
////+'height="90" width="728" border="0" name="adswap"></a>');

link_num = document.links.length-1;

function rotateSponsor() {
if (document.images) {
ad_num = (ad_num+1)%ads.length;
document.adswap.src = ads[ad_num].src;
//document.links[link_num].href = ads[ad_num].href;
document.getElementById('adlink').href = ads[ad_num].href;

setTimeout("rotateSponsor()",5000);
}
}
setTimeout("rotateSponsor()",5000);*/