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