/**
* @author msalla
*/

var Pb = Pb ||
{};
(function() {
    if (window.jQuery) {
        (function($) {

            var TConstants = function() {
                /**
                * @namespace Pb.Constants
                */
                function Constants() {
                    /**
                    * @namespace Pb.Constants.RelationType
                    */
                    function RelationType() {
                    }
                    RelationType.prototype = {
                        SUB_CONTENT: "D6261CC6-D0A6-4C14-9D5F-8D8DA4DEE325"
                    };
                    /**
                    * @namespace Pb.Constants.BackOffice
                    */
                    function BackOffice() {
                    }
                    BackOffice.prototype = {
                        ServiceUrl: "/pb/services/BackOffice.asmx",
                        EipServiceUrl: "/pb/Services/EIPService.asmx",
                        BackOfficeHomeUrl: "/pb/forms/BackOffice/Mainform/Default.aspx",
                        WizardNewContentUrl: "/" + Pb.Utils.Url.getPageLang() + "/pb/Forms/BackOffice/Wizards/WzdContents.aspx"
                    };
                    return {
                        RelationType: new RelationType(),
                        BackOffice: new BackOffice()
                    };
                }
                return {
                    Constants: new Constants()
                }
            } ();
            $.extend(Pb, TConstants);

            $.pbConstants = Pb.Constants;

            //var extensions = {
            //};

            //$.each( extensions, function( i )
            //{
            //	$.fn[i] = this;
            //});
        })(window.jQuery);
    }
})();
