/*
	Directions: 
	1. Place all of your JavaScripts in the same folder as this one.
	2. Add the filenames of the JavaScripts you want to load automatically in the incScripts array
	3. Link this JavaScript file to your HTML document, and confirm it's working properly
*/
var incScripts = new Array('default.js');
var allScripts = document.getElementsByTagName('script');
for(s=0; s<=(allScripts.length-1); s++)
{
	var scriptPath = allScripts[s]['src'];
	if(scriptPath.indexOf('import.js') >= 0)
	{
		scriptURI = scriptPath.replace(/import\.js/gi, '');
		for(i=0;i<=(incScripts.length-1); i++) { document.write('<script type="text/javascript" src="' + scriptURI + incScripts[i] + '"></scr' + 'ipt>'); }
		break;
	}
}

