var bo_ns_id = 0;

function startIeFix() {
  if (isIE()) {
    document.write('<div id="bo_ns_id_' + bo_ns_id + '"><!-- ');
  }
}

function startIeFix2() {
  if (isIE()) {
    document.write('<div style="position:absolute; visibility:inherit; width:210px; height:200px; z-index:1" id="bo_ns_id_' + bo_ns_id + '"><!-- ');
  }
}

function endIeFix() {
  if (isIE()) {
    document.write('</div>');
    var theObject = document.getElementById("bo_ns_id_" + bo_ns_id++);
    var theCode = theObject.innerHTML;
    theCode = theCode.substring(4, 9 + theCode.indexOf("</object>"));
    document.write(theCode);
  }
}

function endIeFix2() {
  if (isIE()) {
    var theObject = document.getElementById("bo_ns_id_" + bo_ns_id++);
    var theCode = theObject.innerHTML;
    theCode = theCode.substring(4, 9 + theCode.indexOf("</object>"));
    document.write(theCode);
    document.write('</div>');

  }
}


function isIE() {
  if (typeof window.opera!="undefined")
    return false;
  else if (typeof document.all!="undefined")
    return true;
  else
    return false;
}
