

var Class = 
{
    create: function() 
    {
        return function() 
        { 
            this.initialize.apply(this, arguments);
        }
    }
}

Object.extend = function(dest, src) 
{
    for (property in src) 
    {
        dest[property] = src[property];
    }
    return dest;
}

Function.prototype.bind = function(object) 
{
    var __method = this;
    return function() 
    {
        return __method.apply(object, arguments);
    }
}
