
// original content taken from Nic's JavaScript Page with permission
// lack of these three lines will result in copyright infringment
// made by: Nic's JavaScript Page - http://www.javascript-page.com

var currentdate = 0;
var core = 0;

function initArray() {

this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = initArray.arguments[i];
  }
}

link = new initArray("dentdoc_testimonials.htm"
				  ,"dentdoc_testimonials.htm"
				  ,"dentdoc_testimonials.htm"
				  ,"dentdoc_testimonials.htm"
				  ,"dentdoc_testimonials.htm"
				  ,"dentdoc_testimonials.htm"
				  ,"dentdoc_testimonials.htm");

image = new initArray("dentdoc_images/frank.gif"
				  ,"dentdoc_images/heather.gif"
				  ,"dentdoc_images/david.gif"
				  ,"dentdoc_images/goldberg_spot.gif"
				  ,"dentdoc_images/paul-spot.gif"
				  ,"dentdoc_images/jackwilliams.gif"
				  ,"dentdoc_images/jeanette.gif");

text = new initArray("Dent Doc Testimonials","Dent Doc Testimonials","Dent Doc Testimonials","Dent Doc Testimonials","Dent Doc Testimonials");

var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];

document.write('<a href=\"' +ranlink+ '\"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\"></a>');
