//get the values from the objects on the html page, jquery ftw
start_val_of_orders = parseInt( $('.special_counterz').html().replace(',', '') ) ? parseInt( $('.special_counterz').html().replace(',', '') ) : 0; 
 
function mm_ordertimer()
{
    curVal = start_val_of_orders + 1;
    start_val_of_orders = start_val_of_orders + 1;
    newVal = addCommas(curVal);
    $('.special_counterz').html(newVal);
}
    
//common comma function using regex
function addCommas(nStr)
{
    nStr += '';
    x = nStr.split('.');
    x1 = x[0];
    x2 = x.length > 1 ? '.' + x[1] : '';
    var rgx = /(\d+)(\d{3})/;
    while (rgx.test(x1)) {
        x1 = x1.replace(rgx, '$1' + ',' + '$2');
    }
    return x1 + x2;
}

setInterval( "mm_ordertimer()", 2570 );