, 28  2006 . 08:25 
		 
  +  
        
        
_   
                                
                                        .    (  ) Yellow Fade Technique.  ,      YellowFade.js
   85 :
: document.getElementById(targetId) has no properties
: /j/YellowFade.js
: 85
    3. ,    ,   .
function DoFade(colorId, targetId) {
    if (colorId >= 1) {
    document.getElementById(targetId).style.backgroundColor = "#ffff" + FadeSteps[colorId];
        // If it's the last color, set it to transparent
        if (colorId==1) {
            document.getElementById(targetId).style.backgroundColor = "transparent";
    }
        colorId--;
        // Wait a little bit and fade another shade
        setTimeout("DoFade("+colorId+",'"+targetId+"')", FadeInterval);
  }
}