document.writeln('<HTML><HEAD><TITLE>Digital Clock</TITLE>');
document.writeln('');
document.writeln('<SCRIPT LANGUAGE=\"JavaScript\">');
document.writeln('<!-- Original:  Ramandeep Singh (ramandeepji@yahoo.com) -->');
document.writeln('<!-- Web Site:  http://hard-drive.hypermart.net -->');
document.writeln('');
document.writeln('<!-- This script and many more are available free online at -->');
document.writeln('<!-- The JavaScript Source!! http://javascript.internet.com -->');
document.writeln('');
document.writeln('<!-- Begin');
document.writeln('var dn;');
document.writeln('c1 = new Image(); c1.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c1.gif\";');
document.writeln('c2 = new Image(); c2.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c2.gif\";');
document.writeln('c3 = new Image(); c3.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c3.gif\";');
document.writeln('c4 = new Image(); c4.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c4.gif\";');
document.writeln('c5 = new Image(); c5.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c5.gif\";');
document.writeln('c6 = new Image(); c6.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c6.gif\";');
document.writeln('c7 = new Image(); c7.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c7.gif\";');
document.writeln('c8 = new Image(); c8.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c8.gif\";');
document.writeln('c9 = new Image(); c9.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c9.gif\";');
document.writeln('c0 = new Image(); c0.src = \"http://coolstuffclickhere.com/pages4/digitalclock/c0.gif\";');
document.writeln('cb = new Image(); cb.src = \"http://coolstuffclickhere.com/pages4/digitalclock/cb.gif\";');
document.writeln('cam = new Image(); cam.src = \"http://coolstuffclickhere.com/pages4/digitalclock/cam.gif\";');
document.writeln('cpm = new Image(); cpm.src = \"http://coolstuffclickhere.com/pages4/digitalclock/cpm.gif\";');
document.writeln('function extract(h,m,s,type) {');
document.writeln('if (!document.images) return;');
document.writeln('if (h <= 9) {');
document.writeln('document.images.a.src = cb.src;');
document.writeln('document.images.b.src = eval(\"c\"+h+\".src\");');
document.writeln('}');
document.writeln('else {');
document.writeln('document.images.a.src = eval(\"c\"+Math.floor(h/10)+\".src\");');
document.writeln('document.images.b.src = eval(\"c\"+(h%10)+\".src\");');
document.writeln('}');
document.writeln('if (m <= 9) {');
document.writeln('document.images.d.src = c0.src;');
document.writeln('document.images.e.src = eval(\"c\"+m+\".src\");');
document.writeln('}');
document.writeln('else {');
document.writeln('document.images.d.src = eval(\"c\"+Math.floor(m/10)+\".src\");');
document.writeln('document.images.e.src = eval(\"c\"+(m%10)+\".src\");');
document.writeln('}');
document.writeln('if (s <= 9) {');
document.writeln('document.g.src = c0.src;');
document.writeln('document.images.h.src = eval(\"c\"+s+\".src\");');
document.writeln('}');
document.writeln('else {');
document.writeln('document.images.g.src = eval(\"c\"+Math.floor(s/10)+\".src\");');
document.writeln('document.images.h.src = eval(\"c\"+(s%10)+\".src\");');
document.writeln('}');
document.writeln('if (dn == \"AM\") document.j.src = cam.src;');
document.writeln('else document.images.j.src = cpm.src;');
document.writeln('}');
document.writeln('function show3() {');
document.writeln('if (!document.images)');
document.writeln('return;');
document.writeln('var Digital = new Date();');
document.writeln('var hours = Digital.getHours();');
document.writeln('var minutes = Digital.getMinutes();');
document.writeln('var seconds = Digital.getSeconds();');
document.writeln('dn = \"AM\";');
document.writeln('if ((hours >= 12) && (minutes >= 1) || (hours >= 13)) {');
document.writeln('dn = \"PM\";');
document.writeln('hours = hours-12;');
document.writeln('}');
document.writeln('if (hours == 0)');
document.writeln('hours = 12;');
document.writeln('extract(hours, minutes, seconds, dn);');
document.writeln('setTimeout(\"show3()\", 1000);');
document.writeln('}');
document.writeln('//  End -->');
document.writeln('</script>');
document.writeln('');
document.writeln('</HEAD>');
document.writeln('');
document.writeln('');
document.writeln('');
document.writeln('');
document.writeln('');
document.writeln('<BODY onLoad=\"show3()\" bgcolor=\"#FFFFFF\">');
document.writeln('');
document.writeln('<SCRIPT>');
document.writeln('<!--  // Called by an onClick in each radio button.');
document.writeln('');
document.writeln('function leapTo (link)');
document.writeln('');
document.writeln('{');
document.writeln('');
document.writeln('var new_url=link;');
document.writeln('');
document.writeln('if (  (new_url != \"\")  &&  (new_url != null)  )');
document.writeln('');
document.writeln('window.location=new_url;');
document.writeln('');
document.writeln('');
document.writeln('}');
document.writeln('');
document.writeln('');
document.writeln('');
document.writeln('// Called by View Source button - displays source of file.');
document.writeln('');
document.writeln('function viewSource()');
document.writeln('');
document.writeln('{');
document.writeln('');
document.writeln('var current_url=\"\";');
document.writeln('');
document.writeln('current_url=document.location;');
document.writeln('');
document.writeln('window.location=\"view-source:\"+current_url;');
document.writeln('');
document.writeln('}');
document.writeln('');
document.writeln('');
document.writeln('');
document.writeln('// --></SCRIPT>');
document.writeln('');
document.writeln('<table bgcolor=\"52c6ff\" cellpadding=\"0\" cellspacing=\"3\" align=\"center\" title=\"Click Here To Get This Digital Clock For Your Website! Just One Line Of Javascript Code To Insert In Your Page!\"><tr><td>');
document.writeln('<table bgcolor=\"#000000\" cellpadding=\"0\" cellspacing=\"0\"><tr><td colspan=\"2\" height=\"30\" valign=\"bottom\" INPUT TYPE=\"radio\" NAME=\"coolstuff\" onClick=\"leapTo(\'http://www.coolstuffclickhere.com/pages4/digitalclock/digitalclock.htm\')\">');
document.writeln('');
document.writeln('&nbsp;');
document.writeln('');
document.writeln('<img height=21 src=\"http://coolstuffclickhere.com/pages4/digitalclock/cb.gif\" width=16 name=a>');
document.writeln('<img height=21 src=\"http://coolstuffclickhere.com/pages4/digitalclock/cb.gif\" width=16 name=b>');
document.writeln('<img height=21 src=\"http://coolstuffclickhere.com/pages4/digitalclock/colon.gif\" width=9 name=c>');
document.writeln('<img height=21 src=\"http://coolstuffclickhere.com/pages4/digitalclock/cb.gif\" width=16 name=d>');
document.writeln('<img height=21 src=\"http://coolstuffclickhere.com/pages4/digitalclock/cb.gif\" width=16 name=e>');
document.writeln('<img height=21 src=\"http://coolstuffclickhere.com/pages4/digitalclock/colon.gif\" width=9 name=f>');
document.writeln('<img height=21 src=\"http://coolstuffclickhere.com/pages4/digitalclock/cb.gif\" width=16 name=g>');
document.writeln('<img height=21 src=\"http://coolstuffclickhere.com/pages4/digitalclock/cb.gif\" width=16 name=h>');
document.writeln('<img height=21 src=\"http://coolstuffclickhere.com/pages4/digitalclock/cam.gif\" width=16 name=j>');
document.writeln('');
document.writeln('&nbsp;');
document.writeln('</td></tr></table>');
document.writeln('</td></tr></table>');
document.writeln('');
document.writeln('');
document.writeln('');
document.writeln('</BODY>');
document.writeln('</HTML>');
