function checkLangCookie() {
    var langCookie = readCookie('rdxLanguage');
    if (langCookie == 'jp') {
        location.href = '/' + langCookie + '/';
    }
};
checkLangCookie();
