I need to include some javascript in my pages to display a "trusted"
logo. I need one script if its an https page and a different one if its
an http page. All the pages are created dynamically by the oscommerce
scripts. How can I detect whether the page is to be delivered over http
or https so I can choose which to display?