function enableActiveX (containerID)
// Use it, improve it
// by Dirk Alban Adler // KLITSCHE.DE
{
// No IE = no need to enable
 if (getInternetExplorerVersion () != -1)
 {
 // Get container
 var container = document.getElementById (containerID);
 // Get html in noscript 
 var html = container.innerHTML; 
 // Write html back to container
 container.innerHTML = html;
 }
}
function getInternetExplorerVersion()
// Returns the version of Internet Explorer or a -1
// Found at:
// http://msdn.microsoft.com/workshop/author/dhtml/overview/browserdetection.asp
{
 var rv = -1; // Return value assumes failure
 if (navigator.appName == 'Microsoft Internet Explorer')
 {
 var ua = navigator.userAgent;
 var re = new RegExp ("MSIE ([0-9]{1,}[\.0-9]{0,})");
 if (re.exec (ua) != null)
 {
  rv = parseFloat (RegExp.$1);
 }
 }
 return rv;
}
