function banner(page_url,graphic_url,alt_text)
{
this.page_url = page_url
this.graphic_url = graphic_url
this.alt_text = alt_text
}
banners = new Array(
new banner("http://www.middle-earthradio.com/talk-show","http://images.xenite.org/exchange/standard/middle-earth-radio-01.jpg","CLICK HERE to listen to Middle-earth Talk Radio!"),
new banner("http://www.middle-earthradio.com/talk-show","http://images.xenite.org/exchange/standard/middle-earth-talk-radio-02.jpg","CLICK HERE to listen to Middle-earth Talk Radio!"),
new banner("http://www.sf-fandom.com/vb/actors/orlando_bloom/","http://images.xenite.org/exchange/standard/orlando_bloom_forum_01.jpg","CLICK HERE for the Orlando Bloom Forum!"),
new banner("http://www.sf-fandom.com/vb/movies/lord_of_the_rings/","http://images.xenite.org/exchange/standard/lotr_movies_forum_1.gif","CLICK HERE to visit the Lord of the Rings movie forum..."),
new banner("http://www.sf-fandom.com/vb/authors/tolkien_inklings/","http://images.xenite.org/exchange/standard/tolkien-forum-01.jpg","CLICK HERE to visit the Tolkien Forum at SF-FANDOM!"),
new banner("http://www.tolkien-studies.com/","http://images.xenite.org/exchange/standard/tolkien-studies-01.jpg","CLICK HERE to visit Tolkien Studies on the Web..."),
new banner("http://store.xenite.org/","http://images.xenite.org/exchange/standard/scifi-store-01.jpg","Buy the latest science fiction and fantasy books, movies, games, and magazines from the Xenite.Org Science Fiction and Fantasy Store!"),
new banner("http://www.free-ebooks.net/fan_fiction.html","http://images.xenite.org/exchange/standard/parma_ebook_1.jpg","CLICK HERE to download Parma Endorion for FREE!"),
new banner("http://www.amazon.com/exec/obidos/tg/detail/-/1587761459/qid=1129269197/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/104-0242877-7775136?v=glance&s=books&n=507846","http://images.xenite.org/exchange/standard/ume_ad_01.jpg","CLICK HERE to buy Understanding Middle-earth!"),
new banner("http://store.xenite.org/","http://images.xenite.org/exchange/standard/scifi-store-01.jpg","Buy the latest science fiction and fantasy books, movies, games, and magazines from the Xenite.Org Science Fiction and Fantasy Store!"),
new banner("http://www.amazon.com/exec/obidos/tg/detail/-/0738872547/qid=1129269400/sr=1-1/ref=sr_1_1/104-0242877-7775136?v=glance&s=books","http://images.xenite.org/exchange/standard/vme_ad_01.jpg","CLICK HERE to buy Visualizing Middle-earth!"),
new banner("http://www.xenite.org/faqs/lotr_movie/","http://images.xenite.org/exchange/standard/lotr_movie_3.gif","CLICK HERE for all the Lord of the Rings news you need!")
);
document.writeln("<center><table border=0 width=468 cellpadding=0 cellspacing=0><tr><td>")
SelectedBanner = Math.floor((Math.random() * banners.length))
document.writeln("<a href='"+banners[SelectedBanner].page_url+"'>")
document.writeln("<img src='"+banners[SelectedBanner].graphic_url+"' width=468 height=60 border=0")
document.writeln("alt='"+banners[SelectedBanner].alt_text+"' name='BannerAd'>")
document.writeln("</a></td></tr></table></center>")
var linkcount;
function checklinks() {
  if (!(linkcount==document.links.length)) {
   // Something changed the links!
   // Iterate for an id of _goog
   for (i=0; i < document.links.length; i++) {
    if (document.links[i].id.substring(0,5)=="_goog") {
     // If we find an id of _goog then remove the link!
     var tr = document.links[i].parentTextEdit.createTextRange();
     tr.moveToElementText(document.links[i]);
     tr.execCommand("Unlink",false);
     tr.execCommand("Unselect",false);
    }
   }
  }
   setTimeout("checklinks()",500);
}
if (document.getElementById && document.createElement) {
  linkcount=document.links.length;
  setTimeout("checklinks()",500);
}

