
// [Routes processor Nov  9 2006 17:29:00]
// Routes file for 'tmp/mlukbrand/onemtliteroutes.js'
// Processed Fri Oct 26 07:09:29 2007
// Return routes = 128, matched company codes = 1 [JU ]
// Oneway inbound routes = 146, matched company codes = 1 [JU ]
// Oneway outbound routes = 128, matched company codes = 1 [JU ]

// startbit     = Bit that today's month will start with, usually 0
// endbit       = Bit of the latest flight
// startMonth   = Today's month (zero based index, ie 0-11)
// startYear    = Today's year
// FirstMonth   = First month on which any route is available
// FirstYear    = First Year on which any route is available

var startBit    = 0;
var endBit      = 12;
var endBiti     = 12;
var endBito     = 12;
var startMonth  = 9;
var startYear   = 2007;
var FirstMonth  = 9;
var FirstYear   = 2007;
var FirstMonthi = 9;
var FirstYeari  = 2007;
var FirstMontho = 9;
var FirstYearo  = 2007;

// List of oneway inbound departure codes - any order

var departuresi = new Array(
	"PMI",
	"ACE",
	"CFU",
	"TFS",
	"LCA",
	"REU",
	"FUE",
	"IBZ",
	"ZTH",
	"FAO",
	"AGP",
	"ALC",
	"HER",
	"HRG",
	"MAH",
	"PFO",
	"RHO",
	"SSA",
	"TCP",
	"LPA",
	"CTA",
	"MLA",
	"SFB"
);

// List of oneway inbound destination codes - any order (except entry zero which is always ALL)

var destinationsi = new Array(
	"ALL",
	"ABZ",
	"ALL",
	"UK",
	"BHX",
	"CWL",
	"EDI",
	"EMA",
	"BFS",
	"IRL",
	"MAN",
	"NCL",
	"STN",
	"LD1",
	"LON",
	"LGW",
	"EXT",
	"GLA",
	"SCO",
	"SEN",
	"LPL",
	"LBA",
	"BRS"
);

// Bitmask 2D array (inbound oneway) - ordered by destination then departure eg validMonths[destination][departure]

var validMonthsi = new Array(
	new Array(1,255,1,255,1,1,8067,1,1,3,3,8067,1,3,1,3,1,1,3,2,1,3,3),
	new Array(1,0,0,0,0,0,0,0,0,0,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(1,255,1,255,1,1,8067,1,1,3,3,8067,1,3,1,3,1,1,3,2,1,3,3),
	new Array(1,255,1,255,1,1,8067,1,1,3,3,8067,1,3,1,3,1,1,3,2,1,3,3),
	new Array(1,3,1,255,0,0,0,0,0,0,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,0,0,2,1,1,0,0,0,0,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,0,0,0,0,0,1,0,0,0,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,0,0,3,0,0,0,1,1,0,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(1,254,0,255,0,0,8064,0,0,3,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(1,2,0,3,0,0,8064,0,0,3,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(1,255,1,255,0,0,3,1,1,3,3,8067,1,3,1,3,1,1,3,0,0,0,0),
	new Array(1,0,0,0,0,0,0,0,0,0,0,8064,0,0,0,0,0,0,0,2,0,0,0),
	new Array(0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
	new Array(1,3,1,3,0,0,3,1,0,3,0,8064,1,0,0,3,0,0,3,0,1,1,3),
	new Array(1,3,1,3,0,0,3,1,0,3,0,8064,1,0,0,3,0,0,3,0,1,1,3),
	new Array(1,3,1,3,0,0,3,1,0,3,0,8064,1,0,0,3,0,0,3,0,1,1,3),
	new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0),
	new Array(0,0,0,254,0,0,0,0,0,0,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,0,0,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,0,0,0,0,0,0,0,0,0,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,0,0,0,0,0,0,0,0,0,0,3968,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,0,0,0,0,0,0,0,0,0,0,8064,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,0,0,0,0,0,0,0,0,0,0,8064,0,0,0,0,0,0,0,0,0,0,0)
);

// List of oneway outbound departure codes - any order

var departureso = new Array(
	"ABZ",
	"ALL",
	"UK",
	"BHX",
	"CWL",
	"EDI",
	"EMA",
	"BFS",
	"IRL",
	"MAN",
	"NCL",
	"STN",
	"LD1",
	"LON",
	"LGW",
	"EXT",
	"GLA",
	"SCO",
	"SEN",
	"LPL",
	"LBA",
	"BRS"
);

// List of oneway outbound destination codes - any order (except entry zero which is always ALL)

var destinationso = new Array(
	"ALL",
	"PMI",
	"CFU",
	"TFS",
	"REU",
	"FUE",
	"IBZ",
	"ZTH",
	"FAO",
	"ACE",
	"AGP",
	"ALC",
	"HER",
	"HRG",
	"MAH",
	"PFO",
	"RHO",
	"TCP",
	"MLA",
	"SFB"
);

// Bitmask 2D array (outbound oneway) - ordered by destination then departure eg validMonths[destination][departure]

var validMonthso = new Array(
	new Array(8065,8191,8191,8191,8065,8065,8065,8191,8065,8191,8065,1,8065,8065,8065,1,8190,126,8064,3968,8064,8064),
	new Array(1,1,1,1,0,0,0,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0),
	new Array(0,1,1,1,0,0,0,0,0,1,0,0,1,1,1,0,0,0,0,0,0,0),
	new Array(0,127,127,127,0,0,1,127,1,127,0,0,1,1,1,0,126,126,0,0,0,0),
	new Array(0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,8065,8065,0,0,1,0,8064,8064,1,0,1,1,1,1,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,1,0,0,1,0,0,1,1,1,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,0,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0),
	new Array(0,127,127,0,0,0,0,126,0,127,0,0,1,1,1,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0),
	new Array(8064,8065,8065,8064,8064,8064,8064,8064,8064,8065,8064,0,8064,8064,8064,0,8064,0,8064,3968,8064,8064),
	new Array(0,1,1,0,0,0,0,0,0,1,0,0,1,1,1,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,0,0,0,1,0,0,1,1,1,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,0,0,0,1,0,0,1,1,1,0,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0),
	new Array(0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0)
);

