var str=""+self.location;
if(str.indexOf('/sform/')==-1&&str.indexOf('https')>=0){
	var url=str.replace('https','http');
	location.replace(url);
}
if(str.indexOf('/sform/')>=0&&str.indexOf('https')==-1){
	var url=str.replace('http','https');
	location.replace(url);
}
