function getClientWidth() { return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth; } function sivamtime() { // var now = new Date(); // var hour=now.getHours(); // var min=now.getMinutes(); // var sec=now.getSeconds(); var hour=04; var min=19; var sec=15; if (min<=9) { min="0"+min; } if (hour<=9) { hour="0"+hour; } min = min.toString(); hour = hour.toString(); time = '' + '' + '' + ''; if (document.getElementById) { document.getElementById('clock').innerHTML = time; } else if (document.layers) { document.layers.clock.document.write(time); document.layers.clock.document.close(); } setTimeout("sivamtime()", 10000); } function getWindowSize() { winwidth = getClientWidth(); if (winwidth > 1280) { document.getElementById("container").style.width = '1280px'; document.getElementById("left_shadow").style.display = 'block'; document.getElementById("right_shadow").style.display = 'block'; } else { document.getElementById("container").style.width = '100%'; document.getElementById("left_shadow").style.display = 'none'; document.getElementById("right_shadow").style.display = 'none'; } }