var sProductName = ""; var sProductLogo = ""; var oHeader = null; function HeaderLoaded(oRef) { oHeader = oRef; oHeader.SetProductName(sProductName, sProductLogo); } function SetProductName(sName, sLogo) { sProductName = sName; sProductLogo = sLogo; if (window.top != window) window.top.SetProductName(sName, sLogo); else if (oHeader != null) oHeader.SetProductName(sName, sLogo); } function DocumentWrite(sContent) { // This is method is needed to work arround the problem caused by // Update for windows XP (KB912945). document.write(sContent); }