", smfFadeAfter = ""; var foreColor, backEl, backColor; if (typeof(document.getElementById(\'smfFadeScroller\').currentStyle) != "undefined") { foreColor = document.getElementById(\'smfFadeScroller\').currentStyle.color.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/); smfFadeFrom = {"r": parseInt(foreColor[1]), "g": parseInt(foreColor[2]), "b": parseInt(foreColor[3])}; backEl = document.getElementById(\'smfFadeScroller\'); while (backEl.currentStyle.backgroundColor == "transparent" && typeof(backEl.parentNode) != "undefined") backEl = backEl.parentNode; backColor = backEl.currentStyle.backgroundColor.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/); } else if (typeof(window.opera) == "undefined" && typeof(document.defaultView) != "undefined") { foreColor = document.defaultView.getComputedStyle(document.getElementById(\'smfFadeScroller\'), null).color.match(/rgb\((\d+), (\d+), (\d+)\)/); smfFadeFrom = {"r": parseInt(foreColor[1]), "g": parseInt(foreColor[2]), "b": parseInt(foreColor[3])}; backEl = document.getElementById(\'smfFadeScroller\'); while (document.defaultView.getComputedStyle(backEl, null).backgroundColor == "transparent" && typeof(backEl.parentNode) != "undefined" && typeof(backEl.parentNode.tagName) != "undefined") backEl = backEl.parentNode; backColor = document.defaultView.getComputedStyle(backEl, null).backgroundColor.match(/rgb\((\d+), (\d+), (\d+)\)/);