(function() {
	/**   
	 *  Récupérer le chemin d'un script javascript inclus 
	 *  par Jay Salvat - http://blog.jaysalvat.com/   
	 **/   
	var path; 
	scripts = document.getElementsByTagName('script'); 
	for(i = 0; i < scripts.length; i++) { 
	    matching = scripts[i].src.match(/(.*)default.js$/); 
	    if (matching !== null) { 
		path = matching[1]; 
		break; 
	    } 
	} 

	var ts = (new Date()).getTime();
	var scripts = [
		'FW.core.js',
		'FW.decorations.js',
		'FW.modules.js',
		'objects.js',
		'FW.main.js'
		];
	
	for (var i=0; i<scripts.length; i++) {
		document.write('<script type="text/javascript" src="' + path + scripts[i] + '" ></script>');
	}
	
})();

