Object.prototype.Inherits = function( parent )
	{
		if( arguments.length > 1 )
		{
			parent.apply( this, Array.prototype.slice.call( arguments, 1 ) );
		}
		else
		{
			parent.call( this );
		}
	}


Object.prototype.getProperties = function(){
    var msg = "";
    for (prop in this){
		if(prop != 'Inherits' && prop != 'getProperties'){
        msg += "property : " + prop + "\t\t value : " + this[prop] + "\n";
		}
    }
    alert(msg);
}

/*

Function.prototype.Inherits = function( parent ){
		
		this.prototype = new parent();
		this.prototype.constructor = this;
		
}
*/
