﻿
// This function defeats the undesirable border caused by the Eolas/MS dispute 
function decode(input)
{
    return input.replace(/&lt;/g, "<").replace(/&gt;/g, ">"); 
}

isStd = (navigator.appName == "Netscape") ? true : false;

var flash_obj = document.getElementById("flash_swf");
var makeitwork = document.createElement("div");

// Firefox must use decode() to convert '&lt;' and '&gt;' to '<' and '>' respectively
// MSIE does not copy the inner 'param' tag as part of innerHTML, but it is not needed by IE anyhow
if (isStd) 
    makeitwork.innerHTML = decode(flash_obj.innerHTML);
else 
    makeitwork.innerHTML = flash_obj.innerHTML;

flash_obj.parentNode.insertBefore(makeitwork, flash_obj);

