function httpsRedirect(validProtocol, newUrl){
	// alert("in the httpsCheck.js - actual protocol:" +location.protocol + " - valid protocol is " + validProtocol);
	
	if (location.protocol != validProtocol && location.hostname != "www2.mts.ca") {
		if (document.images)
			location.replace(newUrl);
		else
			location.href= newUrl;
	} else {
	
	}
}

