function zxcFadeSS(zxcid,zxcimgnu,zxcsrt,zxcspd,zxchold,zxcud){
 var zxcp=document.getElementById(zxcid);
 var zxcoop=zxcp.oop;
 if (!zxcp.oop){
  zxcoop=zxcp.oop=new zxcFadeSSOOP(zxcp,zxcimgnu,zxcsrt,zxcspd,zxchold,zxcud);
  if (typeof(zxcsrt)=='number') zxcoop.srtto=setTimeout(function(){zxcoop.cng(); },zxcsrt);
 }
 else {
  clearTimeout(zxcoop.to);
  clearTimeout(zxcoop.srtto);
  zxcoop.ud=zxcud||zxcoop.ud;
  zxcoop.spd=zxcspd||zxcoop.spd;
  zxcoop.hold=zxchold||zxcoop.hold;
  if (typeof(zxcimgnu)=='number'){
   if (typeof(zxcsrt)=='number') zxcoop.srtto=setTimeout(function(){zxcoop.cng(); },zxcsrt);
   else  zxcoop.cng(zxcimgnu+1);
  }
  else if (zxcimgnu) zxcoop.cng();
 }
}

function zxcFadeSSOOP(zxcp,zxcimgnu,zxcsrt,zxcspd,zxchold,zxcud){
 this.p=zxcp;
 this.ary=[];
 var zxcclds=zxcp.childNodes;
 for (var zxccnt=0,zxc0=0;zxc0<zxcclds.length;zxc0++){
  if (zxcclds[zxc0].nodeType==1){
   this.ary[zxccnt]=zxcclds[zxc0];
   zxcclds[zxc0].style.zIndex='0';
   zxcOpacity(zxcclds[zxc0],0);
   zxccnt++;
  }
 }
 this.ary=this.ary.reverse();
 this.cnt=zxcimgnu||0;
 this.lst=this.ary[this.cnt];
 this.lst.style.zIndex='1';
 zxcOpacity(this.lst,100);
 this.ud=zxcud||1;
 this.to=null;
 this.srtto=null;
 this.spd=zxcspd||1000;
 this.hold=zxchold||2000;
}

zxcFadeSSOOP.prototype.cng=function(zxcnu){
 this.lst.style.zIndex=0;
 var zxcoop=this.lst.opacityoop;
 zxcBAnimator('opacity',this.lst,zxcoop?zxcoop.data[0]:100,0,this.spd);
 if (typeof(zxcnu)!='number') this.cnt+=this.ud;
 else this.cnt=zxcnu-1;
 this.cnt=this.cnt<0?this.ary.length-1:this.cnt==this.ary.length?0:this.cnt;
 this.lst=this.ary[this.cnt];
 this.lst.style.zIndex=1;
 zxcoop=this.lst.opacityoop;
 zxcBAnimator('opacity',this.lst,(zxcoop?zxcoop.data[0]:0)+1,100,this.spd);
 if (!zxcnu) this.to=setTimeout(function(zxcoop){return function(){zxcoop.cng();}}(this),this.hold);
}