// 04-24-2006
// The purpose of this file is to facilitate the addition of external objects to a Web page
//	via an external JavaScript file to prevent users from being disrupted by the Internet Explorer
//	ActiveX update described in MSDN KB912945

// Function: EmbededObjectWriteContent
// Writes the content of an Active X object to either:
// a) a layer through its .innerHTML property
// or
// b) document.writes on the page
function EmbededObjectWriteContent(sLayerName , sContent) {
	if ( (sLayerName == '') || (sLayerName == null) ) {
		document.write(sContent);
	} else {
		document.getElementById(sLayerName).innerHTML = sContent;
	}
}

