Windows Vista -
Security Warning in Website
Published on 11/23/2006
Describes a problem that occurs in Internet Explorer 7, where you unexpectedly receive a security warning when you call the removeChild() method to delete a DIV element. Workarounds are provided.

Security Warning in Website

Method 1
Use the outerHTML property to delete the DIV element, as in the following example:document.getElementById('myDiv').outerHTML="  "

Method 2
Put the background-image into a cascading style sheets file, as in the following example:<style type="text/css">
{ background-image: url(image.jpg); }