/* Place this after the body element to make ActiveX controls work right again
 * - Eric Anderson <eric@afaik.us>, Public Domain, use how you want
 *
 * CREDIT: This hack was gathered from multiple sources on the internet.
 * I DID NOT figured it out myself. This is just my implementation
 */
if (navigator.appName == "Microsoft Internet Explorer") (function() {
	var onload = window.onload || function(){};
	document.body.setAttribute('onload', null);
	window.onload = function() {
		onload.apply(this, arguments);
		var tags = ['object', 'embed', 'applet'];
		for( i=0; i<tags.length; i++ ) {
			var elements = document.getElementsByTagName(tags[i]);
			for(j=0; j<elements.length; j++)
				elements[j].outerHTML = elements[j].outerHTML
		}
	}
})();

