What I used to do, in ASP day, is to have a function to generate the partial URL into the link, i.e. GenerateHttp("default.htm") and GenerateHttps("default.htm") which will return either "http:******/default.htm" or "https:******/default.htm". You can write a function like this but get a flag from your application config file to determine the actual URL.
Stephen Lee
--------------------------------
Too much to code
Too little time
--------------------------------