function clock1(){
	  var time_comp = (new Date).getTime();
	  var shift_time = (-(new Date()).getTimezoneOffset()) * 60000;
	  var time_zero = time_comp - shift_time;

	  var calcutta = time_zero + (3600000*5.5);
	  var malawi   = time_zero + (3600000*2);
	  var tibet    = time_zero + (3600000*8);
	  var congo    = time_zero + (3600000*1);
	    
		  
	  hms('calcutta',new Date(calcutta));
	  /*hms('malawi',new Date(malawi));
	  hms('tibet',new Date(tibet));
	  hms('congo',new Date(congo));*/
	  
}
function hms(layr,X)
{
	  var am_pm, h;
	  h ='';
          am_pm = '';
	  if (X.getHours() == 13) h = '01';
	  if (X.getHours() == 14) h = '02';
	  if (X.getHours() == 15) h = '03';
	  if (X.getHours() == 16) h = '04';
	  if (X.getHours() == 17) h = '05';
	  if (X.getHours() == 18) h = '06';
	  if (X.getHours() == 19) h = '07';
	  if (X.getHours() == 20) h = '08';
	  if (X.getHours() == 21) h = '09';
	  if (X.getHours() == 22) h = '10';
	  if (X.getHours() == 23) h = '11';

	  if (!h) {h = X.getHours(); am_pm = 'am';} 
          else am_pm = 'pm';
	  document.getElementById(layr).innerHTML =h+':'+((m=X.getMinutes())<10?'0':'')+m+''+am_pm;
}
