function $(name){return document.getElementById(name);}

var fpTools = [];
fpTools = {
	fpToolsPath: (typeof(fpToolsPath) != 'undefined') ? fpTools.fpToolsPath = fpToolsPath : '',
	include: function(fileName, initFunction)
		{
		var scriptFile = document.createElement("script");
		scriptFile.src = fileName+"?disablecache="+Math.round(Math.random()*9999);
		scriptFile.type = "text/javascript";
		document.getElementsByTagName('head')[0].appendChild(scriptFile);
		if(initFunction) eval(initFunction);
		}
	};

fpTools.include(fpTools.fpToolsPath+'lib/tools/gradient.js');
fpTools.include(fpTools.fpToolsPath+'lib/tools/chrome.js');
fpTools.include(fpTools.fpToolsPath+'lib/tools/linkparser.js');
fpTools.include(fpTools.fpToolsPath+'lib/tools/animate.js');
fpTools.include(fpTools.fpToolsPath+'lib/tools/title.js');