Cookies

(^\/(\w{2}|\w{2}(_|\/)\w{2})(\/)*$)|(^\/$)/).test(window.location.pathname) ? 'homepage' : 'contentPage';