function Event( name, obj)
{
    var key;
    for ( key in obj )
    {   
        this[ key ] = obj [ key ];
    }
    this.name = name;
}
