jquery(function($){ $("#gblink").click(function(){ $.cookie('jquery_client_language',null,{path:"/"}); location.href=location.href; $("#gblink").hide(); $("#big5link").show(); }); $("#big5link").click(function(){ $.cookie('jquery_client_language',"big5",{path:"/"}); jquery("body").gb2big5(); location.href=location.href; $("#big5link").hide(); $("#gblink").show(); }); var $language = $.cookie('jquery_client_language'); if($language && $language=="big5"){ $("body").gb2big5(); document.title =jtf(document.title); $("#big5link").hide(); $("#gblink").show(); } $(".xsqy-news-item-title").each(function(){ $(this).find("a[title]").removeattr("href").removeattr("title") }) });