function redirectPaxWeb(command){

	//QA team requested not using a stage url
	//var STAGE_URL = 'https://was7stage.suncountry.com/SCAPaxServicesWeb/startWebCheckin.do'

	var HOST;
	var TEST_URL
	var PROD_URL

	if(command == 'checkin'){
		HOST = window.location.hostname
		TEST_URL = 'https://wswtest1.suncountry.com/SCAPaxServicesWeb/startWebCheckin.dob'
		PROD_URL = 'https://paxsvc.suncountry.com/SCAPaxServicesWeb/startWebCheckin.do'
		if(HOST.toLowerCase().indexOf("local") > -1){window.location = TEST_URL}
		else if(HOST.toLowerCase().indexOf("test") > -1){window.location = TEST_URL}
		else if(HOST.toLowerCase().indexOf("_xp") > -1){window.location = TEST_URL}
		else{window.location = PROD_URL}		
	}
	else{
		HOST = window.location.hostname
		TEST_URL = 'https://wswtest1.suncountry.com/SCATourOpPaxWeb'
		PROD_URL = 'http://paxsvc.suncountry.com/SCATourOpPaxWeb/displayPnrLookup.do'
		if(HOST.toLowerCase().indexOf("local") > -1){window.location = TEST_URL}
		else if(HOST.toLowerCase().indexOf("test") > -1){window.location = TEST_URL}
		else if(HOST.toLowerCase().indexOf("_xp") > -1){window.location = TEST_URL}
		else{window.location = PROD_URL}
	}
}