<!-- Begin

var now = new Date();

var up,down;
var min1,sec1;
var cmin1,csec1,cmin2,csec2;

function Display(min,sec) {     
    var disp;       
    if(min<=9) disp="0"; 
    else disp="";
          disp+=min+":";  
    if(sec<=9) disp+="0"+sec;
    else disp+=sec; return(disp); 
}

function timer() {       cmin2=10;
    csec2=0;

    DownRepeat() 
}

function DownRepeat() { 
    csec2--;
    if(csec2==-1) { 
        csec2=59; cmin2--; 
    }      
    if(csec2==0 && cmin2==0) {
        nowDate= new Date();
        if((urlMatch = top.location.href.match(/^(http:.*)$/)) != null) {
            if((urlMatchSub = urlMatch[1].match(/(.*)&[0-9]*$/)) != null) {
                location.href=urlMatchSub[1]+"&"+eval(Date.parse(nowDate.toUTCString())/1000);
            }
            else {
                location.href=urlMatch[1]+"&"+eval(Date.parse(nowDate.toUTCString())/1000);
            }
        }
        else {
            history.go(0);
        }
    }
    cn1='Reloading in <b>'+Display(cmin2,csec2)+'</b> minutes.';
    // dynamically change html
    var thedoc1 = window.document.getElementById("timerhtml").innerHTML = cn1;
    down=setTimeout("DownRepeat()",1000); 
}

function timer2() {       cmin2=0;
    csec2=0;

    UpRepeat() 
}



function UpRepeat() { 
    csec2++;
    if(csec2==60) { 
        csec2=0; cmin2++; 
    }      
    cn1='Last&nbsp;Update...&nbsp;<b>'+Display(cmin2,csec2)+'</b>&nbsp;mins&nbsp;ago.';
    // dynamically change html
    var thedoc1 = window.document.getElementById("timerhtml").innerHTML = cn1;
    down=setTimeout("UpRepeat()",1000); 
}


function NoRepeat(message) { 
    //csec2++;
    //if(csec2==60) { 
    //    csec2=0; cmin2++; 
    //}      
    cn1=message;
    // dynamically change html
    var thedoc1 = window.document.getElementById("timerhtml").innerHTML = cn1;
    //down=setTimeout("UpRepeat()",1000); 
}


function voided() {
    
}


function DateConvertLocal(hourNum,minNum) {
    //var birthday = new Date("July 21, 1983 01:15:00")
    var dd = new Date()
    var gmtHours = dd.getTimezoneOffset()/60
    hourNum-=gmtHours;
    if((hourNum<0)) { hourNum+=24; }
    ld = new Date("July 21, 1971 "+hourNum+":"+minNum+":00");
    //alert(scan_date.getDate() );
   // format hours for am pm
    var ampm="am";
   if (ld.getHours()>=12||ld.getHours()==0) {
        hours=Math.abs(ld.getHours()-12);
        if(hours==0) {hours=12;}
        if (ld.getHours()!=0) {
            ampm="pm";
        }
    }
    else {
        hours=ld.getHours();
    }

   
   return ""+hours+":"+(ld.getMinutes()<10?"0"+ld.getMinutes():ld.getMinutes())+""+ampm+"";


}




// End -->
