﻿    
    /**
    * Elsevier Commercial Sales Magazines
    * Public
    * cp
    *
    * @requires YAHOO
    * @namespace cp
    * @version 1
    */

    if (typeof cp == 'undefined') {
        var cp = {};
    }

    cp.namespace = function() {
        var a = arguments, e = null, c, b, d;
        for (c = 0; c < a.length; c++) {
            d = a[c].split('.'); e = cp;
            for (b = (d[0] == 'cp') ? 1 : 0; b < d.length; b++) {
                e[d[b]] = e[d[b]] || {}; e = e[d[b]]
            }
        }
        return e;
    };
