//import.js
(function() {
		var jsfiles =[
			//読み込むファイル
			'jquery.js',
			'jquery.selectable.js',
			'jquery.scrollTo.js',
			'accordion.js',
			'heightLine.js',
			'swfobject.js',
			'function.js',
		];

		function lastof(es) { return es[es.length - 1];}
				function dirname(path) { return path.substring(0, path.lastIndexOf('/'));}
				var prefix = dirname(lastof(document.getElementsByTagName('script')).src);
				for(var i = 0; i < jsfiles.length; i++) {
				document.write('<script type="text/javascript" src="' + prefix + '/' + jsfiles[i] + '"></script>');
		}
}).call(this);