We use JavaScript to detect which browser is being used
and which display settings are being used but to be quite
frank, your time and resources would probably be better
spent redesigning optimal images and a page layout that
does not require coding unless there is a real payoff other
than simply displaying a different logo.