// 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(
"http://www.eteleon.de/shop/angebot/Ang2006-09-25_3/2_x_Handy_nach_Wahl_Notebook_Tarif?refid=14286",
"http://www.eteleon.de/shop/angebot/Ang2007-10-12_2/Wahlhandy_Vertrag?refid=14286",
"http://www.eteleon.de/shop/angebot/AngTV2009-01-12_1/TV_Special_Nintendo_Wii_32_Zoll_LCD_TV?refid=14286",
"http://www.eteleon.de/shop/angebot/Ang2009-03-11_12/200_Bargeld_Zugabe_2x_Handy_Tarif?refid=14286"


);

image = new initArray(
"http://files.eteleon.de/products/angebot/Ang2006-09-25_3/info.gif",
"http://files.eteleon.de/products/angebot/Ang2007-10-12_2/info.gif",
"http://files.eteleon.de/products/angebot/AngTV2009-01-12_1/info.gif",
"http://files.eteleon.de/products/angebot/Ang2009-03-11_12/info.gif"

);

text = new initArray(
"Handy Nokia 5800",
"Luxus-Handy",
"Notebook + Playstation 3",
"LG-Electronics KM900"


);

width = new initArray(
		"200",
		"200",
		"200",
		"200"
);

height = new initArray(
		"110",
		"110",
		"110",
		"110"
);

var currentdate = new Date();
var core = currentdate.getSeconds()%image.length;
var ranlink  = link[core];
var ranimage = image[core];
var rantext  = text[core];
var ranwidth = width [core];
var ranheight = height [core];

document.write('<a href=\"' +ranlink+ '\" target=\"_blank\"><img src=\"'+ranimage+'\" width=\"'+ranwidth+'\" width=\"'+ranheight+'\" border="0" alt=\"'+rantext+'\"></a>');

