<!--

function WDF_FileLoader()
{
	//this.varss = {};
}

WDF_FileLoader.prototype.initialise = function()
{
	
}

WDF_FileLoader.prototype.includeJS = function(filename)
{
	document.write('\n' + '<scr' + 'ipt type="text/javascript" src="' + filename + '"></scr' + 'ipt>');
}

WDF_FileLoader.prototype.includeCSS = function(filename)
{
	/*	note: when looking at the generated source in Mozilla the / does not appear at the end	
						this is something that the browser removes.
						performing an alert will show that the correct string is getting passed to document.write
	*/
	document.write('\n' + '<li' + 'nk rel="stylesheet" type="text/css" href="' + filename + '" />');
	//alert('\n' + '<li' + 'nk rel="stylesheet" type="text/css" href="' + filename + '" />');
}

WDF_FileLoader.prototype.preloadImages = function()
{	
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

//-->
