var isDoDInstance=true; window.onload = function () { var img = document.getElementById("dynamicLogo"); if(img) if (isDoDInstance) { img.src = '/images/DoDSeparation/TriCare Patient Portal SM logo-Final-Full-Resolution.png'; img.alt = 'Patient Portal TriCare Online / Secure Messaging'; img.title = 'Patient Portal TriCare Online / Secure Messaging'; img.style.maxHeight = "17mm"; } else { if(img.src.indexOf('1pixel') !== -1) { img.src='/images/DoDSeparation/TriCare Patient Portal SM logo-Final-Full-Resolution.png'; img.alt='Patient Portal TriCare Online / Secure Messaging'; img.title='Patient Portal TriCare Online / Secure Messaging'; } } }