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(
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#"
);

// add banner images here
image = new banRot(
"./images/top_banner1.jpg",			
"./images/top_banner2.jpg",
"./images/top_banner3.jpg",
"./images/top_banner4.jpg",
"./images/top_banner5.jpg",
"./images/top_banner6.jpg",
"./images/top_banner7.jpg",
"./images/top_banner8.jpg"
);
// add banner rollover images here



// add alt text for banner images here
text = new banRot(
"Unleash The Energy(TM)1",
"Unleash The Energy(TM)2",
"Unleash The Energy(TM)3",
"Unleash The Energy(TM)4",
"Unleash The Energy(TM)5",
"Unleash The Energy(TM)6",
"Unleash The Energy(TM)7",
"Unleash The Energy(TM)8"
);

prms = new banRot(
"width=720,height=480",
"width=720,height=480"
);


var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];
var params     = prms[core];
// END BANNER ROTATOR //////////////////////////////////////