<!--
function randadd0()
{
//create an array of add images
 var i = new Array(new Image(120,60), new Image(120,60), new Image(120,60), new Image(120,60), new Image(120,60), new Image(120,60), new Image(120,60));
 i[0].src="http://www.design-tools.com/html/banner/kelby.gif";
 i[1].src="http://www.design-tools.com/html/banner/willmore.gif";
 i[2].src="http://www.design-tools.com/html/banner/cohen.gif";
 i[3].src="http://www.design-tools.com/html/banner/lynda.gif";
 i[4].src="http://www.design-tools.com/html/banner/davis.gif";
 i[5].src="http://www.design-tools.com/html/banner/ninness.gif";
 i[6].src="http://www.design-tools.com/html/banner/fleishman.gif";

// I use constants so it will be easy to change values if I put up new adds
 var NEWSLETTER="/html/newslet.htm";
 var TESTIMONIALS="/html/testimonials.htm";
 var NAPP="http://www.napp.com";
 var WILLMORE="http://www.digitalmastery.com";
 var COHEN="http://www.vectorbabe.com";
 var LYNDA="http://www.lynda.com";
 var DAVIS="http://www.peachpit.com";
// var NINNESS="http://www.lynda.com";
// var FLEISHMAN="http://www.glennf.com";

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

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

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

//change the banner add link to match the picture
 if(pictnum==0)
  document.links[15].href=TESTIMONIALS;
 else if(pictnum==1)
  document.links[15].href= TESTIMONIALS;
 else if(pictnum==2)
  document.links[15].href= TESTIMONIALS;
 else if(pictnum==3)
  document.links[15].href= TESTIMONIALS;
 else if(pictnum==4)
  document.links[15].href=TESTIMONIALS;
 else if(pictnum==5)
  document.links[15].href=TESTIMONIALS;
 else if(pictnum==6)
  document.links[15].href=TESTIMONIALS;

}
//-->
