function generateActiveXAppletDownloader(host)
{
	// Define which cabinet file to use (32 versus 64 bit)
	var sPlatform = (navigator.userAgent.indexOf('Win64;') > -1) ? "x64/" : "x86/";

	document.write('<object id="dldr" codebase="' + sPlatform + 'RescueDownloader.cab#version=1,0,0,14" classid="CLSID:63F5866B-A7C5-40B4-9A89-0CCA99726C8D" width="290" height="28" viewastext>');
	document.write('<param name="host" value="' + host + '">');
	document.write('<param name="userAgent" value="' + navigator.userAgent + '">');
	document.write('</object>');
}
