function Uploader(form_id) {

    this.time_elapsed = 0;
    this.time_elapsed = 0;
    this.time_left = 0;
    this.file_number = 0;
    this.bytes_saved = 0;
    this.bytes_full = 0;
    this.percent_progress = 0;
    this.loaded = 0;
    this.speed = 0;

    this.frm = $(form_id);

    this.frm.onclick = function (element) {
        alert(element);
    };

    this.message = $('message');

    this.bar = {};
    this.bar.saved = $('saved');
    this.bar.full = $('full');
    this.bar.speed = $('speed');
    this.bar.percent = $('percent');
    this.bar.line = $('bar');

    this.bar.line = $('bar');

    this.bar.time_elapsed = $('time_elapsed');
    this.bar.time_left = $('time_left');

    this.bar.button_cancel = $('button_cancel');



    this._setValue = function(element, value) {
        element.innerHtml = value;
    }
    this._getValue = function(element) {
        return element.innerHtml;
    }

    this._start = function() {
        alert('started!');
    }

    this._guess = function() {

    }

    this._update = function() {

    }

    this._stop = function () {

    }
    return true;
}

