/* Server Identifiers */
var uwssearchserver = "http://search.honeywell.com/search";
var was_env_server = "http://www51.honeywell.com";
var uwsserver = "http://www.honeywell.com";

if (window.location.protocol=="https:")
{ 
      uwsserver="https://www.honeywell.com";
      was_env_server = "https://www51.honeywell.com";
}	

//get the current URL.
var env_url = location.href;

//if Dev
if(env_url.indexOf("dwww.honeywell.com") != -1 || env_url.indexOf("dwww51.honeywell.com") != -1 || env_url.indexOf("dmy.honeywell.com") != -1 || env_url.indexOf("dinside.honeywell.com") != -1)
{
	was_env_server = "http://dwww51.honeywell.com";
	uwsserver = "http://dwww.honeywell.com";
	if (window.location.protocol=="https:")
	{ 
      uwsserver="https://dwww.honeywell.com";
      was_env_server = "https://dwww51.honeywell.com";
	}	
	
}

//if QA
if(env_url.indexOf("qwww.honeywell.com") != -1 || env_url.indexOf("qwww51.honeywell.com") != -1 || env_url.indexOf("qmy.honeywell.com") != -1 || env_url.indexOf("qinside.honeywell.com") != -1)
{
	was_env_server = "http://qwww51.honeywell.com";
	uwsserver = "http://qwww.honeywell.com";
	if (window.location.protocol=="https:")
	{ 
      uwsserver="https://qwww.honeywell.com";
      was_env_server = "https://qwww51.honeywell.com";
	}	

}

/*
Please even update the server path in main.css - bgdot, bggraydot class
*/
 /* Google Search server properties */  
/* Testing server (my Honeywell ) */
   var uwssearchserver = "http://search.honeywell.com/search";
   var searchsite = "default_collection";
   var searchclient = "default_frontend";


