<!--
function randadd2()
{
//create an array of add images
 var i = new Array(new Image(410,21), new Image(410,21), new Image(410,21), new Image(410,21), new Image(410,21), new Image(410,21), new Image(410,21), new Image(410,21));
 i[0].src="http://www.design-tools.com/html/header/img-01.gif";
 i[1].src="http://www.design-tools.com/html/header/img-02.gif";
 i[2].src="http://www.design-tools.com/html/header/img-03.gif";
 i[3].src="http://www.design-tools.com/html/header/img-04.gif";
 i[4].src="http://www.design-tools.com/html/header/img-05.gif";
 i[5].src="http://www.design-tools.com/html/header/img-06.gif";
 i[6].src="http://www.design-tools.com/html/header/img-07.gif";
 i[7].src="http://www.design-tools.com/html/header/img-08.gif";

// I use constants so it will be easy to change values if I put up new adds
 var SUBSCRIBE="subscrib.htm";
 var INTELLIMOUSE="http://www.abc.com";
 var SIMCITY="http://www.def.com";
 var QUICKEN="http://www.ghi.com";

//get a random number between 0 and the number of adds available
 var pictnum=Math.round(Math.random()*8)-1;
 while(pictnum<0 || pictnum>8) pictnum=Math.round(Math.random()*8)-1;

//change the banner add picture
 document.link2.src=i[pictnum].src;

 //alert(document.links[17].href);
 //alert(pictnum);

//change the banner add link to match the picture
// if(pictnum==0)
//  document.links[17].href=SUBSCRIBE;
// else if(pictnum==1)
//  document.links[17].href=SUBSCRIBE;
// else if(pictnum==2)
//  document.links[17].href=SUBSCRIBE;

}
//-->

