var https = (location.protocol.substring(0,5) == 'https') ? true : false;
if ( (!(https)) && (location.host != 'devconnect.bgtpartners.com') )  {
	window.location="https://"+location.host+location.pathname+location.search;
}