$(document).ready(function(){setlang();if(localStorage.usehistory=="0"){_thenum=3;$("#category1").css({"width":"0px","height":"0px"});$("#category1").text("")}});function getI18nMsg(A){try{return chrome.i18n.getMessage(A)}catch(B){return A}}function setlang(){var B=$("[data-i18n-content]").length;for(var A=0;A<B;A++){var E=$("[data-i18n-content]")[A].getAttribute("data-i18n-content");var D=getI18nMsg(E);var C=$("[data-i18n-content]")[A];if(C.className=="input"||C.className=="input empty"){$(C).val(D)}if(C.className=="baidu_sites"){$(C).attr("href",D)}else{$(C).text(D)}}};