(function(){
	var importSrc = function(e){
		return '<script type="text/javascript" src="'+ e +'"></script>' + "\n";
	}
	var path = document.getElementsByTagName('script')[0].getAttribute('src');
	var basePath = path.replace(/\/import.js$/, '\/');
	//jQuery読み込み
	document.write( importSrc( basePath + 'jquery-1.4.2.min.js' ) );
	//デフォルト
	document.write( importSrc( basePath + 'default.js' ) );
	var userAgent = window.navigator.userAgent.toLowerCase();
	var appVersion = window.navigator.appVersion.toLowerCase();
	//var is_old_ie = (ua.indexOf("msie") != -1) && (ua.indexOf("msie 9") == -1) && (ua.indexOf("opera") == -1);
	//isOpera = ua.indexOf("opera") > -1,
	//var is_ie6 = !isOpera && ua.indexOf("msie 6") > -1;
	//pngfix IE6 only
	if (userAgent.indexOf("msie") > -1) {
		if (appVersion.indexOf("msie 6.0") > -1) {
			document.write( importSrc( basePath + 'DD_belatedPNG_0.0.8a.js' ) );
			document.write( importSrc( basePath + 'pngon.js' ) );
		}
	}
})();
