function goHeader() { 
	var prefix = window.parent.document.location.protocol;
	var rightHeader = "";
	if (rightHeader=='https'){
	
	}else{
		if ((prefix=='https:' || prefix=='https')){
			var oldURL = window.location.hostname + window.location.pathname; 
			var newURL = "http://" + oldURL; 
			window.location = newURL; 
		}
	}
} 
goHeader(); 