Perhaps get the http referrer on the home page and store it in a cookie, then read the cookie on each page load and show the corresponding logo.
Perhaps get the http referrer on the home page and store it in a cookie, then read the cookie on each page load and show the corresponding logo.