function writeFlash(output){
	document.write(output)
}

function autoWriteFlash(){
	theObjects = document.getElementsByTagName("object");
	for (var i = 0; i < theObjects.length; i++) {
		theObjects[i].outerHTML = theObjects[i].outerHTML;
	}
}

if(typeof(WDPRO_LOADER) == "object"){
	WDPRO_LOADER.addCallback(autoWriteFlash);
}