jQuery(function($){
$("#gblink").click(function(){
$.cookie('jQuery_client_language',null,{path:"/",domain:"sinochem.com"});
location.href=location.href;
});
$("#big5link").click(function(){
$.cookie('jQuery_client_language',"big5",{path:"/",domain:"sinochem.com"});
jQuery("body").gb2big5();
location.href=location.href;
});
var $language = $.cookie('jQuery_client_language');
if($language && $language=="big5"){
$("body").gb2big5();
document.title =jtf(document.title);
$("#jf-banner-flash").html("");
$("#jf-flash-container").html("");
$(".sinochem-stock").each(function(){
$(this).find("iframe").attr("src",$(this).find("iframe").attr("src").replace("zh-cn","zh-hk"));
})
}
});
jQuery(function($){
$("ul.navmenu").children("li.level-0:last").children("a").children("span").css("background","none");
$("ul.navmenu").children("li.level-0:last").children("div.sub").children("ul.sub").children("li.level-1").eq(1).children("a").attr("target","_blank").end().end().filter(":last").children("a").attr("target","_blank");
})