// BEGIN BANNER ROTATOR //////////////////////////////////////
// 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 banRot() {

this.length = banRot.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = banRot.arguments[i];
  }
}

// add links here
link = new banRot(
"jtc_01.htm",
"jps_01.htm",
"jtc_01.htm",
"jps_01.htm"
);

// add banner images here
image = new banRot(
"index_files/banner07_off.jpg",
"index_files/banner10_off.jpg",
"index_files/banner07_off.jpg",
"index_files/banner10_off.jpg"
);

// add banner rollover images here
imageon = new banRot(
"index_files/banner07_on.jpg",
"index_files/banner10_on.jpg",
"index_files/banner07_on.jpg",
"index_files/banner10_on.jpg"
);

// add alt text for banner images here
text = new banRot(
"Welcome to the Julaiah Group Homepage",
"Welcome to the Julaiah Group Homepage",
"Welcome to the Julaiah Group Homepage",
"Welcome to the Julaiah Group Homepage"
);

var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var coreon = currentdate.getSeconds() % imageon.length;
var ranlink  = link[core];
var ranimage = image[core];
var ranimageon = imageon[coreon];
var rantext  = text[core];
// END BANNER ROTATOR //////////////////////////////////////