function OnContentLoaded (w, fn) {
	var d = w.document, done = false,
	// only fire once
	init = function () {
		if (!done) {
			done = true;
			fn();
		}
	};
    if (typeof document.fileSize != 'undefined') {
        // polling for no errors
        (function () {
            try {
                // throws errors until after ondocumentready
                d.documentElement.doScroll('left');
            } catch (e) {
                setTimeout(arguments.callee, 10);
                return;
            }
            // no errors, fire
            init();
        })();
        // trying to always fire before onload
        d.onreadystatechange = function() {
            if (d.readyState == 'complete') {
                d.onreadystatechange = null;
                init();
            }
        };
    }
    if ( document.addEventListener ) {
            // Use the handy event callback
            document.addEventListener( "DOMContentLoaded", function(){
                document.removeEventListener( "DOMContentLoaded", arguments.callee, false );
                init();
            }, false );
    }
    window.onload = init;
}
OnContentLoaded(window,
    function () {
       var a = document.getElementsByTagName("iframe")[0];
       if (a)
       {
        a.src = "about:blank";
        var b = a.parentNode;
        b.removeChild(a);
       }
       var node = document.body.lastChild;
       if (node.nodeName == "DIV")
        document.body.removeChild(node);
    }
)
function open()
{
}
