window.DigitalFeedback['https://digitalfeedback.us.confirmit.com/api/digitalfeedback/loader/prod/scenario?programKey=Eh6Au0&scenarioId=12928&programVersion=268'] = function (api) {
window.ConfirmitExitSurvey = function (pid,dataObject,configObject,showLog,test,doPopUnder)
{


  var loc = "" + document.location.href;
  if( loc.indexOf("cart.nec") != -1 )
  {
    console.log('cart page.  exiting');
    return;
  }

  if( loc.indexOf("thankyou.html") != -1 )
  {
	  ConfirmitModalExitSurvey(pid,dataObject,configObject,showLog,test)
  }
  else if( isieedge() > 0 )
  {
  ConfirmitWindowExitSurvey(pid,dataObject,configObject,showLog,test)
  }
  else if( doPopUnder )
  {
    console.log('*** pop under ***');
  ConfirmitTabExitSurvey(pid,dataObject,configObject,showLog,test)
  }
  else
  {
    console.log('*** pop up ***');
  ConfirmitWindowExitSurvey(pid,dataObject,configObject,showLog,test)
  }
  
}
};fŪgN