/* 0) { c = c.substring(i+1).split(','); var s = '#', n; for (i = 0; i < 3; i++) { if ((n = parseInt(c[i])) != 'NaN') s += ((n < 16)? '0':'') + n.toString(16); else s += '00'; } return s; } else return '#cccccc'; } function getColors() { var el = document.getElementById("body"); if (!el) return; var computedStyle = null; if (typeof el.currentStyle != "undefined") computedStyle = el.currentStyle; else computedStyle = document.defaultView.getComputedStyle(el, null); color = rgb2hex(computedStyle['color']); bgcolor = rgb2hex(computedStyle['backgroundColor']); if (color == bgcolor) color = '#cccccc'; } } window.onload = function() { setuplisteners(); }; /* ]]> */