med-supplies/js/scripts.js
/**
     * To start count
     * @param counters all selectors
     * @param start int
     * @param value int
     * @param id int
     */
To start count
@param counters all selectors
@param start int
@param value int
@param id int
To start count @param counters all selectors @param start int @param value int @param id int
function count(counters, start, value, id) {
        var localStart = start;
        var inc = incrementValue(value);
        interval = setInterval(function() {
            if (localStart < value) {
                localStart = localStart + inc;
                counters[id].innerHTML = localStart;
            }
        }, 40);
    }
function count ( counters , start , value , id ) { var localStart = start ; var inc = incrementValue ( value ) ; interval = setInterval ( function ( ) { if ( localStart < value ) { localStart = localStart + inc ; counters [ id ] . innerHTML = localStart ; } } , 40 ) ; }
To start count
 @param counters all selectors
 @param start int
 @param value int
 @param id int
To start count @param counters all selectors @param start int @param value int @param id int