if (location.protocol=='https:') 
	document.location.replace(document.location.toString().replace(/https:/,'http:'));