/**
 * @author Zyklon
 */
/**
 * 此文件为基础脚本文件的增加，必须所有页面加载，请有所需要新的JS增加请写在这里根据例子填写
 * 
 * 例：文件名：test.js
 * loadJs("test","/js/test.js");
 * 
 * 
 */
function loadJs(jsId,file){
	var scriptTag = document.getElementById(jsId);
	var head = document.getElementsByTagName('head').item(0);
	if(scriptTag){
		head.removeChild(scriptTag);
	}
	script = document.createElement('script');
	
	script.type = 'text/javascript';
	script.id = jsId;
	head.appendChild(script);
	script.src = file;
}
loadJs("_dict","/js/dict.js");
loadJs("_common","/js/common.js");
loadJs("_xmlaction","/js/xmlaction.js");

