var charStr = document.charset || document.characterSet;
var scripts = document.getElementsByTagName('script');
var currentScript = scripts[scripts.length - 1];
var hostPath = currentScript.src.split("/umservice")[0].split("http://")[1];
if(charStr.toLowerCase() == "utf-8"){
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice\/browsercheck.js\"><\/script>");
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice\/FlashHelper.js\"><\/script>");
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice\/shared.js\"><\/script>");
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice\/jsjac.js\"><\/script>");
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice\/reg_1.js\"><\/script>");
}else{
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice_gbk\/browsercheck.js\"><\/script>");
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice_gbk\/FlashHelper.js\"><\/script>");
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice_gbk\/shared.js\"><\/script>");
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice_gbk\/jsjac.js\"><\/script>");
	document.writeln("<script type=\"text\/javascript\" src=\"http:\/\/" + parent.hostPath + "\/umservice_gbk\/reg_1.js\"><\/script>");
}