// 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];
  }
}
function rotor1(){
link = new initArray(

"www.kosmetikseminare.info",
"www.premiumkreuzfahrten.de",
"www.Porta-Vagnu.de",
"",
"www.pmoog.de",
"www.wickstaedter-werkstatt.de/",
"www.niddatal-online.de/niddatal-unternehmen/is/portavagnu/portavagnu.html",
"www.cluburlaub.com"
);

image = new initArray(
"firmen/kosmetikschule-friedberg.jpg",
"firmen/premium-kreuzfahrten.gif",
"firmen/porta-vagnu.gif",
"firmen/haeller-logo.gif",
"firmen/pmoog-de.gif",
"firmen/wickstaedter-werkstatt.gif",
"firmen/porta-vagnu.gif",
"firmen/cluburlaub.gif"
);

text = new initArray(
"Anerkannte BFD-Kosmetikschule, private Schulungen, Kosmetik-Seminare und Fortbildungskurse",
"Premium-Kreuzfahrten der Luxusklasse mit Clubschiffen, mit Großseglern oder als Flusskreuzfahrt",
"Wir laden Sie ganz herzlich ein <br />zum Event der besonderen Art<br />am 18.04.10 um 14:00 Uhr!<br /><a href='http://www.niddatal-online.de/niddatal-unternehmen/is/portavagnu/portavagnu.html'>Alle Informationen hier!</a>",
"<b>Ihr Elektrofachmarkt hat Jubil&auml;um!</b><br><br><br><font size='5'><b>25 Jahre</b></font> <br>in Friedberg im Industriegebiet S&uuml;d.<br><br> ",
"Eine professionelle Homepage in modernster Technik ist beste und preiswerte Werbung",
"Wickstädter Werkstatt Holz, Möbelkunst aus Massivholz auch nach Ihren Entwürfen",
"Fragen Sie uns nach einer individuellen Weinprobe! Wir informieren Sie &uuml;ber den n&auml;chsten Termin!",
"Freizeitreisen-tbc bietet Cluburlaub, Last-Minute-Urlaub, Ferienhäuser zur günstigen Sofortbuchung"
);


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>');
//'<a href=\"http://' +ranlink+ '\" target=\"_blank\"><img src=\"'+ranimage+'\" border="1" alt=\"'+rantext+'\"><br />'+ranlink+'</a><p>'+rantext+'</p>' 
var t='<a href=\"http:/' + '/' ;
t += ranlink ;
t += '\" target=\"_blank\"><img src=\"';
t += ranimage;
t += '\" border="0" alt=\"';
t += rantext ;
t += '\"><br /><center><br />';
t += ranlink ;
t += '</a><br /><br />';
t += rantext
t += '</center>';
document.write(t);

//Color coding..

// These are the link urls, image urls, and link names that you wish to display.
// Each is stated "url or name", . You can add and remove the urls and names by following
// that proceedure. Just make sure that the last one of each type does not contain a comma (,) at the end.
// This is the HTML for the buttons/banners. You can edit anything in here to your needs except the
//  \"' +ranlink+ '\" and \"'+ranimage+'\" and \"'+rantext+'\". 
// These three declarations insert the random link, image, and text into the HTML.
}