	var i = 1;
	var isn1=null;
	var isn2=false;

	function startTime()
	{
	    var time= new Date();
	    hours= time.getHours();
	    mins= time.getMinutes();
	    secs= time.getSeconds();
	    closeTime=hours*3600+mins*60+secs;
	    closeTime+=1;	// How many seconds til the next rotation
	    Timer();
	}

		function Timer()
		{
		    var time= new Date();
		    hours= time.getHours();
		    mins= time.getMinutes();
		    secs= time.getSeconds();
		    curTime=hours*3600+mins*60+secs
		    if (curTime>=closeTime)
		    {
				
			startTime();
		}
        else
        {
			window.setTimeout("Timer()",40000)
		}
	}
	
function descript()
	{
	window.status = description[i]
	}

	function stopit()
	{
		if(isn2) 
		{ 
			clearTimeout(isn1);
		}
		isn2 = false;
 	}

	function startit()
	{
		stopit();
		isnclock();
	}
 
	function isnclock()
	{
        var ndays = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
        var pop2000 =1006360500;
        var date2000 = new Date(2000,2,1);
        var date1 = new Date();
        var date2 = new Date(2001,2,1);

        var cursec = date1.getSeconds();
        var curmin = date1.getMinutes();
        var curhrs = date1.getHours();
        var curday = date1.getDate();
        var curmth = date1.getMonth();
        var curyrs = date1.getYear();

        var finalsec = date2.getSeconds();
        var finalmin = date2.getMinutes();
        var finalhrs = date2.getHours();
        var finalday = date2.getDate();
        var finalmth = date2.getMonth();
        var finalyrs = date2.getYear();

		if (curyrs>99)
		{ 
			curyrs=100+curyrs%100; 
		}
		if (finalyrs>99)
		{ 
			finalyrs=100+finalyrs%100; 
		}

        var secrem = finalsec - cursec;
        var minrem = finalmin - curmin;
        var hrsrem = finalhrs - curhrs;
        var dayrem = finalday - curday;
        var mthrem = finalmth - curmth;
        var yrsrem = finalyrs - curyrs;

        if (secrem < 0 )
		{ 
			secrem +=60; minrem -=1; 
		}
        if (minrem < 0 )
        { 
			minrem +=60; hrsrem -=1; 
		}
        if (hrsrem < 0 )
		{ 
			hrsrem +=24; dayrem -=1; 
		}
        if (dayrem < 0 )
        { 
			dayrem +=ndays[curmth]; mthrem -=1; 
		}
        if (mthrem < 0 )
        { 
			mthrem +=12; yrsrem -=1; 
		}

        var popu =Math.round(pop2000+((Math.abs(date1.getTime() - date2000.getTime()))/1000)*.4883942161339);

		var popustr = new String();
		var tmppopu = new String();
		popustr = popu.toString();

		if (popu < 999999999)
		{
			tmppopu="  "+popustr.substring(0,3)+","+popustr.substring(3,6)+","+popustr.substring(6,9);
		}
		else
		{
			tmppopu=popustr.substring(0,1)+","+popustr.substring(1,4)+","+popustr.substring(4,7)+","+popustr.substring(7,10);
		}

		document.clckk.disps.value= tmppopu;

		isn1=setTimeout("isnclock()",1000);
		isn2=true;
	}

	function startClock() 
	{
		timeRemaining();
	}

	// make the number into a string
	function string(number) 
	{
		var tempnum;
		tempnum= Math.round(number)+" ";

		tempnum= tempnum.substring(0,tempnum.length-1);
		if (tempnum.length > 3) 
		{
			tempnum = tempnum.substring(0,tempnum.length-3) + "," + tempnum.substring(tempnum.length-3, 99);
		}
		if (tempnum.length > 7) 
		{
			tempnum = tempnum.substring(0,tempnum.length-7) + "," + tempnum.substring(tempnum.length-7, 99);
		}
        if (tempnum.length > 11) 
        {
			tempnum = tempnum.substring(0,tempnum.length-11) + "," + tempnum.substring(tempnum.length-11, 99);
		}
        if (tempnum.length >15) 
        {
			tempnum = tempnum.substring(0,tempnum.length-15) + "," + tempnum.substring(tempnum.length-15,99);
        }
        if (tempnum.length == 14) 
        {
			tempnum = " " + tempnum;
        }
        if (tempnum.length == 13) 
        {
			tempnum = "  " + tempnum;
		}
        if (tempnum.length == 11) 
        {
			tempnum = "    " + tempnum;
        }
        if (tempnum.length == 10) 
        {
            tempnum = "     " + tempnum;
        }
        if (tempnum.length == 9) 
        {
			tempnum = "      " + tempnum;
        }
        if (tempnum.length == 7) 
		{
			tempnum = "        " + tempnum;
        }
        if (tempnum.length == 6) 
        {
			tempnum = "         " + tempnum;
        }
        if (tempnum.length == 5) 
        {
			tempnum = "          " + tempnum;
        }
        if (tempnum.length == 3) 
        {
			tempnum = "            " + tempnum;
        }
        if (tempnum.length == 2) 
        {
			tempnum = "             " + tempnum;
        }
        if (tempnum.length == 1) 
        {
			tempnum = "              " + tempnum;
        }
        return tempnum;
	}
	function timeRemaining() 
	{
		var now = new Date();                                
        var newyears99 = new Date("January 1, 2000");
        var todaysdate = new Date("January 1, 2000");
        var may4 = new Date("May 4, 1999");
        var secsSince;
        var secsSincePop;
        var Meter1;
        secsSince = Math.round(now.getTime() - newyears99.getTime())/1000;
        secsSincePop = Math.round(now.getTime() - may4.getTime())/1000;
        //todaysdate.setMonth(now.getMonth());
        //todaysdate.setDate(now.getDate());
        //todaysdate.setYear(now.getYear());
        //secsToday = (now.getTime()-todaysdate.getTime())/1000;
        Meter1 = string(secsSincePop * 2.69 + 5973937080);              //Population
        Meter1 = Meter1.substring(2,16)
		//New Suggested Worldometers
        document.clckk.dispt.value =Meter1;
        timerID = setTimeout("timeRemaining()", 1);
        timerRunning = true;
	}
