﻿if(location.protocol == 'https:'){
	try{
		location.protocol = 'http:';
		if(location.protocol == 'https:')
			location.href = (location.href).replace("https:","http:");
	} catch(e) {
		location.href = (location.href).replace("https:","http:");			
	}
}
