var SlideShowSpeed = 15000;

var CrossFadeDuration = 5;

var Picture = new Array(); 
var Caption = new Array(); 
var Links = new Array();

Picture[1]  = 'fileadmin/PHP/images-start/SPEED-CARRIER-45U.jpg';
Picture[2]  = 'fileadmin/PHP/images-start/SFP.jpg';
Picture[3]  = 'fileadmin/PHP/images-start/SPEED-MODEM-DSL.jpg';
Picture[4]  = 'fileadmin/PHP/images-start/SPEED-SWITCH.jpg';


Caption[1]  = "Hochkompakte und kosteng&uuml;nstige CWDM/DWDM-Systeme";
Caption[2]  = "Herstellerkompatible Transceiver - SFP, GBIC, XFP, XENPAK, X2, SFP+";
Caption[3]  = "Kosteng&uuml;nstige und zuverlässige Modem-L&ouml;sungen für Kupfer- und Glasfasernetze";
Caption[4]  = "Die mobile Switching L&ouml;sung f&uuml;r den Notfall oder die Realisierung eines tempor&auml;ren Netzwerkes";


Links[1]  = "http://www.pandacomdirekt.com/de/produkte/produktfamilie/cwdm.html";
Links[2]  = "http://www.sfp-gbic-xfp.de";
Links[3]  = "http://www.pandacomdirekt.com/de/produkte/produktfamilie/modems.html";
Links[4]  = "http://www.pandacomdirekt.com/de/produkte/produktfamilie/ethernet/speed-switch-copper.html"



ie = (    (document.all) 
       && (window.offscreenBuffering) ) ? true : false;
nn = (    (document.captureEvents) 
       && (!document.getElementById)  ) ? true : false;
mz = (    (document.getElementById) 
       && (!document.all) 
       && (document.documentElement)  ) ? true : false;
op = (    (document.getElementById) 
       && (navigator.userAgent.indexOf('Opera') != -1) ) ? true : false;

var tss;
var iss;
var jss;
var pss = Picture.length-1;
var d = new Date()
var f=  d.getMilliseconds()/1000;
var zufall = Math.random(f) * 4;
zufall = Math.ceil(zufall);
jss = zufall;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if(op)
{
document.getElementById("Prodlink").href = Links[jss];
document.getElementById("Prodlink-Schrift").href = Links[jss];
}

if (ie){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
document.getElementById("Prodlink").href = Links[jss];
document.getElementById("Prodlink-Schrift").href = Links[jss];
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}