// Shelfフォルダ
var sh_path = '/libraries/js/';

// urchin
document.write('<script src="/urchin.js" type="text/javascript"></script>');

// Shelf 基本
/*
 *	The author has not applied any licenses on this function, but I limit other usages of this strictly, as it now stands.
 *	If you want to use this, please contact to me: seapowerfills@yahoo.co.jp
 */
var sh_obj_meta = document.getElementsByTagName('meta');
loop_sh:
for (i = 0; i < sh_obj_meta.length; i = i + 1) {
	if (sh_obj_meta[i].getAttribute('name') == 'javascript::shelf::requires') {
		var sh_arr_lib = sh_obj_meta[i].getAttribute('content').split(',');
		for (i = 0; i < sh_arr_lib.length ; i++) {
			document.write('<script type="text/javascript" src="' + sh_path + sh_arr_lib[i] + '.js"></script>');
		}
	} else if (sh_obj_meta[i].getAttribute('name') == 'javascript::shelf::defaultparam') {
		
	}
}
