var ClassLoader = Class.create();
ClassLoader.prototype = {
	loadedScripts: [],
	
	initialize: function(app_dir) {
		this.app_dir = app_dir;
	},
	
	include: function(class_file) {
		// DOM insertion fails on safari. suck. so we have to do it the bad way.
		// not sure if this works on safari less than 2.0.   O_o
		document.write('<script type="text/javascript" src="'+this.app_dir+class_file+'"></script>');
	}
}