<!-- Begin
function PadZeros(num)
{
	return ((num <= 9) ? ("0" + num) : num);
}
function SetDateTime(RightNow,hours,minutes,DSTStart,DSTEnd)
{
	var GMTMonth = RightNow.getUTCMonth();
	var GMTDate = RightNow.getUTCDate();
	var GMTHour = RightNow.getUTCHours();
	// check for daylight savings time
	if ((isNaN(DSTStart)) && (isNaN(DSTEnd)))
	{
		var DSTStartParts = DSTStart.split("/");
		var DSTStartMM = parseInt(DSTStartParts[0]);
		var DSTStartDD = parseInt(DSTStartParts[1]);
		var DSTEndParts = DSTEnd.split("/");
		var DSTEndMM = parseInt(DSTEndParts[0]);
		var DSTEndDD = parseInt(DSTEndParts[1]);
		// in the northen hemisphere, the DST start month will be less than the end month
		if (DSTStartMM < DSTEndMM)
		{
			var DSTStartDate = new Date(RightNow.getUTCFullYear(),(DSTStartMM - 1),DSTStartDD,2,0,0,0);
			var DSTEndDate = new Date(RightNow.getUTCFullYear(),(DSTEndMM - 1),DSTEndDD,2,0,0,0);
			while (DSTStartDate.getDay() != 0)
			{
				DSTStartDate.setDate(DSTStartDate.getDate()+1);
			}
			while (DSTEndDate.getDay() != 0)
			{
				DSTEndDate.setDate(DSTEndDate.getDate()+1);
			}
			if ((DSTStartDate < RightNow) && (RightNow < DSTEndDate))
				GMTHour++;
		}
		else
		// in the southern hemisphere, the DST end month will be less than the start month
		{
			var DSTStartDate = new Date(RightNow.getUTCFullYear(),(DSTStartMM - 1),DSTStartDD,2,0,0,0);
			var DSTEndDate = new Date(RightNow.getUTCFullYear(),(DSTEndMM - 1),DSTEndDD,2,0,0,0);
			//if (DSTEndDate < DSTStartDate) DSTEndDate.setFullYear(DSTEndDate.getFullYear()+1);
			var StartOfYear = new Date(RightNow.getUTCFullYear(),0,1,0,0,0,0);
			// if (StartOfYear < DSTStartDate) StartOfYear.setFullYear(StartOfYear.getFullYear()+1);
			var EndOfYear = new Date(RightNow.getUTCFullYear(),11,31,23,59,59,0);
			// if (EndOfYear > StartOfYear) EndOfYear.setFullYear(EndOfYear.getFullYear()-1);
			if (DSTEndMM < DSTStartMM)
			{
				
			}
			while (DSTStartDate.getDay() != 0)
			{
				DSTStartDate.setDate(DSTStartDate.getDate()+1);
			}
			while (DSTEndDate.getDay() != 0)
			{
				DSTEndDate.setDate(DSTEndDate.getDate()+1);
			}
			if (((DSTStartDate < RightNow) && (DSTStartDate < EndOfYear)) || ((StartOfYear < RightNow) && (RightNow < DSTEndDate)))
				GMTHour++;
		}
	}
	GMTHour += hours;
	var GMTMinutes = RightNow.getUTCMinutes();
	GMTMinutes += minutes;
	if (GMTMinutes >= 60)
	{
		GMTHour++;
		GMTMinutes -= 60;
	}
	else if (GMTMinutes < 0)
	{
		GMTHour--;
		GMTMinutes += 60;
	}
	if (GMTHour >= 24)
	{
		GMTHour -= 24;
		switch (GMTMonth)
		{
		// January, March, May, July, August, October, and December
		case 0 :
		case 2 :
		case 4 :
		case 6 :
		case 7 :
		case 9 :
		case 11 :
			GMTDate++;
			if (GMTDate > 31)
			{
				GMTDate = 1;
				GMTMonth++;
				if (GMTMonth > 11) GMTMonth = 1;
			}
			break;
		// April, June, September, and November
		case 3 :
		case 5 :
		case 8 :
		case 10 :
			GMTDate++;
			if (GMTDate > 30)
			{
				GMTDate = 1;
				GMTMonth++;
				// if (GMTMonth > 11) GMTMonth = 1;
			}
			break;
		// February
		case 1 :
			GMTDate++;
			if (GMTDate == 29)
			{
				// check for leap year on the 29th of February
				var GMTYear = RightNow.getUTCFullYear();
				// if year is evenly divisible by 4, it may be a leap year
				if ((GMTYear % 4) == 0)
				{
					// if year is evenly divisble by 100 but not evenly divisible by 400 it is a leap year
					if (((GMTYear % 100) == 0) && ((GMTYear % 400) != 0))
					{
						GMTDate = 1;
						GMTMonth++;
					}
				}
				else
				{
					// it is not a leap year
					GMTDate = 1;
					GMTMonth++;
				}
			}
			else
			{
				if (GMTDate > 29)
				{
					GMTDate = 1;
					GMTMonth++;
				}
			}
			break;
		}
	}
	else if (GMTHour < 0)
	{
		GMTHour += 24;
		GMTDate--;
		if (GMTDate < 1)
		{
			GMTMonth--;
			switch (GMTMonth)
			{
			// January, March, May, July, August, October, and December
			case 0 :
			case 2 :
			case 4 :
			case 6 :
			case 7 :
			case 9 :
			case 11 :
				GMTDate = 31;
				break;
			// April, June, September, and November
			case 3 :
			case 5 :
			case 8 :
			case 10 :
				GMTDate = 30;
				break;
			// February
			case 1 :
				// check for leap year on the 29th of February
				var GMTYear = RightNow.getUTCFullYear();
				// if year is evenly divisible by 4, it may be a leap year
				if ((GMTYear % 4) == 0)
				{
					// if year is evenly divisble by 100 but not evenly divisible by 400 it is a leap year
					if (((GMTYear % 100) == 0) && ((GMTYear % 400) != 0))
						GMTDate = 29;
					else
						GMTDate = 28;
				}
				else
				{
					// it is not a leap year
					GMTDate = 28;
				}
				break;
			}
		}
	}
	var AdjustedDate = PadZeros(GMTMonth+1) + "/" + PadZeros(GMTDate) + " " + PadZeros(GMTHour) + ":" + PadZeros (GMTMinutes);
	return (AdjustedDate)
}
function ShowWorldTime()
{
	var RightNow = new Date();
	StuggartTime = SetDateTime(RightNow,2,0,0,0);
	BaghdadTime = SetDateTime(RightNow,3,0,"3/23","9/23");
	ManilaTime = SetDateTime(RightNow,8,0,0,0);
	SeoulTime = SetDateTime(RightNow,9,0,0,0);
//	document.worldclock.Clock3.value = SetDateTime(RightNow,10,0,"10/23","3/23");
	HawaiiTime = SetDateTime(RightNow,-10,0,0,0);
//	document.worldclock.Clock5.value = SetDateTime(RightNow,-9,0,"4/01","10/23");
	 CaliforniaTime = SetDateTime(RightNow,-8,0,"4/01","10/23");
	WashTime = SetDateTime(RightNow,-5,0,"4/01","10/23");
	GMTTime = SetDateTime(RightNow,0,0,0,0);
	
}
// End -->