/////////////////////////////////////////////////////////

function DeriveClass(classDerived, classBase)
{
    function inheritance() { };
    inheritance.prototype = classBase.prototype;
    classDerived.prototype = new inheritance();
    classDerived.prototype.constructor = classDerived;
    classDerived.ParentConstructor = classBase;
    classDerived.Parent = classBase.prototype;
    return SW_OK;
}

/////////////////////////////////////////////////////////
