<?
class JS_CORE {
		var $JS = array (
		'ajax'			=>	'ajax_v01',
		'character' 	=>	'character_v01',
		'maintenance'	=>	'maintenance_v01',
		'thesaurus'		=>	'thesaurus_v01',
		'top'			=>	'top_v01',
		'inventory'		=>	'inventory_v01',
		'store'			=>	'store_v01',
		'windows'		=>	'windows_v01',
		'pers_restore'	=>	'pers_restore_v01',
		'arena'			=>	'arena_v01',
		'fight'			=> 	'fight_v01',
		'fight_log'		=>	'fight_log_v01'
		
	);
	function use_JS ($ID) {
			echo "<SCRIPT TYPE=\"text/javascript\" SRC=\"/JS/".$this->JS[$ID].".js\"></SCRIPT>\n";
	}
}

$JS_CORE = new JS_CORE;
?>