
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_jumpMenuGo(selName,targ,restore){ //v3.0
  var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}
//-->

		var s1_location_province_id = new Array();
		var s1_location_province_name = new Array();
		var s1_location_location_id = new Array();
		var s1_location_location_name = new Array();
		var s1_location_province_location = new Array();
		var s1_location_all_locations_name = new Array();
		var s1_location_all_locations_id = new Array();
		s1_location_province_id[0] = 10;
		s1_location_province_name[0] = "Alberta";
		s1_location_location_id[0] = new Array();
		s1_location_location_name[0] = new Array();
			s1_location_location_id[0][0] = 15;
			s1_location_location_name[0][0] = "Banff";
			s1_location_location_id[0][1] = 16;
			s1_location_location_name[0][1] = "Calgary";
			s1_location_location_id[0][2] = 77;
			s1_location_location_name[0][2] = "Canmore";
			s1_location_location_id[0][3] = 71;
			s1_location_location_name[0][3] = "Edmonton";
			s1_location_location_id[0][4] = 11;
			s1_location_location_name[0][4] = "Jasper";
			s1_location_location_id[0][5] = 84;
			s1_location_location_name[0][5] = "Kananaskis Village";
			s1_location_location_id[0][6] = 17;
			s1_location_location_name[0][6] = "Lake Louise";
			s1_location_location_id[0][7] = 85;
			s1_location_location_name[0][7] = "Seebe";
		s1_location_province_id[1] = 22;
		s1_location_province_name[1] = "British Columbia";
		s1_location_location_id[1] = new Array();
		s1_location_location_name[1] = new Array();
			s1_location_location_id[1][0] = 87;
			s1_location_location_name[1][0] = "Ashcroft";
			s1_location_location_id[1][1] = 64;
			s1_location_location_name[1][1] = "Big White and Silver Star";
			s1_location_location_id[1][2] = 76;
			s1_location_location_name[1][2] = "Campbell River";
			s1_location_location_id[1][3] = 81;
			s1_location_location_name[1][3] = "Clearwater";
			s1_location_location_id[1][4] = 66;
			s1_location_location_name[1][4] = "Fernie";
			s1_location_location_id[1][5] = 72;
			s1_location_location_name[1][5] = "Field";
			s1_location_location_id[1][6] = 80;
			s1_location_location_name[1][6] = "Gold Bridge";
			s1_location_location_id[1][7] = 36;
			s1_location_location_name[1][7] = "Kamloops";
			s1_location_location_id[1][8] = 70;
			s1_location_location_name[1][8] = "Kelowna";
			s1_location_location_id[1][9] = 82;
			s1_location_location_name[1][9] = "Manning Park";
			s1_location_location_id[1][10] = 65;
			s1_location_location_name[1][10] = "Panorama Mountain Village";
			s1_location_location_id[1][11] = 68;
			s1_location_location_name[1][11] = "Port Hardy";
			s1_location_location_id[1][12] = 79;
			s1_location_location_name[1][12] = "Prince George";
			s1_location_location_id[1][13] = 75;
			s1_location_location_name[1][13] = "Prince Rupert";
			s1_location_location_id[1][14] = 83;
			s1_location_location_name[1][14] = "Salmon Arm";
			s1_location_location_id[1][15] = 78;
			s1_location_location_name[1][15] = "Smithers";
			s1_location_location_id[1][16] = 63;
			s1_location_location_name[1][16] = "Sun Peaks";
			s1_location_location_id[1][17] = 73;
			s1_location_location_name[1][17] = "Tofino";
			s1_location_location_id[1][18] = 74;
			s1_location_location_name[1][18] = "Ucluelet";
			s1_location_location_id[1][19] = 13;
			s1_location_location_name[1][19] = "Vancouver";
			s1_location_location_id[1][20] = 31;
			s1_location_location_name[1][20] = "Victoria";
			s1_location_location_id[1][21] = 14;
			s1_location_location_name[1][21] = "Whistler";
		s1_location_province_id[2] = 29;
		s1_location_province_name[2] = "Manitoba";
		s1_location_location_id[2] = new Array();
		s1_location_location_name[2] = new Array();
			s1_location_location_id[2][0] = 98;
			s1_location_location_name[2][0] = "Churchill";
		s1_location_province_id[3] = 16;
		s1_location_province_name[3] = "New Brunswick";
		s1_location_location_id[3] = new Array();
		s1_location_location_name[3] = new Array();
		s1_location_province_id[4] = 26;
		s1_location_province_name[4] = "Newfoundland";
		s1_location_location_id[4] = new Array();
		s1_location_location_name[4] = new Array();
			s1_location_location_id[4][0] = 55;
			s1_location_location_name[4][0] = "St Johns";
		s1_location_province_id[5] = 11;
		s1_location_province_name[5] = "Nova Scotia";
		s1_location_location_id[5] = new Array();
		s1_location_location_name[5] = new Array();
			s1_location_location_id[5][0] = 26;
			s1_location_location_name[5][0] = "Halifax";
		s1_location_province_id[6] = 18;
		s1_location_province_name[6] = "Ontario";
		s1_location_location_id[6] = new Array();
		s1_location_location_name[6] = new Array();
			s1_location_location_id[6][0] = 89;
			s1_location_location_name[6][0] = "Huntsville/Muskoka";
			s1_location_location_id[6][1] = 91;
			s1_location_location_name[6][1] = "Keene";
			s1_location_location_id[6][2] = 90;
			s1_location_location_name[6][2] = "Kingston";
			s1_location_location_id[6][3] = 20;
			s1_location_location_name[6][3] = "Niagara Falls";
			s1_location_location_id[6][4] = 22;
			s1_location_location_name[6][4] = "Ottawa";
			s1_location_location_id[6][5] = 21;
			s1_location_location_name[6][5] = "Toronto";
		s1_location_province_id[7] = 20;
		s1_location_province_name[7] = "Quebec";
		s1_location_location_id[7] = new Array();
		s1_location_location_name[7] = new Array();
			s1_location_location_id[7][0] = 93;
			s1_location_location_name[7][0] = "Carleton";
			s1_location_location_id[7][1] = 23;
			s1_location_location_name[7][1] = "Montreal";
			s1_location_location_id[7][2] = 94;
			s1_location_location_name[7][2] = "Perce";
			s1_location_location_id[7][3] = 6;
			s1_location_location_name[7][3] = "Quebec City";
			s1_location_location_id[7][4] = 95;
			s1_location_location_name[7][4] = "Rimouski";
			s1_location_location_id[7][5] = 97;
			s1_location_location_name[7][5] = "Sainte Anne Des Monts";
			s1_location_location_id[7][6] = 92;
			s1_location_location_name[7][6] = "Tadoussac";
			s1_location_location_id[7][7] = 67;
			s1_location_location_name[7][7] = "Tremblant";
			s1_location_location_id[7][8] = 96;
			s1_location_location_name[7][8] = "Trois Rivieres";
		s1_location_province_id[8] = 27;
		s1_location_province_name[8] = "Yukon";
		s1_location_location_id[8] = new Array();
		s1_location_location_name[8] = new Array();
			s1_location_location_id[8][0] = 57;
			s1_location_location_name[8][0] = "Dawson City";
			s1_location_location_id[8][1] = 56;
			s1_location_location_name[8][1] = "Whitehorse";
		s1_location_all_locations_name[0] = "Anchorage";
		s1_location_all_locations_id[0] = "60";
		s1_location_all_locations_name[1] = "Ashcroft";
		s1_location_all_locations_id[1] = "87";
		s1_location_all_locations_name[2] = "Banff";
		s1_location_all_locations_id[2] = "15";
		s1_location_all_locations_name[3] = "Big White and Silver Star";
		s1_location_all_locations_id[3] = "64";
		s1_location_all_locations_name[4] = "Calgary";
		s1_location_all_locations_id[4] = "16";
		s1_location_all_locations_name[5] = "Campbell River";
		s1_location_all_locations_id[5] = "76";
		s1_location_all_locations_name[6] = "Canmore";
		s1_location_all_locations_id[6] = "77";
		s1_location_all_locations_name[7] = "Carleton";
		s1_location_all_locations_id[7] = "93";
		s1_location_all_locations_name[8] = "Churchill";
		s1_location_all_locations_id[8] = "98";
		s1_location_all_locations_name[9] = "Clearwater";
		s1_location_all_locations_id[9] = "81";
		s1_location_all_locations_name[10] = "Dawson City";
		s1_location_all_locations_id[10] = "57";
		s1_location_all_locations_name[11] = "Denali National Park";
		s1_location_all_locations_id[11] = "59";
		s1_location_all_locations_name[12] = "Edmonton";
		s1_location_all_locations_id[12] = "71";
		s1_location_all_locations_name[13] = "Fairbanks";
		s1_location_all_locations_id[13] = "58";
		s1_location_all_locations_name[14] = "Fernie";
		s1_location_all_locations_id[14] = "66";
		s1_location_all_locations_name[15] = "Field";
		s1_location_all_locations_id[15] = "72";
		s1_location_all_locations_name[16] = "Gold Bridge";
		s1_location_all_locations_id[16] = "80";
		s1_location_all_locations_name[17] = "Halifax";
		s1_location_all_locations_id[17] = "26";
		s1_location_all_locations_name[18] = "Huntsville/Muskoka";
		s1_location_all_locations_id[18] = "89";
		s1_location_all_locations_name[19] = "Jasper";
		s1_location_all_locations_id[19] = "11";
		s1_location_all_locations_name[20] = "Kamloops";
		s1_location_all_locations_id[20] = "36";
		s1_location_all_locations_name[21] = "Kananaskis Village";
		s1_location_all_locations_id[21] = "84";
		s1_location_all_locations_name[22] = "Keene";
		s1_location_all_locations_id[22] = "91";
		s1_location_all_locations_name[23] = "Kelowna";
		s1_location_all_locations_id[23] = "70";
		s1_location_all_locations_name[24] = "Kingston";
		s1_location_all_locations_id[24] = "90";
		s1_location_all_locations_name[25] = "Lake Louise";
		s1_location_all_locations_id[25] = "17";
		s1_location_all_locations_name[26] = "Manning Park";
		s1_location_all_locations_id[26] = "82";
		s1_location_all_locations_name[27] = "Montreal";
		s1_location_all_locations_id[27] = "23";
		s1_location_all_locations_name[28] = "Niagara Falls";
		s1_location_all_locations_id[28] = "20";
		s1_location_all_locations_name[29] = "Ottawa";
		s1_location_all_locations_id[29] = "22";
		s1_location_all_locations_name[30] = "Panorama Mountain Village";
		s1_location_all_locations_id[30] = "65";
		s1_location_all_locations_name[31] = "Perce";
		s1_location_all_locations_id[31] = "94";
		s1_location_all_locations_name[32] = "Port Hardy";
		s1_location_all_locations_id[32] = "68";
		s1_location_all_locations_name[33] = "Prince George";
		s1_location_all_locations_id[33] = "79";
		s1_location_all_locations_name[34] = "Prince Rupert";
		s1_location_all_locations_id[34] = "75";
		s1_location_all_locations_name[35] = "Quebec City";
		s1_location_all_locations_id[35] = "6";
		s1_location_all_locations_name[36] = "Rimouski";
		s1_location_all_locations_id[36] = "95";
		s1_location_all_locations_name[37] = "Sainte Anne Des Monts";
		s1_location_all_locations_id[37] = "97";
		s1_location_all_locations_name[38] = "Salmon Arm";
		s1_location_all_locations_id[38] = "83";
		s1_location_all_locations_name[39] = "Seebe";
		s1_location_all_locations_id[39] = "85";
		s1_location_all_locations_name[40] = "Smithers";
		s1_location_all_locations_id[40] = "78";
		s1_location_all_locations_name[41] = "St Johns";
		s1_location_all_locations_id[41] = "55";
		s1_location_all_locations_name[42] = "Sun Peaks";
		s1_location_all_locations_id[42] = "63";
		s1_location_all_locations_name[43] = "Tadoussac";
		s1_location_all_locations_id[43] = "92";
		s1_location_all_locations_name[44] = "Tofino";
		s1_location_all_locations_id[44] = "73";
		s1_location_all_locations_name[45] = "Tok";
		s1_location_all_locations_id[45] = "61";
		s1_location_all_locations_name[46] = "Toronto";
		s1_location_all_locations_id[46] = "21";
		s1_location_all_locations_name[47] = "Tremblant";
		s1_location_all_locations_id[47] = "67";
		s1_location_all_locations_name[48] = "Trois Rivieres";
		s1_location_all_locations_id[48] = "96";
		s1_location_all_locations_name[49] = "Ucluelet";
		s1_location_all_locations_id[49] = "74";
		s1_location_all_locations_name[50] = "Vancouver";
		s1_location_all_locations_id[50] = "13";
		s1_location_all_locations_name[51] = "Victoria";
		s1_location_all_locations_id[51] = "31";
		s1_location_all_locations_name[52] = "Whistler";
		s1_location_all_locations_id[52] = "14";
		s1_location_all_locations_name[53] = "Whitehorse";
		s1_location_all_locations_id[53] = "56";

		function makeLocationSelectBoxs1_location(form2)
		{
			form2.s1_location.options.length = 0;

			form2.s1_location.options[0] = new Option;
			form2.s1_location.options[0].value = -1;
			form2.s1_location.options[0].text = "search by location";

			province_index = getProvinceIndexs1_location(form2.s1_province.options[form2.s1_province.selectedIndex].value);


			if (province_index != -1)
			{
				s1_location_p_id = s1_location_location_id[province_index];
				s1_location_p_name = s1_location_location_name[province_index];

				for( i = 0; i < s1_location_p_id.length; i++ )
				{
					form2.s1_location.options[i+1] = new Option;
					form2.s1_location.options[i+1].value = s1_location_p_id[i];
					form2.s1_location.options[i+1].text = s1_location_p_name[i];
				}
			}
			else
			{
				for( i = 0; i < s1_location_all_locations_id.length; i++ )
				{
					form2.s1_location.options[i+1] = new Option;
					form2.s1_location.options[i+1].value = s1_location_all_locations_id[i];
					form2.s1_location.options[i+1].text = s1_location_all_locations_name[i];
				}
			}
		}

		function getProvinceIndexs1_location(id)
		{
			for (i = 0; i < s1_location_province_id.length; i++)
			{
				if (id == s1_location_province_id[i])
				{
					return i;
				}
			}
			return -1;
		}

				var s2_type_province_id = new Array();
		var s2_type_province_name = new Array();
		var s2_type_type_id = new Array();
		var s2_type_type_name = new Array();
		var s2_type_province_type = new Array();
		var s2_type_all_type_name = new Array();
		var s2_type_all_type_id = new Array();
		s2_type_province_id[0] = 10;
		s2_type_province_name[0] = "Alberta";
		s2_type_type_id[0] = new Array();
		s2_type_type_name[0] = new Array();
			s2_type_type_id[0][0] = 15;
			s2_type_type_name[0][0] = "Adventure";
			s2_type_type_id[0][1] = 30;
			s2_type_type_name[0][1] = "Airline Upgrades";
			s2_type_type_id[0][2] = 19;
			s2_type_type_name[0][2] = "Alaska Cruises";
			s2_type_type_id[0][3] = 29;
			s2_type_type_name[0][3] = "Bear Watching Tours";
			s2_type_type_id[0][4] = 37;
			s2_type_type_name[0][4] = "Deluxe Tours";
			s2_type_type_id[0][5] = 16;
			s2_type_type_name[0][5] = "Escorted Tours";
			s2_type_type_id[0][6] = 25;
			s2_type_type_name[0][6] = "Family Holidays";
			s2_type_type_id[0][7] = 9;
			s2_type_type_name[0][7] = "Flexi Multi-Centre Holidays";
			s2_type_type_id[0][8] = 5;
			s2_type_type_name[0][8] = "Fly-Drives - West or Rockies";
			s2_type_type_id[0][9] = 24;
			s2_type_type_name[0][9] = "Rail and Drive";
			s2_type_type_id[0][10] = 10;
			s2_type_type_name[0][10] = "Rail Tours";
			s2_type_type_id[0][11] = 32;
			s2_type_type_name[0][11] = "Rocky Mountaineer";
			s2_type_type_id[0][12] = 18;
			s2_type_type_name[0][12] = "Ski Offers";
			s2_type_type_id[0][13] = 31;
			s2_type_type_name[0][13] = "Tailormade Holidays";
			s2_type_type_id[0][14] = 35;
			s2_type_type_name[0][14] = "Two Country Holidays";
			s2_type_type_id[0][15] = 20;
			s2_type_type_name[0][15] = "Whale-watching Holidays";
			s2_type_type_id[0][16] = 13;
			s2_type_type_name[0][16] = "Wildlife";
			s2_type_type_id[0][17] = 34;
			s2_type_type_name[0][17] = "Winter Holidays";
		s2_type_province_id[1] = 22;
		s2_type_province_name[1] = "British Columbia";
		s2_type_type_id[1] = new Array();
		s2_type_type_name[1] = new Array();
			s2_type_type_id[1][0] = 15;
			s2_type_type_name[1][0] = "Adventure";
			s2_type_type_id[1][1] = 30;
			s2_type_type_name[1][1] = "Airline Upgrades";
			s2_type_type_id[1][2] = 19;
			s2_type_type_name[1][2] = "Alaska Cruises";
			s2_type_type_id[1][3] = 29;
			s2_type_type_name[1][3] = "Bear Watching Tours";
			s2_type_type_id[1][4] = 37;
			s2_type_type_name[1][4] = "Deluxe Tours";
			s2_type_type_id[1][5] = 16;
			s2_type_type_name[1][5] = "Escorted Tours";
			s2_type_type_id[1][6] = 25;
			s2_type_type_name[1][6] = "Family Holidays";
			s2_type_type_id[1][7] = 9;
			s2_type_type_name[1][7] = "Flexi Multi-Centre Holidays";
			s2_type_type_id[1][8] = 5;
			s2_type_type_name[1][8] = "Fly-Drives - West or Rockies";
			s2_type_type_id[1][9] = 24;
			s2_type_type_name[1][9] = "Rail and Drive";
			s2_type_type_id[1][10] = 10;
			s2_type_type_name[1][10] = "Rail Tours";
			s2_type_type_id[1][11] = 36;
			s2_type_type_name[1][11] = "Resorts and Spas";
			s2_type_type_id[1][12] = 32;
			s2_type_type_name[1][12] = "Rocky Mountaineer";
			s2_type_type_id[1][13] = 18;
			s2_type_type_name[1][13] = "Ski Offers";
			s2_type_type_id[1][14] = 31;
			s2_type_type_name[1][14] = "Tailormade Holidays";
			s2_type_type_id[1][15] = 35;
			s2_type_type_name[1][15] = "Two Country Holidays";
			s2_type_type_id[1][16] = 20;
			s2_type_type_name[1][16] = "Whale-watching Holidays";
			s2_type_type_id[1][17] = 13;
			s2_type_type_name[1][17] = "Wildlife";
			s2_type_type_id[1][18] = 34;
			s2_type_type_name[1][18] = "Winter Holidays";
		s2_type_province_id[2] = 29;
		s2_type_province_name[2] = "Manitoba";
		s2_type_type_id[2] = new Array();
		s2_type_type_name[2] = new Array();
			s2_type_type_id[2][0] = 29;
			s2_type_type_name[2][0] = "Bear Watching Tours";
			s2_type_type_id[2][1] = 20;
			s2_type_type_name[2][1] = "Whale-watching Holidays";
			s2_type_type_id[2][2] = 13;
			s2_type_type_name[2][2] = "Wildlife";
		s2_type_province_id[3] = 16;
		s2_type_province_name[3] = "New Brunswick";
		s2_type_type_id[3] = new Array();
		s2_type_type_name[3] = new Array();
		s2_type_province_id[4] = 26;
		s2_type_province_name[4] = "Newfoundland";
		s2_type_type_id[4] = new Array();
		s2_type_type_name[4] = new Array();
			s2_type_type_id[4][0] = 16;
			s2_type_type_name[4][0] = "Escorted Tours";
			s2_type_type_id[4][1] = 38;
			s2_type_type_name[4][1] = "Fly-Drives - Atlantic Canada";
			s2_type_type_id[4][2] = 20;
			s2_type_type_name[4][2] = "Whale-watching Holidays";
		s2_type_province_id[5] = 11;
		s2_type_province_name[5] = "Nova Scotia";
		s2_type_type_id[5] = new Array();
		s2_type_type_name[5] = new Array();
			s2_type_type_id[5][0] = 37;
			s2_type_type_name[5][0] = "Deluxe Tours";
			s2_type_type_id[5][1] = 16;
			s2_type_type_name[5][1] = "Escorted Tours";
			s2_type_type_id[5][2] = 9;
			s2_type_type_name[5][2] = "Flexi Multi-Centre Holidays";
			s2_type_type_id[5][3] = 33;
			s2_type_type_name[5][3] = "Fly Drives-East Coast";
			s2_type_type_id[5][4] = 38;
			s2_type_type_name[5][4] = "Fly-Drives - Atlantic Canada";
			s2_type_type_id[5][5] = 10;
			s2_type_type_name[5][5] = "Rail Tours";
			s2_type_type_id[5][6] = 32;
			s2_type_type_name[5][6] = "Rocky Mountaineer";
			s2_type_type_id[5][7] = 20;
			s2_type_type_name[5][7] = "Whale-watching Holidays";
		s2_type_province_id[6] = 18;
		s2_type_province_name[6] = "Ontario";
		s2_type_type_id[6] = new Array();
		s2_type_type_name[6] = new Array();
			s2_type_type_id[6][0] = 15;
			s2_type_type_name[6][0] = "Adventure";
			s2_type_type_id[6][1] = 30;
			s2_type_type_name[6][1] = "Airline Upgrades";
			s2_type_type_id[6][2] = 19;
			s2_type_type_name[6][2] = "Alaska Cruises";
			s2_type_type_id[6][3] = 29;
			s2_type_type_name[6][3] = "Bear Watching Tours";
			s2_type_type_id[6][4] = 37;
			s2_type_type_name[6][4] = "Deluxe Tours";
			s2_type_type_id[6][5] = 16;
			s2_type_type_name[6][5] = "Escorted Tours";
			s2_type_type_id[6][6] = 25;
			s2_type_type_name[6][6] = "Family Holidays";
			s2_type_type_id[6][7] = 9;
			s2_type_type_name[6][7] = "Flexi Multi-Centre Holidays";
			s2_type_type_id[6][8] = 33;
			s2_type_type_name[6][8] = "Fly Drives-East Coast";
			s2_type_type_id[6][9] = 24;
			s2_type_type_name[6][9] = "Rail and Drive";
			s2_type_type_id[6][10] = 10;
			s2_type_type_name[6][10] = "Rail Tours";
			s2_type_type_id[6][11] = 32;
			s2_type_type_name[6][11] = "Rocky Mountaineer";
			s2_type_type_id[6][12] = 31;
			s2_type_type_name[6][12] = "Tailormade Holidays";
			s2_type_type_id[6][13] = 35;
			s2_type_type_name[6][13] = "Two Country Holidays";
			s2_type_type_id[6][14] = 20;
			s2_type_type_name[6][14] = "Whale-watching Holidays";
			s2_type_type_id[6][15] = 13;
			s2_type_type_name[6][15] = "Wildlife";
			s2_type_type_id[6][16] = 34;
			s2_type_type_name[6][16] = "Winter Holidays";
		s2_type_province_id[7] = 20;
		s2_type_province_name[7] = "Quebec";
		s2_type_type_id[7] = new Array();
		s2_type_type_name[7] = new Array();
			s2_type_type_id[7][0] = 15;
			s2_type_type_name[7][0] = "Adventure";
			s2_type_type_id[7][1] = 30;
			s2_type_type_name[7][1] = "Airline Upgrades";
			s2_type_type_id[7][2] = 19;
			s2_type_type_name[7][2] = "Alaska Cruises";
			s2_type_type_id[7][3] = 29;
			s2_type_type_name[7][3] = "Bear Watching Tours";
			s2_type_type_id[7][4] = 37;
			s2_type_type_name[7][4] = "Deluxe Tours";
			s2_type_type_id[7][5] = 16;
			s2_type_type_name[7][5] = "Escorted Tours";
			s2_type_type_id[7][6] = 25;
			s2_type_type_name[7][6] = "Family Holidays";
			s2_type_type_id[7][7] = 9;
			s2_type_type_name[7][7] = "Flexi Multi-Centre Holidays";
			s2_type_type_id[7][8] = 33;
			s2_type_type_name[7][8] = "Fly Drives-East Coast";
			s2_type_type_id[7][9] = 38;
			s2_type_type_name[7][9] = "Fly-Drives - Atlantic Canada";
			s2_type_type_id[7][10] = 24;
			s2_type_type_name[7][10] = "Rail and Drive";
			s2_type_type_id[7][11] = 10;
			s2_type_type_name[7][11] = "Rail Tours";
			s2_type_type_id[7][12] = 32;
			s2_type_type_name[7][12] = "Rocky Mountaineer";
			s2_type_type_id[7][13] = 18;
			s2_type_type_name[7][13] = "Ski Offers";
			s2_type_type_id[7][14] = 20;
			s2_type_type_name[7][14] = "Whale-watching Holidays";
		s2_type_province_id[8] = 27;
		s2_type_province_name[8] = "Yukon";
		s2_type_type_id[8] = new Array();
		s2_type_type_name[8] = new Array();
			s2_type_type_id[8][0] = 15;
			s2_type_type_name[8][0] = "Adventure";
			s2_type_type_id[8][1] = 16;
			s2_type_type_name[8][1] = "Escorted Tours";
			s2_type_type_id[8][2] = 5;
			s2_type_type_name[8][2] = "Fly-Drives - West or Rockies";
			s2_type_type_id[8][3] = 13;
			s2_type_type_name[8][3] = "Wildlife";
		s2_type_all_type_name[0] = "Adventure";
		s2_type_all_type_id[0] = "15";
		s2_type_all_type_name[1] = "Airline Upgrades";
		s2_type_all_type_id[1] = "30";
		s2_type_all_type_name[2] = "Alaska Cruises";
		s2_type_all_type_id[2] = "19";
		s2_type_all_type_name[3] = "Bear Watching Tours";
		s2_type_all_type_id[3] = "29";
		s2_type_all_type_name[4] = "City Breaks";
		s2_type_all_type_id[4] = "28";
		s2_type_all_type_name[5] = "Deluxe Tours";
		s2_type_all_type_id[5] = "37";
		s2_type_all_type_name[6] = "Escorted Tours";
		s2_type_all_type_id[6] = "16";
		s2_type_all_type_name[7] = "Family Holidays";
		s2_type_all_type_id[7] = "25";
		s2_type_all_type_name[8] = "Flexi Multi-Centre Holidays";
		s2_type_all_type_id[8] = "9";
		s2_type_all_type_name[9] = "Fly Drives-East Coast";
		s2_type_all_type_id[9] = "33";
		s2_type_all_type_name[10] = "Fly-Drives - Atlantic Canada";
		s2_type_all_type_id[10] = "38";
		s2_type_all_type_name[11] = "Fly-Drives - West or Rockies";
		s2_type_all_type_id[11] = "5";
		s2_type_all_type_name[12] = "Motorhome Holidays";
		s2_type_all_type_id[12] = "23";
		s2_type_all_type_name[13] = "Rail and Drive";
		s2_type_all_type_id[13] = "24";
		s2_type_all_type_name[14] = "Rail Tours";
		s2_type_all_type_id[14] = "10";
		s2_type_all_type_name[15] = "Resorts and Spas";
		s2_type_all_type_id[15] = "36";
		s2_type_all_type_name[16] = "Rocky Mountaineer";
		s2_type_all_type_id[16] = "32";
		s2_type_all_type_name[17] = "Ski Offers";
		s2_type_all_type_id[17] = "18";
		s2_type_all_type_name[18] = "Tailormade Holidays";
		s2_type_all_type_id[18] = "31";
		s2_type_all_type_name[19] = "Two Country Holidays";
		s2_type_all_type_id[19] = "35";
		s2_type_all_type_name[20] = "Whale-watching Holidays";
		s2_type_all_type_id[20] = "20";
		s2_type_all_type_name[21] = "Wildlife";
		s2_type_all_type_id[21] = "13";
		s2_type_all_type_name[22] = "Winter Holidays";
		s2_type_all_type_id[22] = "34";

		function makeTypeSelectBoxs2_type(form2)
		{
			form2.s2_type.options.length = 0;

			form2.s2_type.options[0] = new Option;
			form2.s2_type.options[0].value = -1;
			form2.s2_type.options[0].text = "search by type";

			province_index = getProvinceIndexs2_type(form2.s2_province.options[form2.s2_province.selectedIndex].value);

			if (province_index != -1)
			{
				s2_type_p_id = s2_type_type_id[province_index];
				s2_type_p_name = s2_type_type_name[province_index];

				for( i = 0; i < s2_type_p_id.length; i++)
				{
					form2.s2_type.options[i+1] = new Option;
					form2.s2_type.options[i+1].value = s2_type_p_id[i];
					form2.s2_type.options[i+1].text = s2_type_p_name[i];
				}
			}
			else
			{
				for( i = 0; i < s2_type_all_type_id.length; i++)
				{
					form2.s2_type.options[i+1] = new Option;
					form2.s2_type.options[i+1].value = s2_type_all_type_id[i];
					form2.s2_type.options[i+1].text = s2_type_all_type_name[i];
				}
			}
		}

		function getProvinceIndexs2_type(id)
		{
			for (i = 0; i < s2_type_province_id.length; i++)
			{
				if (id == s2_type_province_id[i])
				{
					return i;
				}
			}
			return -1;
		}

				var s3_location_province_id = new Array();
		var s3_location_province_name = new Array();
		var s3_location_location_id = new Array();
		var s3_location_location_name = new Array();
		var s3_location_province_location = new Array();
		var s3_location_all_locations_name = new Array();
		var s3_location_all_locations_id = new Array();
		s3_location_province_id[0] = 10;
		s3_location_province_name[0] = "Alberta";
		s3_location_location_id[0] = new Array();
		s3_location_location_name[0] = new Array();
			s3_location_location_id[0][0] = 15;
			s3_location_location_name[0][0] = "Banff";
			s3_location_location_id[0][1] = 16;
			s3_location_location_name[0][1] = "Calgary";
			s3_location_location_id[0][2] = 77;
			s3_location_location_name[0][2] = "Canmore";
			s3_location_location_id[0][3] = 71;
			s3_location_location_name[0][3] = "Edmonton";
			s3_location_location_id[0][4] = 11;
			s3_location_location_name[0][4] = "Jasper";
			s3_location_location_id[0][5] = 84;
			s3_location_location_name[0][5] = "Kananaskis Village";
			s3_location_location_id[0][6] = 17;
			s3_location_location_name[0][6] = "Lake Louise";
			s3_location_location_id[0][7] = 85;
			s3_location_location_name[0][7] = "Seebe";
		s3_location_province_id[1] = 22;
		s3_location_province_name[1] = "British Columbia";
		s3_location_location_id[1] = new Array();
		s3_location_location_name[1] = new Array();
			s3_location_location_id[1][0] = 87;
			s3_location_location_name[1][0] = "Ashcroft";
			s3_location_location_id[1][1] = 64;
			s3_location_location_name[1][1] = "Big White and Silver Star";
			s3_location_location_id[1][2] = 76;
			s3_location_location_name[1][2] = "Campbell River";
			s3_location_location_id[1][3] = 81;
			s3_location_location_name[1][3] = "Clearwater";
			s3_location_location_id[1][4] = 66;
			s3_location_location_name[1][4] = "Fernie";
			s3_location_location_id[1][5] = 72;
			s3_location_location_name[1][5] = "Field";
			s3_location_location_id[1][6] = 80;
			s3_location_location_name[1][6] = "Gold Bridge";
			s3_location_location_id[1][7] = 36;
			s3_location_location_name[1][7] = "Kamloops";
			s3_location_location_id[1][8] = 70;
			s3_location_location_name[1][8] = "Kelowna";
			s3_location_location_id[1][9] = 82;
			s3_location_location_name[1][9] = "Manning Park";
			s3_location_location_id[1][10] = 65;
			s3_location_location_name[1][10] = "Panorama Mountain Village";
			s3_location_location_id[1][11] = 68;
			s3_location_location_name[1][11] = "Port Hardy";
			s3_location_location_id[1][12] = 79;
			s3_location_location_name[1][12] = "Prince George";
			s3_location_location_id[1][13] = 75;
			s3_location_location_name[1][13] = "Prince Rupert";
			s3_location_location_id[1][14] = 83;
			s3_location_location_name[1][14] = "Salmon Arm";
			s3_location_location_id[1][15] = 78;
			s3_location_location_name[1][15] = "Smithers";
			s3_location_location_id[1][16] = 63;
			s3_location_location_name[1][16] = "Sun Peaks";
			s3_location_location_id[1][17] = 73;
			s3_location_location_name[1][17] = "Tofino";
			s3_location_location_id[1][18] = 74;
			s3_location_location_name[1][18] = "Ucluelet";
			s3_location_location_id[1][19] = 13;
			s3_location_location_name[1][19] = "Vancouver";
			s3_location_location_id[1][20] = 31;
			s3_location_location_name[1][20] = "Victoria";
			s3_location_location_id[1][21] = 14;
			s3_location_location_name[1][21] = "Whistler";
		s3_location_province_id[2] = 29;
		s3_location_province_name[2] = "Manitoba";
		s3_location_location_id[2] = new Array();
		s3_location_location_name[2] = new Array();
			s3_location_location_id[2][0] = 98;
			s3_location_location_name[2][0] = "Churchill";
		s3_location_province_id[3] = 16;
		s3_location_province_name[3] = "New Brunswick";
		s3_location_location_id[3] = new Array();
		s3_location_location_name[3] = new Array();
		s3_location_province_id[4] = 26;
		s3_location_province_name[4] = "Newfoundland";
		s3_location_location_id[4] = new Array();
		s3_location_location_name[4] = new Array();
			s3_location_location_id[4][0] = 55;
			s3_location_location_name[4][0] = "St Johns";
		s3_location_province_id[5] = 11;
		s3_location_province_name[5] = "Nova Scotia";
		s3_location_location_id[5] = new Array();
		s3_location_location_name[5] = new Array();
			s3_location_location_id[5][0] = 26;
			s3_location_location_name[5][0] = "Halifax";
		s3_location_province_id[6] = 18;
		s3_location_province_name[6] = "Ontario";
		s3_location_location_id[6] = new Array();
		s3_location_location_name[6] = new Array();
			s3_location_location_id[6][0] = 89;
			s3_location_location_name[6][0] = "Huntsville/Muskoka";
			s3_location_location_id[6][1] = 91;
			s3_location_location_name[6][1] = "Keene";
			s3_location_location_id[6][2] = 90;
			s3_location_location_name[6][2] = "Kingston";
			s3_location_location_id[6][3] = 20;
			s3_location_location_name[6][3] = "Niagara Falls";
			s3_location_location_id[6][4] = 22;
			s3_location_location_name[6][4] = "Ottawa";
			s3_location_location_id[6][5] = 21;
			s3_location_location_name[6][5] = "Toronto";
		s3_location_province_id[7] = 20;
		s3_location_province_name[7] = "Quebec";
		s3_location_location_id[7] = new Array();
		s3_location_location_name[7] = new Array();
			s3_location_location_id[7][0] = 93;
			s3_location_location_name[7][0] = "Carleton";
			s3_location_location_id[7][1] = 23;
			s3_location_location_name[7][1] = "Montreal";
			s3_location_location_id[7][2] = 94;
			s3_location_location_name[7][2] = "Perce";
			s3_location_location_id[7][3] = 6;
			s3_location_location_name[7][3] = "Quebec City";
			s3_location_location_id[7][4] = 95;
			s3_location_location_name[7][4] = "Rimouski";
			s3_location_location_id[7][5] = 97;
			s3_location_location_name[7][5] = "Sainte Anne Des Monts";
			s3_location_location_id[7][6] = 92;
			s3_location_location_name[7][6] = "Tadoussac";
			s3_location_location_id[7][7] = 67;
			s3_location_location_name[7][7] = "Tremblant";
			s3_location_location_id[7][8] = 96;
			s3_location_location_name[7][8] = "Trois Rivieres";
		s3_location_province_id[8] = 27;
		s3_location_province_name[8] = "Yukon";
		s3_location_location_id[8] = new Array();
		s3_location_location_name[8] = new Array();
			s3_location_location_id[8][0] = 57;
			s3_location_location_name[8][0] = "Dawson City";
			s3_location_location_id[8][1] = 56;
			s3_location_location_name[8][1] = "Whitehorse";
		s3_location_all_locations_name[0] = "Anchorage";
		s3_location_all_locations_id[0] = "60";
		s3_location_all_locations_name[1] = "Ashcroft";
		s3_location_all_locations_id[1] = "87";
		s3_location_all_locations_name[2] = "Banff";
		s3_location_all_locations_id[2] = "15";
		s3_location_all_locations_name[3] = "Big White and Silver Star";
		s3_location_all_locations_id[3] = "64";
		s3_location_all_locations_name[4] = "Calgary";
		s3_location_all_locations_id[4] = "16";
		s3_location_all_locations_name[5] = "Campbell River";
		s3_location_all_locations_id[5] = "76";
		s3_location_all_locations_name[6] = "Canmore";
		s3_location_all_locations_id[6] = "77";
		s3_location_all_locations_name[7] = "Carleton";
		s3_location_all_locations_id[7] = "93";
		s3_location_all_locations_name[8] = "Churchill";
		s3_location_all_locations_id[8] = "98";
		s3_location_all_locations_name[9] = "Clearwater";
		s3_location_all_locations_id[9] = "81";
		s3_location_all_locations_name[10] = "Dawson City";
		s3_location_all_locations_id[10] = "57";
		s3_location_all_locations_name[11] = "Denali National Park";
		s3_location_all_locations_id[11] = "59";
		s3_location_all_locations_name[12] = "Edmonton";
		s3_location_all_locations_id[12] = "71";
		s3_location_all_locations_name[13] = "Fairbanks";
		s3_location_all_locations_id[13] = "58";
		s3_location_all_locations_name[14] = "Fernie";
		s3_location_all_locations_id[14] = "66";
		s3_location_all_locations_name[15] = "Field";
		s3_location_all_locations_id[15] = "72";
		s3_location_all_locations_name[16] = "Gold Bridge";
		s3_location_all_locations_id[16] = "80";
		s3_location_all_locations_name[17] = "Halifax";
		s3_location_all_locations_id[17] = "26";
		s3_location_all_locations_name[18] = "Huntsville/Muskoka";
		s3_location_all_locations_id[18] = "89";
		s3_location_all_locations_name[19] = "Jasper";
		s3_location_all_locations_id[19] = "11";
		s3_location_all_locations_name[20] = "Kamloops";
		s3_location_all_locations_id[20] = "36";
		s3_location_all_locations_name[21] = "Kananaskis Village";
		s3_location_all_locations_id[21] = "84";
		s3_location_all_locations_name[22] = "Keene";
		s3_location_all_locations_id[22] = "91";
		s3_location_all_locations_name[23] = "Kelowna";
		s3_location_all_locations_id[23] = "70";
		s3_location_all_locations_name[24] = "Kingston";
		s3_location_all_locations_id[24] = "90";
		s3_location_all_locations_name[25] = "Lake Louise";
		s3_location_all_locations_id[25] = "17";
		s3_location_all_locations_name[26] = "Manning Park";
		s3_location_all_locations_id[26] = "82";
		s3_location_all_locations_name[27] = "Montreal";
		s3_location_all_locations_id[27] = "23";
		s3_location_all_locations_name[28] = "Niagara Falls";
		s3_location_all_locations_id[28] = "20";
		s3_location_all_locations_name[29] = "Ottawa";
		s3_location_all_locations_id[29] = "22";
		s3_location_all_locations_name[30] = "Panorama Mountain Village";
		s3_location_all_locations_id[30] = "65";
		s3_location_all_locations_name[31] = "Perce";
		s3_location_all_locations_id[31] = "94";
		s3_location_all_locations_name[32] = "Port Hardy";
		s3_location_all_locations_id[32] = "68";
		s3_location_all_locations_name[33] = "Prince George";
		s3_location_all_locations_id[33] = "79";
		s3_location_all_locations_name[34] = "Prince Rupert";
		s3_location_all_locations_id[34] = "75";
		s3_location_all_locations_name[35] = "Quebec City";
		s3_location_all_locations_id[35] = "6";
		s3_location_all_locations_name[36] = "Rimouski";
		s3_location_all_locations_id[36] = "95";
		s3_location_all_locations_name[37] = "Sainte Anne Des Monts";
		s3_location_all_locations_id[37] = "97";
		s3_location_all_locations_name[38] = "Salmon Arm";
		s3_location_all_locations_id[38] = "83";
		s3_location_all_locations_name[39] = "Seebe";
		s3_location_all_locations_id[39] = "85";
		s3_location_all_locations_name[40] = "Smithers";
		s3_location_all_locations_id[40] = "78";
		s3_location_all_locations_name[41] = "St Johns";
		s3_location_all_locations_id[41] = "55";
		s3_location_all_locations_name[42] = "Sun Peaks";
		s3_location_all_locations_id[42] = "63";
		s3_location_all_locations_name[43] = "Tadoussac";
		s3_location_all_locations_id[43] = "92";
		s3_location_all_locations_name[44] = "Tofino";
		s3_location_all_locations_id[44] = "73";
		s3_location_all_locations_name[45] = "Tok";
		s3_location_all_locations_id[45] = "61";
		s3_location_all_locations_name[46] = "Toronto";
		s3_location_all_locations_id[46] = "21";
		s3_location_all_locations_name[47] = "Tremblant";
		s3_location_all_locations_id[47] = "67";
		s3_location_all_locations_name[48] = "Trois Rivieres";
		s3_location_all_locations_id[48] = "96";
		s3_location_all_locations_name[49] = "Ucluelet";
		s3_location_all_locations_id[49] = "74";
		s3_location_all_locations_name[50] = "Vancouver";
		s3_location_all_locations_id[50] = "13";
		s3_location_all_locations_name[51] = "Victoria";
		s3_location_all_locations_id[51] = "31";
		s3_location_all_locations_name[52] = "Whistler";
		s3_location_all_locations_id[52] = "14";
		s3_location_all_locations_name[53] = "Whitehorse";
		s3_location_all_locations_id[53] = "56";

		function makeLocationSelectBoxs3_location(form2)
		{
			form2.s3_location.options.length = 0;

			form2.s3_location.options[0] = new Option;
			form2.s3_location.options[0].value = -1;
			form2.s3_location.options[0].text = "guide by location";

			province_index = getProvinceIndexs3_location(form2.s3_province.options[form2.s3_province.selectedIndex].value);


			if (province_index != -1)
			{
				s3_location_p_id = s3_location_location_id[province_index];
				s3_location_p_name = s3_location_location_name[province_index];

				for( i = 0; i < s3_location_p_id.length; i++ )
				{
					form2.s3_location.options[i+1] = new Option;
					form2.s3_location.options[i+1].value = s3_location_p_id[i];
					form2.s3_location.options[i+1].text = s3_location_p_name[i];
				}
			}
			else
			{
				for( i = 0; i < s3_location_all_locations_id.length; i++ )
				{
					form2.s3_location.options[i+1] = new Option;
					form2.s3_location.options[i+1].value = s3_location_all_locations_id[i];
					form2.s3_location.options[i+1].text = s3_location_all_locations_name[i];
				}
			}
		}

		function getProvinceIndexs3_location(id)
		{
			for (i = 0; i < s3_location_province_id.length; i++)
			{
				if (id == s3_location_province_id[i])
				{
					return i;
				}
			}
			return -1;
		}

		

		function search1(form2)
		{
			val = form2.s1_province.options[form2.s1_province.options.selectedIndex].value;

			if (val == -1)
			{
				form2.s1_province.options[form2.s1_province.options.selectedIndex].value = -2
			}
			form2.submit();
		}
		function search2(form2)
		{
			val = form2.s2_province.options[form2.s2_province.options.selectedIndex].value;

			if (val == -1)
			{
				form2.s2_province.options[form2.s2_province.options.selectedIndex].value = -2
			}

			type_val = form2.s2_type.options[form2.s2_type.options.selectedIndex].value;
			var ext_link_id = new Array();
			var ext_link_value = new Array();
			//added 29-09-2004 by DT
								var x = 0;
					ext_link_id[x] = '23';
					ext_link_value[x] = 'www.canadream.com/webBook/CdWebP.dll/AgentSite?Id=879';
				
			if (!checkIfExists(ext_link_id,type_val))
			{
				form2.submit();
				//alert(type_val);
			}
			else
			{
				var x = checkIndex(ext_link_id,type_val);
				window.open('http://'+ext_link_value[x],'jhjg','');
			}
		}

		function search3(form2)
		{
		val = form2.s3_province.options[form2.s3_province.options.selectedIndex].value;

		loc = form2.s3_location.options[form2.s3_location.options.selectedIndex].value;
			if (val != -1)
			{
				form2.id.value = val;
				form2.action = "guidetoprovince.php";

				if (loc != -1)
				{
					form2.id.value = loc;
					form2.action = "guidetolocation.php";
				}

				form2.submit();
			}

			if (loc != -1)
			{
				form2.id.value = loc;
				form2.action = "guidetolocation.php";
				form2.submit();
			}

			if (val == -1 && loc == -1)
			{
				alert("Please select a Province or a Location");
				form2.s3_province.focus();
			}
		}
		

		
var speed = 1;
var fast = 1;
var doit=1;
var doit1=1;
var doit2=1;
var height = 200;
var newTop=0;

var height1 = 200;
var newTop1=0;


function init() {
//document.write('2');
var obj = document.getElementById('myContent');
var top = parseInt(obj.style.top);
		
    //if(doit){
    if(0){
    	newTop = top-(1) ;
			if(newTop < -600)
				newTop=0;
			obj.style.top = newTop + "px";
  }
			
var obj1 = document.getElementById('myContent1');
var top1 = parseInt(obj1.style.top);
		
      if(doit1){
    	newTop1 = top1-(1) ;
			if(newTop1 < -600)
				newTop1=0;
			obj1.style.top = newTop1 + "px";
    }

var obj2 = document.getElementById('myContent2');
var top2 = parseInt(obj2.style.top);
		  if(doit2){
    	newTop2 = top2-(1) ;
			if(newTop2 < -350)
				newTop2=0;
			obj2.style.top = newTop2 + "px";
      }

			
setTimeout('init()', 100);
}
function timeout()
{
setTimeout('init()', 100);
}

