// --------------------------------------------------------
// Needed to get around IE's border around object behaviour


theObjects = document. getElementsByTagName ("object");

for (var i = 0; i < theObjects. length; i++)
{ 
  theObjects [i]. outerHTML = theObjects [i]. outerHTML; 
} // for