var RFillARed = new Object(); var RFillBRed = new Object();
var RFillAGreen = new Object(); var RFillBGreen = new Object();
var RFillABlue = new Object(); var RFillBBlue = new Object();
var RegionX = new Object(); var RegionY = new Object(); var RegLabel = new Object();
var RegionIDs = '7,6,5,4,3,2,203,201,1,202,205,8';

// Main background colours
var RFARGB = 'A48559';
var RFARed =  parseInt("0xA4"); var RFAGreen =  parseInt("0x85"); var RFABlue =  parseInt("0x59");
var RFBRGB = '2F3207';
var RFBRed =  parseInt("0x2F"); var RFBGreen =  parseInt("0x32"); var RFBBlue =  parseInt("0x07");

// Sunset Country 966E29 *** switch to object
RFillARed[7] =  parseInt("0xFD"); RFillAGreen[7] =  parseInt("0xB9"); RFillABlue[7] =  parseInt("0x45");
RFillBRed[7] =  parseInt("0x96"); RFillBGreen[7] =  parseInt("0x6E"); RFillBBlue[7] =  parseInt("0x29");
RegionX[7] = 120; RegionY[7] = 256; RegLabel[7] = "Sunset Country";
// North of Superior 374F5E
RFillARed[6] =  parseInt("0x68"); RFillAGreen[6] =  parseInt("0x73"); RFillABlue[6] =  parseInt("0x7A");
RFillBRed[6] =  parseInt("0x3F"); RFillBGreen[6] =  parseInt("0x4F"); RFillBBlue[6] =  parseInt("0x5E");
RegionX[6] = 236; RegionY[6] = 318; RegLabel[6] = "North of Superior";
// Algoma Country 870E2C
RFillARed[4] =  parseInt("0xED"); RFillAGreen[4] =  parseInt("0x17"); RFillABlue[4] =  parseInt("0x4B");
RFillBRed[4] =  parseInt("0x87"); RFillBGreen[4] =  parseInt("0x0E"); RFillBBlue[4] =  parseInt("0x2C");
RegionX[4] = 387; RegionY[4] = 424; RegLabel[4] = "Algoma Country";
// James Bay Frontier 734E12
RFillARed[5] =  parseInt("0xD2"); RFillAGreen[5] =  parseInt("0x90"); RFillABlue[5] =  parseInt("0x22");
RFillBRed[5] =  parseInt("0x73"); RFillBGreen[5] =  parseInt("0x4E"); RFillBBlue[5] =  parseInt("0x12");
RegionX[5] = 431; RegionY[5] = 314; RegLabel[5] = "James Bay Frontier"; // 393, 265
// Rainbow Country 2B1440
RFillARed[3] =  parseInt("0x5C"); RFillAGreen[3] =  parseInt("0x44"); RFillABlue[3] =  parseInt("0x73");
RFillBRed[3] =  parseInt("0x2B"); RFillBGreen[3] =  parseInt("0x14"); RFillBBlue[3] =  parseInt("0x40");
RegionX[3] = 476; RegionY[3] = 496; RegLabel[3] = "Rainbow Country";
// Near North 043F56
RFillARed[2] =  parseInt("0x00"); RFillAGreen[2] =  parseInt("0x79"); RFillABlue[2] =  parseInt("0xAA");
RFillBRed[2] =  parseInt("0x04"); RFillBGreen[2] =  parseInt("0x3F"); RFillBBlue[2] =  parseInt("0x56");
RegionX[2] = 512; RegionY[2] = 476; RegLabel[2] = "Near North"; // 543,516
// Muskokas 935337
RFillARed[203] =  parseInt("0xF8"); RFillAGreen[203] =  parseInt("0x96"); RFillABlue[203] =  parseInt("0x6C");
RFillBRed[203] =  parseInt("0x93"); RFillBGreen[203] =  parseInt("0x53"); RFillBBlue[203] =  parseInt("0x37");
RegionX[203] = 540; RegionY[203] = 556; RegLabel[203] = "Muskokas";
// Haliburton Highlands 034946
RFillARed[201] =  parseInt("0x00"); RFillAGreen[201] =  parseInt("0x81"); RFillABlue[201] =  parseInt("0x7B");
RFillBRed[201] =  parseInt("0x03"); RFillBGreen[201] =  parseInt("0x49"); RFillBBlue[201] =  parseInt("0x46");
RegionX[201] = 572; RegionY[201] = 553; RegLabel[201] = "Haliburton Highlands";
// Ottawa Valley 2D3759
RFillARed[1] =  parseInt("0x70"); RFillAGreen[1] =  parseInt("0x82"); RFillABlue[1] =  parseInt("0xC0");
RFillBRed[1] =  parseInt("0x2D"); RFillBGreen[1] =  parseInt("0x37"); RFillBBlue[1] =  parseInt("0x59");
RegionX[1] = 609; RegionY[1] = 521; RegLabel[1] = "Ottawa Valley";
// Kawarthas 054A36
RFillARed[202] =  parseInt("0x00"); RFillAGreen[202] =  parseInt("0x93"); RFillABlue[202] =  parseInt("0x7F");
RFillBRed[202] =  parseInt("0x05"); RFillBGreen[202] =  parseInt("0x4A"); RFillBBlue[202] =  parseInt("0x36");
RegionX[202] = 566; RegionY[202] = 584; RegLabel[202] = "Kawartha Lakes";
// Northumberland County 400827
RFillARed[205] =  parseInt("0x99"); RFillAGreen[205] =  parseInt("0x13"); RFillABlue[205] =  parseInt("0x5E");
RFillBRed[205] =  parseInt("0x40"); RFillBGreen[205] =  parseInt("0x08"); RFillBBlue[205] =  parseInt("0x27");
RegionX[205] = 589; RegionY[205] = 605; RegLabel[205] = "Northumberland County";
// Ontario East 2C3C2F
RFillARed[8] =  parseInt("0x68"); RFillAGreen[8] =  parseInt("0x94"); RFillABlue[8] =  parseInt("0x85");
RFillBRed[8] =  parseInt("0x2C"); RFillBGreen[8] =  parseInt("0x3C"); RFillBBlue[8] =  parseInt("0x2F");
RegionX[8] = 634; RegionY[8] = 554; RegLabel[8] = "Ontario East";
// All Ontario 243924
RFillARed[999999] =  parseInt("0x55"); RFillAGreen[999999] =  parseInt("0x5F"); RFillABlue[999999] =  parseInt("0x55");
RFillBRed[999999] =  parseInt("0x24"); RFillBGreen[999999] =  parseInt("0x39"); RFillBBlue[999999] =  parseInt("0x24");
RegionX[999999] = 375; RegionY[999999] = 376; RegLabel[999999] = "All Ontario";