var oF = new dnFlashObject();
function dnFlashObject()
{
	this.attributes = new Object();
	this.params = new Object();
	this.embed = new Object();
}
dnFlashObject.prototype.showFlash = function()
{
	var str = '';
	str += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
	for (var i in this.attributes){	str += i + '="' + this.attributes[i] + '" ';};
	str += '>';
	for (var j in this.params){str += '<param name="' + j + '" value="' + this.params[j] + '">';};
	str += '<embed ';
	for (var e in this.embed)
	{str += e + '="' + this.embed[e] + '" ';}
	str += 'type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />';
	str += '</object>';
	document.write(str);
}

function removeFlaskLeakInIE(id) {
    var obj = document.getElementById(id);
        if (obj) {
            for (var i in obj) {
                if (typeof obj[i] == "function") {
                obj[i] = null;
                }
        }
        obj.parentNode.removeChild(obj);
    }
}

