function create() {
  this.width = "";
  this.src = "";
  this.href = "";
  this.mouseover = "Visit our sponsor!";
  this.sponsor = "Visit our sponsor!";
}

bigAds = new Array();
smallAds = new Array();
newAds = new Array();

for (var i = 0; i < 20; i++) {
  bigAds[i] = new create();
  bigAds[i].width = "468";
  bigAds[i].height = "60";
}

for (var i = 0; i < 73; i++) {
  smallAds[i] = new create();
  smallAds[i].width = "246";
  smallAds[i].height = "66";
}

for (var i = 0; i < 15; i++) {
  newAds[i] = new create();
  newAds[i].width = "190";
  newAds[i].height = "300";
}


bigAds[0].src = "/chris/ad/toothandnail-banner.gif";
bigAds[0].href = "/redirect/toothandnail.shtml";
bigAds[1].src = "/chris/ad/cowboyvssailor-banner.gif";
bigAds[1].href = "/redirect/cowboyvssailor.shtml";
bigAds[2].src = "/chris/ad/asianman-banner.gif";
bigAds[2].href = "/redirect/asianman.shtml";
bigAds[3].src = "/chris/ad/elephonic-banner.gif";
bigAds[3].href = "/redirect/elephonic.shtml";
bigAds[4].src = "/chris/ad/lcv-banner.gif";
bigAds[4].href = "/redirect/lcv.shtml";
bigAds[5].src = "/chris/ad/lcv-banner.gif";
bigAds[5].href = "/redirect/lcv.shtml";
bigAds[6].src = "/chris/ad/subpop2-banner.gif";
bigAds[6].href = "/redirect/subpop2.shtml";
bigAds[7].src = "/chris/ad/redder-banner.gif";
bigAds[7].href = "/redirect/redder.shtml";
bigAds[8].src = "/chris/ad/interscope-banner.gif";
bigAds[8].href = "/redirect/interscope.shtml";
bigAds[9].src = "/chris/ad/drillteammanhunt-banner.gif";
bigAds[9].href = "http://www.rockstargames.com/manhunt/";
bigAds[10].src = "/chris/ad/totalassaultsm-banner.gif";
bigAds[10].href = "/redirect/totalassaultsm.shtml";
bigAds[11].src = "/chris/ad/beggars-pixies-banner.gif";
bigAds[11].href = "/redirect/beggars-pixies.shtml";
bigAds[12].src = "/chris/ad/chunklet2-banner.gif";
bigAds[12].href = "/redirect/chunklet.shtml";
bigAds[13].src = "/chris/ad/chunklet3-banner.gif";
bigAds[13].href = "/redirect/chunklet.shtml";
bigAds[14].src = "/chris/ad/sonicunyon-banner.gif";
bigAds[14].href = "/redirect/sonicunyon.shtml";
bigAds[15].src = "/chris/ad/suicidesqueeze-banner.gif";
bigAds[15].href = "/redirect/suicidesqueeze.shtml";
bigAds[16].src = "/chris/ad/drillteamtrailer-banner.gif";
bigAds[16].href = "/redirect/drillteamtrailer.shtml";
bigAds[17].src = "/chris/ad/totalassaultvb-banner.gif";
bigAds[17].href = "/redirect/totalassaultvb.shtml";
bigAds[18].src = "/chris/ad/drillteam-revolver-banner.gif";
bigAds[18].href = "/redirect/drillteam-revolver.shtml";
bigAds[19].src = "/chris/ad/totalassaultmuse-banner.gif";
bigAds[19].href = "/redirect/totalassaultmuse.shtml";


smallAds[0].src = "/chris/ad/parasol-tile.gif";
smallAds[0].href = "/redirect/parasol.shtml";
smallAds[1].src = "/chris/ad/parasol-tile.gif";
smallAds[1].href = "/redirect/parasol.shtml";
smallAds[2].src = "http://www.sideonedummy.com/gbg_ban/gbg_247.gif";
smallAds[2].href = "/redirect/sideonedummy.shtml";
smallAds[3].src = "http://www.sideonedummy.com/gbg_ban/gbg_247.gif";
smallAds[3].href = "/redirect/sideonedummy.shtml";
smallAds[4].src = "/chris/ad/softabuse-tile.gif";
smallAds[4].href = "/redirect/softabuse.shtml";
smallAds[5].src = "/chris/ad/softabuse-tile.gif";
smallAds[5].href = "/redirect/softabuse.shtml";
smallAds[6].src = "/chris/ad/softabuse-tile.gif";
smallAds[6].href = "/redirect/softabuse.shtml";
smallAds[7].src = "/chris/ad/emergencyumbrella-tile.gif";
smallAds[7].href = "/redirect/emergencyumbrella.shtml";
smallAds[8].src = "/chris/ad/emergencyumbrella-tile.gif";
smallAds[8].href = "/redirect/emergencyumbrella.shtml";
smallAds[9].src = "/chris/ad/emergencyumbrella-tile.gif";
smallAds[9].href = "/redirect/emergencyumbrella.shtml";
smallAds[10].src = "/chris/ad/matador3-tile.gif";
smallAds[10].href = "/redirect/matador3.shtml";
smallAds[11].src = "/chris/ad/matador3-tile.gif";
smallAds[11].href = "/redirect/matador3.shtml";
smallAds[12].src = "/chris/ad/perhapstransparent-tile.gif";
smallAds[12].href = "/redirect/perhapstransparent.shtml";
smallAds[13].src = "/chris/ad/perhapstransparent-tile.gif";
smallAds[13].href = "/redirect/perhapstransparent.shtml";
smallAds[14].src = "/chris/ad/jadetree-tile.gif";
smallAds[14].href = "/redirect/jadetree.shtml";
smallAds[15].src = "/chris/ad/jadetree-tile.gif";
smallAds[15].href = "/redirect/jadetree.shtml";
smallAds[16].src = "/chris/ad/trianglebulletline-tile.gif";
smallAds[16].href = "/redirect/trianglebulletline.shtml";
smallAds[17].src = "/chris/ad/trianglebulletline-tile.gif";
smallAds[17].href = "/redirect/trianglebulletline.shtml";
smallAds[18].src = "/chris/ad/matador-tile.gif";
smallAds[18].href = "/redirect/matador2.shtml";
smallAds[19].src = "/chris/ad/matador-tile.gif";
smallAds[19].href = "/redirect/matador2.shtml";
smallAds[20].src = "/chris/ad/mutualturtle-tile.gif";
smallAds[20].href = "/redirect/mutualturtle.shtml";
smallAds[21].src = "/chris/ad/mutualturtle-tile.gif";
smallAds[21].href = "/redirect/mutualturtle.shtml";
smallAds[22].src = "/chris/ad/smartguy-tile.gif";
smallAds[22].href = "/redirect/smartguy.shtml";
smallAds[23].src = "/chris/ad/smartguy-tile.gif";
smallAds[23].href = "/redirect/smartguy.shtml";
smallAds[24].src = "/chris/ad/smartguy-tile.gif";
smallAds[24].href = "/redirect/smartguy.shtml";
smallAds[25].src = "/chris/ad/glurp-tile.gif";
smallAds[25].href = "/redirect/glurp.shtml";
smallAds[26].src = "/chris/ad/glurp-tile.gif";
smallAds[26].href = "/redirect/glurp.shtml";
smallAds[27].src = "/chris/ad/bi-fi-tile.gif";
smallAds[27].href = "/redirect/bi-fi.shtml";
smallAds[28].src = "/chris/ad/bi-fi-tile.gif";
smallAds[28].href = "/redirect/bi-fi.shtml";
smallAds[29].src = "/chris/ad/bi-fi-tile.gif";
smallAds[29].href = "/redirect/bi-fi.shtml";
smallAds[30].src = "/chris/ad/ghostweed-tile.gif";
smallAds[30].href = "/redirect/ghostweed.shtml";
smallAds[31].src = "/chris/ad/ghostweed-tile.gif";
smallAds[31].href = "/redirect/ghostweed.shtml";
smallAds[32].src = "/chris/ad/thick-tile.gif";
smallAds[32].href = "/redirect/thick.shtml";
smallAds[33].src = "/chris/ad/hush-tile.gif";
smallAds[33].href = "/redirect/hush.shtml";
smallAds[34].src = "/chris/ad/hush-tile.gif";
smallAds[34].href = "/redirect/hush.shtml";
smallAds[35].src = "/chris/ad/westernvinyl-tile.gif";
smallAds[35].href = "/redirect/westernvinyl.shtml";
smallAds[36].src = "/chris/ad/westernvinyl-tile.gif";
smallAds[36].href = "/redirect/westernvinyl.shtml";
smallAds[37].src = "/chris/ad/versioncity-tile.gif";
smallAds[37].href = "/redirect/versioncity.shtml";
smallAds[38].src = "/chris/ad/versioncity-tile.gif";
smallAds[38].href = "/redirect/versioncity.shtml";
smallAds[39].src = "/chris/ad/versioncity-tile.gif";
smallAds[39].href = "/redirect/versioncity.shtml";
smallAds[40].src = "/chris/ad/filmguerrero-tile.gif";
smallAds[40].href = "/redirect/filmguerrero.shtml";
smallAds[41].src = "/chris/ad/filmguerrero-tile.gif";
smallAds[41].href = "/redirect/filmguerrero.shtml";
smallAds[42].src = "/chris/ad/filmguerrero-tile.gif";
smallAds[42].href = "/redirect/filmguerrero.shtml";
smallAds[43].src = "/chris/ad/barsuk2-tile.gif";
smallAds[43].href = "/redirect/barsuk.shtml";
smallAds[44].src = "/chris/ad/barsuk2-tile.gif";
smallAds[44].href = "/redirect/barsuk.shtml";
smallAds[45].src = "/chris/ad/barsuk2-tile.gif";
smallAds[45].href = "/redirect/barsuk.shtml";
smallAds[46].src = "/chris/ad/sally-tile.gif";
smallAds[46].href = "/redirect/sally.shtml";
smallAds[47].src = "/chris/ad/merge-tile.gif";
smallAds[47].href = "/redirect/merge.shtml";
smallAds[48].src = "/chris/ad/merge-tile.gif";
smallAds[48].href = "/redirect/merge.shtml";
smallAds[48].src = "/chris/ad/merge-tile.gif";
smallAds[48].href = "/redirect/merge.shtml";
smallAds[50].src = "/chris/ad/euphobia-tile.gif";
smallAds[50].href = "/redirect/euphobia.shtml";
smallAds[51].src = "/chris/ad/euphobia-tile.gif";
smallAds[51].href = "/redirect/euphobia.shtml";
smallAds[52].src = "/chris/ad/euphobia-tile.gif";
smallAds[52].href = "/redirect/euphobia.shtml";
smallAds[53].src = "/chris/ad/kanine-tile.gif";
smallAds[53].href = "/redirect/kanine.shtml";
smallAds[54].src = "/chris/ad/kanine-tile.gif";
smallAds[54].href = "/redirect/kanine.shtml";
smallAds[55].src = "/chris/ad/hometapes-tile.gif";
smallAds[55].href = "/redirect/hometapes.shtml";
smallAds[56].src = "/chris/ad/hometapes-tile.gif";
smallAds[56].href = "/redirect/hometapes.shtml";
smallAds[57].src = "/chris/ad/hometapes-tile.gif";
smallAds[57].href = "/redirect/hometapes.shtml";
smallAds[58].src = "/chris/ad/eyeball-tile.gif";
smallAds[58].href = "/redirect/eyeball.shtml";
smallAds[59].src = "/chris/ad/eyeball-tile.gif";
smallAds[59].href = "/redirect/eyeball.shtml";
smallAds[60].src = "/chris/ad/cloud-tile.gif";
smallAds[60].href = "/redirect/cloud.shtml";
smallAds[61].src = "/chris/ad/cloud-tile.gif";
smallAds[61].href = "/redirect/cloud.shtml";
smallAds[62].src = "/chris/ad/carpark-tile.gif";
smallAds[62].href = "/redirect/carpark.shtml";
smallAds[63].src = "/chris/ad/carpark-tile.gif";
smallAds[63].href = "/redirect/carpark.shtml";
smallAds[64].src = "/chris/ad/secretlycanadian-tile.gif";
smallAds[64].href = "/redirect/secretlycanadian.shtml";
smallAds[65].src = "/chris/ad/secretlycanadian-tile.gif";
smallAds[65].href = "/redirect/secretlycanadian.shtml";
smallAds[66].src = "/chris/ad/misra-tile.gif";
smallAds[66].href = "/redirect/misra.shtml";
smallAds[67].src = "/chris/ad/digitalis-tile.gif";
smallAds[67].href = "/redirect/digitalis.shtml";
smallAds[68].src = "/chris/ad/digitalis-tile.gif";
smallAds[68].href = "/redirect/digitalis.shtml";
smallAds[69].src = "/chris/ad/hydrahead-tile.gif";
smallAds[69].href = "/redirect/hydrahead.shtml";
smallAds[70].src = "/chris/ad/hydrahead-tile.gif";
smallAds[70].href = "/redirect/hydrahead.shtml";
smallAds[71].src = "/chris/ad/millpond-tile.gif";
smallAds[71].href = "/redirect/millpond.shtml";
smallAds[72].src = "/chris/ad/amongwolves-tile.gif";
smallAds[72].href = "/redirect/amongwolves.shtml";

newAds[0].src = "/chris/ad/totalassaultvb-splash.gif";
newAds[0].href = "/redirect/totalassaultvb.shtml";
newAds[1].src = "/chris/ad/totalassaultvb-splash.gif";
newAds[1].href = "/redirect/totalassaultvb.shtml";
newAds[2].src = "/chris/ad/chunklet1-splash.gif";
newAds[2].href = "/redirect/chunklet.shtml";
newAds[3].src = "/chris/ad/absolutelykosher-splash.gif";
newAds[3].href = "/redirect/absolutelykosher.shtml";
newAds[4].src = "/chris/ad/eyeball-splash.gif";
newAds[4].href = "/redirect/eyeball.shtml";
newAds[5].src = "/chris/ad/eyeball-splash.gif";
newAds[5].href = "/redirect/eyeball.shtml";
newAds[6].src = "/chris/ad/matador-splash.gif";
newAds[6].href = "/redirect/matadormid.shtml";
newAds[7].src = "/chris/ad/matador-splash.gif";
newAds[7].href = "/redirect/matadormid.shtml";
newAds[8].src = "/chris/ad/totalassaultmuse-splash.gif";
newAds[8].href = "/redirect/totalassaultmuse.shtml";
newAds[9].src = "/chris/ad/totalassaultmuse-splash.gif";
newAds[9].href = "/redirect/totalassaultmuse.shtml";
newAds[10].src = "/chris/ad/flamesburn-splash.gif";
newAds[10].href = "/redirect/flamesburn.shtml";
newAds[11].src = "/chris/ad/frenchkiss-splash.gif";
newAds[11].href = "/redirect/frenchkiss.shtml";
newAds[12].src = "/chris/ad/frenchkiss-splash.gif";
newAds[12].href = "/redirect/frenchkiss.shtml";
newAds[13].src = "/chris/ad/totalassaultsm-splash.gif";
newAds[13].href = "/redirect/totalassaultsm.shtml";
newAds[14].src = "/chris/ad/totalassaultsm-splash.gif";
newAds[14].href = "/redirect/totalassaultsm.shtml";



var j = Math.floor(Math.random() * 1000) % bigAds.length;
var k = (j + 2) % bigAds.length;

var a = Math.floor(Math.random() * 1000) % smallAds.length;
var b = (a + 3) % smallAds.length;
var c = (a + 6) % smallAds.length;
var d = (a + 9) % smallAds.length;

var x = Math.floor(Math.random() * 1000) % newAds.length;
var y = (x + 2) % newAds.length;
var z = (x + 4) % newAds.length;



var bigAdInfo1 = bigAds[j];
var bigAdInfo2 = bigAds[k];

var smallAd1Info = smallAds[a];
var smallAd2Info = smallAds[b];
var smallAd3Info = smallAds[c];
var smallAd4Info = smallAds[d];

var newAdInfo1 = newAds[x];
var newAdInfo2 = newAds[y];
var newAdInfo3 = newAds[z];



var bigAd1 = "<a href=\"" + bigAdInfo1.href + "\" onMouseOver=\"self.status='" + bigAdInfo1.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + bigAdInfo1.src + "\" width=" + bigAdInfo1.width + " height=" + bigAdInfo1.height + " border=0></a>";

var bigAd2 = "<a href=\"" + bigAdInfo2.href + "\" onMouseOver=\"self.status='" + bigAdInfo2.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + bigAdInfo2.src + "\" width=" + bigAdInfo2.width + " height=" + bigAdInfo2.height + " border=0></a>";

//alert(bigAd1);
//alert(bigAd2);

var smallAd1 = "<a href=\"" + smallAd1Info.href + "\" onMouseOver=\"self.status='" + smallAd1Info.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + smallAd1Info.src + "\" width=" + smallAd1Info.width + " height=" + smallAd1Info.height + " border=0></a>";

var smallAd2 = "<a href=\"" + smallAd2Info.href + "\" onMouseOver=\"self.status='" + smallAd2Info.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + smallAd2Info.src + "\" width=" + smallAd2Info.width + " height=" + smallAd2Info.height + " border=0></a>";

var smallAd3 = "<a href=\"" + smallAd3Info.href + "\" onMouseOver=\"self.status='" + smallAd3Info.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + smallAd3Info.src + "\" width=" + smallAd3Info.width + " height=" + smallAd3Info.height + " border=0></a>";

var smallAd4 = "<a href=\"" + smallAd4Info.href + "\" onMouseOver=\"self.status='" + smallAd4Info.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + smallAd4Info.src + "\" width=" + smallAd4Info.width + " height=" + smallAd4Info.height + " border=0></a>";

var newAd1 = "<a href=\"" + newAdInfo1.href + "\" onMouseOver=\"self.status='" + newAdInfo1.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + newAdInfo1.src + "\" width=" + newAdInfo1.width + " height=" + newAdInfo1.height + " border=0></a>";

var newAd2 = "<a href=\"" + newAdInfo2.href + "\" onMouseOver=\"self.status='" + newAdInfo2.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + newAdInfo2.src + "\" width=" + newAdInfo2.width + " height=" + newAdInfo2.height + " border=0></a>";

var newAd3 = "<a href=\"" + newAdInfo3.href + "\" onMouseOver=\"self.status='" + newAdInfo3.mouseover + "'; return true\" onMouseOut=\"self.status=''\"><img src=\"" + newAdInfo3.src + "\" width=" + newAdInfo3.width + " height=" + newAdInfo3.height + " border=0></a>";

