function clearObjs(obj)
{
    var theObj = eval(obj);
    theObj.style.display = "none";
    for (var prop in theObj)
{
    if (typeof(theObj[prop]) == "function")
    {
    theObj[prop]=null
    }
} 
  }

// hack for satisfactory funtioning in IE. Not required for Firefox.
function cleanup() {
    __flash_unloadHandler = function(){
		externalProbSet = true;
        if (externalProbSet) {return};
		clearObjs(explorer);
		clearObjs(flashcontent);
	if (__flash_savedUnloadHandler != null){
		__flash_savedUnloadHandler();
		}
    }

    if (window.onunload != __flash_unloadHandler){ 
		__flash_savedUnloadHandler = window.onunload;
	window.onunload = __flash_unloadHandler;
    }
}

// hack for satisfactory funtioning in IE. Not required for Firefox.
window.onbeforeunload=cleanup; 
