if (window.location.protocol == 'http:') {
	window.location = window.location.href.replace(/^http:/, 'https:');	
}
function hideProgress(){
        document.getElementById('loader').style.display = 'none';
}

