/html/kjwohsziyr/-k8凯发官网

if (!window.jquery) { document.write(unescape("")); document.write(unescape("")); } if (window.jquery) { (function($){ default_switch(); //简体繁体互换 function default_switch() { var home_lang = getcookie('home_lang'); if (home_lang == '') { home_lang = 'cn'; } if ($.inarray(home_lang, ['zh','cn'])) { var obj = $('#jquerys2t_1573822909'); var issimplified = getcookie('jquerys2t_1573822909'); if ('cn' == issimplified) { $('body').t2s(); $(obj).text('繁體'); } else if ('zh' == issimplified) { $('body').s2t(); $(obj).text('简体'); } } } //简体繁体互换 $('#jquerys2t_1573822909').click(function(){ var obj = this; var issimplified = getcookie('jquerys2t_1573822909'); if ('' == issimplified || 'cn' == issimplified) { $('body').s2t(); // 简体转繁体 setcookie('jquerys2t_1573822909', 'zh'); $(obj).text('简体'); } else { $('body').t2s(); // 繁体转简体 setcookie('jquerys2t_1573822909', 'cn'); $(obj).text('繁體'); } }); })(jquery); }
网站地图