 {
                var element = document.getElementById(name);
                element.addEventListener(action, callback, false);
            }

            function replaceMarkers(text, markers) {
                for (key in markers) {
                    var search = '%' + key + '%';
                    text = text.replace(new RegExp(search, 'g'), markers[key]);
                }

                return text;
            }

            return {
                setDays: setDays,
                setMonths: