if (window.addEventListener)
window.addEventListener("load", opacInt, false)
else if (window.attachEvent)
window.attachEvent("onload", opacInt)
else if (document.getElementById)
window.onload=opacInt
var ie5t = (document.all && document.getElementById);
var ns6t = (!document.all && document.getElementById);
var opac3t = 0;
var indext = 0;
var fotot=new Array();
fotot[0] = '
';fotot[1] = '
';fotot[2] = '
';fotot[3] = '
';fotot[4] = '
';
function opacInt() {
if(opac3t < 100){
opac3t+=10;
if(ie5t) document.getElementById('imgreal').filters.alpha.opacity = opac3t;
if(ns6t) document.getElementById('imgreal').style.MozOpacity = opac3t/100;
setTimeout('opacInt()', 50);
}else{
setTimeout('opacOutt()', 2000);
}
}
function opacOutt() {
if(opac3t > 0){
opac3t-=10;
if(ie5t) document.getElementById('imgreal').filters.alpha.opacity = opac3t;
if(ns6t) document.getElementById('imgreal').style.MozOpacity = opac3t/100;
setTimeout('opacOutt()', 50);
}else{
setTimeout('changefotot()', 50);
opacInt();
}
}
function changefotot(){
if (indext>=fotot.length)
indext=0
document.getElementById("imgreal").innerHTML=fotot[indext];
indext++;
}