var sfsOrderConfirmManage = Class.create({
    initialize: function(params)
    {
        this.activeObject = null;
        this.deliveryAddressManage = new sfsManage(
            params.deliveryAddress.containers, 
            params.deliveryAddress.options, this
        );
        this.deliveryManage = new sfsDeliveryManage(
            params.delivery.containers, 
            params.delivery.options, this
        );
        
        this.paymentManage = new sfsPaymentManage(
            params.payment.containers, 
            params.payment.options, this
        );
        
        this.memberContactManage = new sfsMemberContactManage(
            params.memberContact.containers, 
            params.memberContact.options, 
            this
        );
    },
    onShowForm: function()
    {
        if (Object.isElement($('form_confirm'))) {
            $('form_confirm').hide();
        }
    },
    onHideForm: function()
    {
        if (Object.isElement($('form_confirm'))) {
            $('form_confirm').show();
        }
    },
    onUpdateInfo: function()
    {
        if (this.deliveryAddressManage.isActive == true) {
            this.deliveryManage.updateForm();
        }
    },
    setActiveObject: function(object)
    {
       if (this.activeObject != null && object != null) {
           this.activeObject.hideForm();
       }
       this.activeObject = object;
    }
});