I used this to change the links to https links to avoid weird IE messages:
<% dim socket If Request.ServerVariables("HTTPS") = "on" then socket = "https" else socket = "http" End if %>
Then
<img src="<%response.write(socket)%>://website.com/images/logo.png" class="logo" alt="logo" />
source share