var data = new Array();var Pic = new Array();var delay=3000,index=0,faderdelay=10,slideShowSpeed = 5000,crossFadeDuration = 3,t,j = 0;var ie4=document.all&&!document.getElementById
var ns4=document.layers,DOM2=document.getElementById
if (DOM2)faderdelay=3000
function changecontent(){runSlideShow();if (index>=data.length)index=0;
if (DOM2){document.getElementById("fscroller").style.color="rgb(255,255,255)";document.getElementById("fscroller").innerHTML=data[index];colorfade()}
else if (ie4)document.all.fscroller.innerHTML=data[index];
else if (ns4){document.sc.document.scsub.document.write(data[index]);document.sc.document.scsub.document.close()}
index++;setTimeout("changecontent()",delay+faderdelay)}frame=30;hex=255;  
function colorfade(){
if(frame>0){hex-=9;document.getElementById("fscroller").style.color="rgb("+hex+","+hex+","+hex+")";frame--;setTimeout("colorfade()",30);}
else{document.getElementById("fscroller").style.color="rgb(0,0,0)";frame=30;hex=255}}
if (ie4||DOM2)
document.write('<div id="fscroller" style="border:0px width:100%;height:100%;padding:2px"></div>')
window.onload=changecontent;
function runSlideShow(){if (document.all){document.images.SlideShow.style.filter="blendTrans(duration=2)";document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";document.images.SlideShow.filters.blendTrans.Apply();}document.images.SlideShow.src = preLoad[j].src;if (document.all){document.images.SlideShow.filters.blendTrans.Play();};j = j + 1;if (j > (p - 1)) j = 0;}