function nepal_time() {
	if (navigator.appVersion.charAt(0) >= "3"){
		imej = new Array();
		imej[0] = new Image();	imej[0].src = "script/nepal_time/c0.png";
		imej[1] = new Image();	imej[1].src = "script/nepal_time/c1.png";
		imej[2] = new Image();	imej[2].src = "script/nepal_time/c2.png";
		imej[3] = new Image();	imej[3].src = "script/nepal_time/c3.png";
		imej[4] = new Image();	imej[4].src = "script/nepal_time/c4.png";
		imej[5] = new Image();	imej[5].src = "script/nepal_time/c5.png";
		imej[6] = new Image();	imej[6].src = "script/nepal_time/c6.png";
		imej[7] = new Image();	imej[7].src = "script/nepal_time/c7.png";
		imej[8] = new Image();	imej[8].src = "script/nepal_time/c8.png";
		imej[9] = new Image();	imej[9].src = "script/nepal_time/c9.png";

		dat = new Date();
		a1 = dat.getUTCHours() + 5 + "";	//時間	
		a2 = dat.getUTCMinutes() + 45 + "";	//分
		if (a2>59){
			a2 = a2 - 60;
			a2 = a2 + "";
			a1 = dat.getUTCHours() + 6 + "";
		}
		if (a1>23)
		{
			a1 = a1 - 24;
			a1 = a1 + "";
		}

		if (a1<12){
				a_p = "a";
		}else{
				a_p = "p";
		}

		if (a1<10){
			a1 = "0" + a1;
		}
		if (a2<10){
			a2 = "0" + a2;
		}


		a11 = a1.charAt(0);	a12 = a1.charAt(1);
		a21 = a2.charAt(0);	a22 = a2.charAt(1);

		document.images["jikann1"].src = imej[a11].src;
		document.images["jikann2"].src = imej[a12].src;
		document.images["funn1"].src = imej[a21].src;
		document.images["funn2"].src = imej[a22].src;
		setTimeout("nepal_time()",1000); // 1000msec = 1sec
	}
}

function show_clock() {
	ta_moji ='<TABLE CELLPADDING=0 CELLSPACING="0" height="50"><TR><TD><img src="script/nepal_time/clock_title.png"><br /><IMG src="script/nepal_time/c_side.png"><IMG src="script/nepal_time/c0.png" name="jikann1"><IMG src="script/nepal_time/c0.png" name="jikann2"><IMG src="script/nepal_time/c_colon.png"><IMG src="script/nepal_time/c0.png" name="funn1"><IMG src="script/nepal_time/c0.png" name="funn2"><IMG src="script/nepal_time/c_side.png"></TD></TR></TABLE>';
	document.write(ta_moji);
}

