// our own global variables

s.channel = "TOOL";
s.prop50 = s.channel + ":SCHD";
s.pageName = s.prop50 + ":Request Schedule Page";

var channel = s.channel; // obsolete
var pageName = s.pageName; // obsolete

// obsolete
function gatherData(obj_) {
  if (analyticsDisabled) return;

  var s = s_gi(s_account);

  var tmp = document.schedForm.outbound_depart_airport.value;
  s.eVar7 = tmp.substr(tmp.length - 3); // last three chars: airport code
  tmp = document.schedForm.outbound_arrive_airport.value;
  s.eVar8 = tmp.substr(tmp.length - 3); // last three chars: airport code
  s.eVar12 = document.schedForm.outbound_depart_month.value;
  s.eVar13 = document.schedForm.outbound_depart_day.value;

  // custom link tagging
  // set channel and pageName into props, since
  // they aren't tracked on custom links
  s.prop3 = channel;
  s.prop4 = pageName;
  s.linkTrackVars = 'prop3,prop4,eVar7,eVar8,eVar12,eVar13';
  sendAnalyticsOnSubmit(s, obj_, 'o', 'Request Schedules Form');
}
