All pastes #351069 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-02-11 22:51 UTC
rendered paste body
<html>
<head>
<title>Home</title>       
<style type="text/css">
 body {
  background-color: black;
  font-family: Arial;
  font-size: 24px;
  font-weight: bold;
  color: #888888;
 }
 strong {
  font-size: 36px;
  color: white;
 }
</style>
</head>
<body>
<script language="JavaScript">
<!--

function clock(houroffset, minoffset) {
if (!minoffset) {minoffset = 0;}
Now = new Date();
GMHours = Now.getUTCHours();
GMMins = Now.getUTCMinutes();

mins = GMMins + minoffset;
if (mins < 0) {
 mins += 60;
 houroffset -= 1;
}
if (mins > 60) {
 mins -= 60;
 houroffset += 1;
}
if (mins < 10) {
 mins = "0" + mins;
}

hours = GMHours + houroffset;
if (hours > 24) {hours -= 24;}
if (hours < 0) {hours +=24;}

if (hours > 12) {
 ampm = "PM";
 hours -= 12;
} else {
 ampm = "AM";
}
if (hours == 0) {hours = 12;}

document.write("<br><strong>" + hours + ":" + mins + " " + ampm + "</strong> - ");
}

clock(-8);
document.write("LittleViking, Keron Cyst");

clock(-7);
document.write("Kablizzy");

clock(-6);
document.write("Clovic, thecalcgenius");

clock(-5);
document.write("Dave, Tanner");

clock(1);
document.write("spect, cyberjuda");

clock(2);
document.write("TS");

clock(10);
document.write("KinGAleX</strong>");

clock(10,30);
document.write("Kashkin, maestro");

clock(11);
document.write("krusch");
//  End -->
</script>
</body>
</html>