if (top.location.protocol == 'https:') {
	var secureHref = document.location.href.split('https://').join('http://');
	document.location.href = secureHref;
}