<!--Random Image Loader With Links
<!--Programmed by William Tinney
<!--(C) 1999 TinneyCorp, Ltd.
<!--All rights reserved worldwide.

var sid="doesitmatterwhatthisis";

//--- Array for Netscape 2.0x and 3.0x
function MakeArray(n) 
{ this.length = n;
  
  for (var i = 1; i <= n; i++) 
  { this[i] = 0 }
  return this
}

//this produces a randomly generated HTML code that is inserted on your page 
function RandomNumber(sid) 
{ var today = new Date();
  var num= Math.abs(Math.sin(today.getTime()/1000));
  return num;  
}

function TipWizard() 
{ //tailor to the browser capabilities
  var appname= navigator.appName;             
  var appversion=parseInt(navigator.appVersion);

  if (appname == "Netscape" && appversion >= 3)
  { //( Netscape 3.0 or higher)
    var testNum = Math.random(); 
  }
  else 
  { //all others use this call       
    var testNum = RandomNumber(sid);
  }

  //remember to change this according to the 
  //number of tips in the array below
  var NoOfTips=5;

  //-- tips array --
  var x=0;
  var y=0;

  // the annoying quote character
  var q = '"'; 

  var images = new MakeArray(NoOfTips);
  images[0]=NoOfTips;

  var links = new MakeArray(NoOfTips);
  links[0]=NoOfTips;

  var messages = new MakeArray(NoOfTips);
  messages[0]=NoOfTips;

  var where = new MakeArray(NoOfTips);
  where[0]=NoOfTips;

  //load the images array with the name and
  //location of the image
  images[1]="images/web/bannercenso.jpg";
  images[2]="images/web/participa.jpg";
  images[3]="images/web/bannerlra.jpg";
  images[4]="images/web/anunciate.gif";
  images[5]="images/web/banners/alborde.gif";
  
  //load the links array with the name and
  //link associated with the image
  links[1]="censorock.htm";
  links[2]="quiz.htm";
  links[3]="http://www.latinorockalliance.com";
  links[4]="mailto:info@re-usa.com?subject=Anunciarme en RE-USA.COM";
  links[5]="alborde.htm";

  //load the messages array with the correct message
  messages[1]="CensoRock 2000";
  messages[2]="Participa y Gana en RE-USA.COM";
  messages[3]="Latino Rock Alliance";
  messages[4]="Anunciate en RE-USA.COM";
  messages[5]="Al Borde! Suscribete Desde Aquí";

  //which window to open
  where[1]="_self";
  where[2]="_self";
  where[3]="_blank";
  where[4]="_self";
  where[5]="_self";

  //calculate the tip to show
  y=1/NoOfTips;
    
  for(x= 1; x <= NoOfTips; x++) 
  { while(sid!="doesitmatterwhatthisis"){};
    if ( testNum > ( NoOfTips  - x ) * y ) 
    { document.write("<a target="+q+where[x]+q+" href="+q+links[x]+q+"><img src="+q+images[x]+q+" alt="+q+messages[x]+q+" border="+q+"0"+q+"></a>");
      break; 
    }
  }	
}

TipWizard();
