<!--

function create()
 {
  this.width = '';
  this.height = '';
  this.src = '';
  this.href = '';
  this.border = '';
  this.mouseover = '';
  this.sponsor = '';
  this.alt = '';
  this.im = '';
  this.weight = 0;
}

ads = new Array();
var num_ads = 5;
var quads = Math.floor( num_ads / 10 );

if( quads <= 0 )
 {
  quads=1;
 }

for(var a_i=1; a_i<=num_ads; a_i++)
 {
  ads[a_i] = new create();
 }

ads[1].width = "468";
ads[1].height = "60";
ads[1].src = "http://www.geocities.com/SoHo/Suite/9883/beatban.gif";
ads[1].href = "http://www.geocities.com/paris/cafe/1443";
ads[1].border = "0";
ads[1].mouseover = "Words as Delicacies of the Soul";
ads[1].sponsor = "enjoyment of some Intellectual Delicacies";
ads[1].alt = "A Solitary Beatnik";
ads[1].im = "";
ads[1].weight = 0;

ads[2].width = "468";
ads[2].height = "60";
ads[2].src = "http://www.geocities.com/SoHo/Suite/9883/poiban.gif";
ads[2].href = "http://www.geocities.com/athens/parthenon/7252";
ads[2].border = "0";
ads[2].mouseover = "Online Zine";
ads[2].sponsor = "the current issue";
ads[2].alt = "Poison Rents The Air";
ads[2].im = "";
ads[2].weight = 0;

ads[3].width = "468";
ads[3].height = "60";
ads[3].src = "http://www.geocities.com/SoHo/Suite/9883/bangban.gif";
ads[3].href = "http://www.geocities.com/paris/opera/9813";
ads[3].border = "1";
ads[3].mouseover = "Bang!";
ads[3].sponsor = "a screaming dreaming soul";
ads[3].alt = "BANG!";
ads[3].im = "";
ads[3].weight = 0;

ads[4].width = "468";
ads[4].height = "60";
ads[4].src = "http://www.geocities.com/SoHo/Suite/9883/midban.gif";
ads[4].href = "http://members.tripod.com/~RainCore8/index2.htm";
ads[4].border = "0";
ads[4].mouseover = "MidNite Deviants Dreams";
ads[4].sponsor = "information on MidNite Deviants Dreams";
ads[4].alt = "MidNite Deviants Dreams";
ads[4].im = "";
ads[4].weight = 0;

ads[5].width = "468";
ads[5].height = "60";
ads[5].src = "http://www.geocities.com/SoHo/Suite/9883/marban.gif";
ads[5].href = "http://members.tripod.com/~Avah";
ads[5].border = "";
ads[5].mouseover = "Platinum Martini Lounge";
ads[5].sponsor = "the entrance to the lounge";
ads[5].alt = "Platinum Martini Lounge";
ads[5].im = "";
ads[5].weight = 0;

function rand( num )
{
 return( Math.floor( Math.random() * num ) + 1 );
}

function get_ad()
{
 var r_result;
 var r_i;
 var r_i1;
 var i_ad;

 for( r_i=1; r_i<=num_ads; r_i++ )
  {
   i_ad = ads[r_i];

   if( i_ad.weight > 0 )
    {
     for( r_i1=0; r_i1<i_ad.weight; r_i1++ )
      {
       r_result = rand( num_ads );

       if( r_result == r_i )
        {
         return( r_i );
        }
      }
    }
  }

 return( rand( num_ads ) );
}

var a_n = get_ad();

if( a_n > num_ads )
 {
  a_n = num_ads;
 }

if( a_n <= 0 )
 {
  a_n = 1;
 }

//a_n += "";

var image = ads[a_n];
var ad = "";
ad += '<a class="ap" href="' + image.href + '" \n';
ad += 'onMouseOver="self.status=\'' + image.mouseover + '\'\; return( true )" \n';
ad += 'onMouseOut="self.status=\'\'"> \n';
ad += '<img src="' + image.src + '" " ' + image.im + ' "' + ' width=' + image.width;
ad += '\n height=' + image.height + ' border=' + image.border + ' alt="' + image.alt +'"';
ad += '\n><br>Click here for ' + image.sponsor + '</a>';

//-->