// read computer clock 
now=new Date(); 
// assign the data to variables 
h = now.getHours( ); 
noon='am';
if (h >11)noon='pm' ;
hr = h ;
if (hr>12) hr=hr-12; 
if (hr==0) hr=12;
mn = now.getMinutes( ); 
dy = now.getDay( ) ; 
d = now.getDate( ) ; 
mth = now.getMonth( )+ 1 ; 
yr = now.getFullYear( ) ; 
uh = now.getUTCHours( ); 
unoon='am';
if (uh >11)unoon='pm'
uhr = uh ;
if (uhr>12) uhr=uhr-12; 
if (uhr==0) uhr=12;
umn = now.getUTCMinutes( ); 
udy = now.getUTCDay( ) ; 
ud = now.getUTCDate( ) ; 
umth = now.getUTCMonth( )+ 1 ; 
uyr = now.getUTCFullYear( ) ; 
// set up arrays 
weekday=new Array ('Sunday' , 'Monday' , 'Tuesday' , 'Wednesday' , 'Thursday' , 'Friday' , 'Saturday' ) 
monthname=new Array('blank','January','February','March','April','May','June','July','August','September','October','November','December') 
th_num = d % 10; 
if (th_num>3) th_num = 0; 
uth_num = ud % 10; 
if (uth_num>3) uth_num = 0; 
th_name = new Array ('th' , 'st' , 'nd' , 'rd' ); 
