// 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

// START: DO NOT EDIT THIS BLOCK OF CODE
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];
  }
}
// END: END OF CODE BLOCK NOT TO EDIT


// EDIT: enter ad banner click through URL here. must be in quotes and end in a comma
link = new initArray(
"http://www.bearair.com",
"http://www.LearnAirbrush.com",
"http://www.airbrushes-compressors.com",
"http://www.richpenusa.com",
"http://www.silentaire.com",
"http://www.airbrushes-compressors.com",
"http://www.richpenusa.com",
"http://www.sem.ws",
"http://www.bearair.com",
"http://www.sem.ws",
"http://www.coastairbrush.com"

);

// EDIT: enter 468x60 ad banner image path here. 
image = new initArray(
"/ad-banners/img/BearAir_horizontal_01.jpg",
"/ad-banners/img/new/Learn_470x60.gif",
"/ad-banners/img/new/precision_470x60.jpg",
"/ad-banners/img/new/RP_470x60.jpg",
"/ad-banners/img/new/silent_470x60.jpg",
"/ad-banners/img/precision_horizontal_01.jpg",
"/ad-banners/img/richpen_horizontal_01.jpg",
"/ad-banners/img/sem_horizontal_01.jpg",
"/ad-banners/img/new/bear_470x60.gif",
"/ad-banners/img/new/CH_470x60.jpg",
"/ad-banners/img/new/coast_470x60.gif"

);

// EDIT: enter ad banner alternet text here. 
text = new initArray(
"BearAir.com",
"LearnAirbrush.com",
"PrecisionAire Airbrushes and Compressors",
"RichPen Airbrushes - Precision without the Price",
"SilentAire Compressors",
"Precision Air",
"RichPen Airbrushes - Precision without the Price",
"Color Horizons - The Right Choice",
"BearAir.com",
"Color Horizons - The Right Choice",
"Coast Airbrush"

);

// DO NOT EDIT ANYTHING BELOW THIS COMMENT
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+ '\" target="_blank"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\"></a>');


