function slider_init(t){
  var a,d,s,l; a=document.getElementById(t);
  s=a.getElementsByTagName('dd'); l=s.length;
  for(var i=0;i<l;i++){d=s[i]; d.mh=d.offsetHeight; d.style.height=0; d.style.display='none';}
}
function slider_show(t){
  var a,h,s,l,i; a=document.getElementById(t);
  h=a.getElementsByTagName('dt'); s=a.getElementsByTagName('dd');
  l=s.length;
  for(var i=0;i<l;i++){
    var d=s[i]; clearInterval(d.tm);
    if(d.style.display=='none'){d.style.display='';su(d,1); h[i].className="open";}
    else if(d.style.display==''){d.mh=d.offsetHeight; d.style.height=d.mh+(Math.ceil(d.mh/10)*-1)+'px'; su(d,-1); h[i].className='';}
  }
}
function su(c,f){c.tm=setInterval(function(){sl(c,f)},10)}
function sl(c,f){
    var h=c.offsetHeight, m=c.mh, d=f==1?m-h:h; c.style.height=h+(Math.ceil(d/10)*f)+'px';
    c.style.opacity=h/m; c.style.filter='alpha(opacity='+h*100/m+')';
    if(f==1&&h>=m){clearInterval(c.tm)}else if(f!=1&&(h<=1||h>=m)){c.style.display='none'; clearInterval(c.tm);}
  }

