function setProtocolHttps()
{
	var sLocation	= new String(window.location).toLowerCase();
	if(self.location.protocol == "http:")
	{
		sLocation		= sLocation.replace("http:", "https:");
		window.location	= sLocation;
	}
}
setProtocolHttps();
