monolithed, интересно это зачем? )))
<script type="text/javascript">
window.onload = function(){
var array = ['#DC1C1C', '#1CCCDC', '#1CDC6C', '#425C4D', '#B8DC00', '#DC00B6', '#A2A2A2'], i = array.length;
*!*
while(i--){
array.push(i);
}
*/!*
document.getElementsByTagName('div')[0].style.background = array[new Date().getDay()];
};
</script>
<div style="width: 200px; height: 200px;"></div>