<!--//
//script written by Jason J. Russo webmaster@maddogsearch.com
//more free scripts: http://maddogsearch.com/freescripts/
//Edit the following variables below.

//Border width.
var border = "0";

//Border Color.
var border_color = "#000000";

//font face example: arial,verdana,tahoma
var fface="arial,verdana,helvetica";

//font size. In Pixels. Example 10 - 12.
var fsize="10";

//font color
var fcolor="#000000";

//bold text. Set to 1 if true 0 if false;
var b = "0";

//italics text. Set to 1 if true 0 if false;
var i = "1";

//background color.
var bgcolor = "#ffffff";

//background image
var background_image = "lighttanbottom.gif";
// Set to 1 if you wish to show time in status bar as well.
var statusbaron = "1";

//####Do Not Edit Below This Line Unless you know what you're doing. Or even if you don't know what you're doing but you feel like experimenting.####//

var style = "";
if(border) {
style += "border-style:solid;border-width:" + border + "px;";
 }
if(border_color) {
style += "border-color:" + border_color + ";";
 }
if(fface) {
style += "font-family:" + fface + ";";
 }
if(fsize) {
style += "font-size:" + fsize + "px;";
 }
if(fcolor) {
style += "color:" + fcolor + ";";
 }

if(b == "1") {
style += "font-weight:bold;";
 }
if(i == "1") {
style += "font-style:italic;";
 }
if(bgcolor) {
style += "background-color:" + bgcolor + ";";
 }
if(background_image) {
style += "background-image: url('" + background_image + "');";
 }
var bsr = navigator.appName;
var ntype = ""; 
if(bsr.indexOf("Microsoft") == -1) { 
ntype = "text";
} else {
ntype = "button";
}

document.write('<form name="jtime"><input type="' + ntype + '" name="time2"');

if(ntype == "text") {
document.write('size=10');
 } else {
document.write('style="' + style);
 } 

document.write('"></form>');

function simp_clock(){
var curdate=new Date()
var hours=curdate.getHours()
var minutes=curdate.getMinutes()
var seconds=curdate.getSeconds()
var ampm="AM"
if (hours>=12){
ampm="PM";
 }
if (hours>=13) {
hours-=12
}

if (minutes<10)  { 
minutes="0"+minutes;
 }

if (seconds<10) {
seconds="0"+seconds;
 }
var show_time=hours+":"+minutes+":"+seconds+" "+ampm;
document.jtime.time2.value=show_time;

if(statusbaron) {
window.status = show_time;
 }
setTimeout("simp_clock()",1000);
}
simp_clock();

//-->