var spmsVars = {} || spmsVars;
spmsVars = {
    siteId: 5601457,
    spmsBaseUrl: (("https:" == document.location.protocol) ? "https://spms.thuisapotheek.nl" : "http://spms.thuisapotheek.nl"),
    caParams: new Array(),
    addCa: function (key, value) {
        this.caParams.push([key, value]);
    },
    callCa: function () {
        if (typeof (spms) != 'undefined' && spms != null) {
            spms._ca(this.caParams);
            this.caParams = new Array();
        }
    },
    spmsParams: new Array(),
    addSpms: function (key, value) {
        spmsVars.spmsParams.push([key, value]);
    },
    callSpms: function () {
        if (typeof (spms) != 'undefined' && spms != null) {
            spms._call(this.spmsParams);
            this.spmsParams = new Array();
        }
    }
};
