// Thanks to Tristan!!
//
// Create the asynchronysm calling object.
//var asynHttpObj = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();

var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function preloader_DoFSCommand(command, args) {
	var preloaderObj = isInternetExplorer ? document.all.preloader : document.preloader;
	//
	// Place your code here.
	//
  if (command == "tUM")
    tUM(args, true);
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub preloader_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call preloader_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}

//function tUM(gURL, inmemoryonly)
//{
//	if (gURL && asynHttpObj)
//	{
//      asynHttpObj.open("GET", gURL, true);
//      asynHttpObj.send(null);
//	}
//}

function tUM(gURL, inmemoryonly) 
{
   if(Image)
   {
      var oImg = new Image();
      oImg.src = gURL;
   }  
}