//travelspecialistgroup database start

var tsg = new Array();

tsg[100] = ["demo1","info@tone2tone.com","http://travel.tone2tone.com/uk1/submit_form.htm"];
tsg[103] = ["demo3","info@tone2tone.com","http://travel.tone2tone.com/uk1/submit_form.htm"];
tsg[104] = ["company6","info@tone2tone.com",""];
tsg[106] = ["demo6","info@tone2tone.com","http://travel.tone2tone.com/uk1/submit_form.htm"];
tsg[110] = ["canadatravelcentre","info@tone2tone.com",""];
tsg[111] = ["ey","info@tone2tone.com",""];
tsg[112] = ["halliwell","info@tone2tone.com",""];
tsg[113] = ["hallmark","info@tone2tone.com",""];
tsg[114] = ["mannlink","info@tone2tone.com",""];
tsg[115] = ["poletravel","info@tone2tone.com",""];
tsg[116] = ["spatravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[117] = ["travelopt","info@tone2tone.com","http://www.tone2tone.com"];
tsg[118] = ["langley","info@tone2tone.com",""];
tsg[119] = ["oakwood","info@tone2tone.com",""];
tsg[120] = ["traveltime","info@tone2tone.com",""];
tsg[121] = ["invicta","info@tone2tone.com","http://www.tone2tone.com"];
tsg[122] = ["worldmarket","info@tone2tone.com",""];
tsg[123] = ["bpc","info@tone2tone.com",""];
tsg[124] = ["wtc","info@tone2tone.com",""];
tsg[125] = ["norseman","info@tone2tone.com",""];
tsg[126] = ["atmtravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[127] = ["brunlea","info@tone2tone.com",""];
tsg[128] = ["cafedevoyage","iinfo@tone2tone.com",""];
tsg[129] = ["doublestravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[130] = ["letsgotravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[131] = ["gowestravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[132] = ["staffclub","info@tone2tone.com",""];
tsg[133] = ["magicbreaks","info@tone2tone.com","http://www.tone2tone.com"];
tsg[134] = ["globaltravel","info@tone2tone.com",""];
tsg[135] = ["hanksharpetravel","info@tone2tone.com",""];
tsg[136] = ["purserstravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[137] = ["donaldmackenzie","info@tone2tone.com","http://www.tone2tone.com"];
tsg[138] = ["flightpathtravel","info@tone2tone.com",""];
tsg[139] = ["davidbrowntravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[140] = ["standrewstravel","info@tone2tone.com",""];
tsg[141] = ["independenttraveller","info@tone2tone.com","http://www.tone2tone.com"];
tsg[142] = ["longdentravel","info@tone2tone.com",""];
tsg[143] = ["oversandstravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[144] = ["canadaairholidays","info@tone2tone.com",""];
tsg[145] = ["carefreetravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[146] = ["ramsayworldtravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[147] = ["triangletravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[148] = ["gatestravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[149] = ["travelbureau","info@tone2tone.com","http://www.tone2tone.com"];
tsg[150] = ["saacc","info@tone2tone.com",""];
tsg[151] = ["delmartravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[152] = ["travelon","info@tone2tone.com",""];
tsg[153] = ["fulwoodtravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[154] = ["travellersworld","info@tone2tone.com","http://www.tone2tone.com"];
tsg[155] = ["locationstravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[156] = ["eildontravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[157] = ["choiceholidays","info@tone2tone.com","http://www.tone2tone.com"];
tsg[158] = ["yateleytravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[159] = ["cltvl","info@tone2tone.com","http://www.tone2tone.com"];
tsg[160] = ["esquire","info@tone2tone.com",""];
tsg[161] = ["morgantravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[162] = ["applebytravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[163] = ["britalytravel","info@tone2tone.com",""];
tsg[164] = ["advantagetravelcentres","","http://www.tone2tone.com"];
tsg[165] = ["cresttravel","info@tone2tone.com","http://www.tone2tone.com"];
tsg[166] = ["ronmorgantravel","info@tone2tone.com",""];
tsg[206] = ["global6","info@tone2tone.com","http://travel.tone2tone.com/uk1/submit_form.htm"];

//123test.com Agents
tsg[310] = ["demo","info@tone2tone.com","http://travel.tone2tone.com/uk2/submit_form.htm"];
tsg[311] = ["traveloptions","info@tone2tone.com","http://www.tone2tone.com"];
tsg[312] = ["sandytravel","info@tone2tone.com",""];
tsg[313] = ["robertcartertravel","info@tone2tone.com",""];
tsg[314] = ["easitravel","info@tone2tone.com",""];
tsg[315] = ["tftravel","info@tone2tone.com",""];
tsg[316] = ["purserstravel","info@tone2tone.com",""];
tsg[317] = ["didsburytravel","info@tone2tone.com",""];
tsg[318] = ["devatravel","info@tone2tone.com",""];
tsg[319] = ["classictravel","info@tone2tone.com",""];
tsg[320] = ["billmccarthy","info@tone2tone.com",""];
tsg[321] = ["btvl","info@tone2tone.com",""];
tsg[322] = ["correctchoice","info@tone2tone.com",""];
tsg[323] = ["macrae","info@tone2tone.com",""];
tsg[324] = ["homeandaway","info@tone2tone.com",""];
tsg[325] = ["johnowentravel","info@tone2tone.com",""];
tsg[326] = ["milnthorpetravel","info@tone2tone.com",""];
tsg[327] = ["cambournetravel","info@tone2tone.com",""];
tsg[328] = ["newbrooktravel","info@tone2tone.com",""];
tsg[329] = ["travelunlimited","info@tone2tone.com",""];
tsg[330] = ["altrinchamtravel","info@tone2tone.com",""];
tsg[331] = ["lingfieldtravel","info@tone2tone.com",""];
tsg[332] = ["orchidtravel","info@tone2tone.com",""];
tsg[333] = ["ttce","info@tone2tone.com",""];
tsg[334] = ["bctravel","info@tone2tone.com",""];
tsg[335] = ["traveltrail","info@tone2tone.com",""];
tsg[336] = ["kinnaird","info@tone2tone.com",""];
tsg[337] = ["ivanjepsontravel","info@tone2tone.com",""];
tsg[338] = ["alaskacruiseservice","info@tone2tone.com",""];
tsg[339] = ["carltontravel","info@tone2tone.com",""];
tsg[340] = ["norseman","info@tone2tone.com",""];
tsg[341] = ["adamstravel","info@tone2tone.com",""];
tsg[342] = ["orbitastravel","info@tone2tone.com",""];
tsg[343] = ["bluebird","info@tone2tone.com",""];

// end of tsg index; assignments further down

var flight = "flight_international.htm";
var offers = "offers_1st.htm";
var publications = "publications_1st.htm";
var conditions = "conditions_1st.htm";
var insurance = "insurance_1st.htm";
var profile = "profile_1st.htm";
var contact = "contact_1st.htm";
var chat = "chat_1st.htm";
var destination = "destination_1st.htm";
var index = "../index.htm";
var defcss = "../layout.css";

if (company == 1)
  {flight = "flight_domestic.htm";
   publications = "publications_key2.htm";
   conditions = "conditions_key2.htm";
   insurance = "insurance_key2.htm";
   profile = "profile_key2.htm";
   contact = "contact_key2.htm";
   destination = "destination.htm";
   index = "http://travel.tone2tone.com/key2leisure/index.htm";
   defcss = "../../key2leisure/layout.css";
  }

if (company == 2)
  {index = "../../1st/index.htm";
   defcss = "../../1st/layout.css";
  }

if (company == 3)
  {index = "http://travel.tone2tone.com/flycanada/index.htm";
   defcss = "../../flycanada/layout.css";
  }

if (company == 10)
  {flight = "flight_aca.htm";
   publications = "publications_key2.htm";
   conditions = "conditions_aca.htm";
   insurance = "insurance_key2.htm";
   profile = "profile_aca.htm";
   contact = "contact_aca.htm";
   destination = "destination.htm";
   index = "../../aca/index.htm";
   defcss = "../../aca/layout.css";
  }

if (company == 11)
  {flight = "flight_virginblue.htm";
   publications = "publications_key2.htm";
   conditions = "conditions_virginblue.htm";
   insurance = "insurance_key2.htm";
   profile = "profile_aca.htm";
   contact = "contact_aca.htm";
   destination = "destination.htm";
   index = "../../virginblueleisure/index.htm";
   defcss = "../../virginblueleisure/layout.css";
  }

if (company == 12)
  {flight = "flight_virgincool.htm";
   publications = "publications_key2.htm";
   conditions = "conditions_virgincool.htm";
   insurance = "insurance_key2.htm";
   profile = "profile_aca.htm";
   contact = "contact_aca.htm";
   destination = "destination.htm";
   index = "../../virgincool/index.htm";
   defcss = "../../virgincool/layout.css";
  }

if (company == 13)
  {flight = "flight_westjet.htm";
   publications = "publications_key2.htm";
   conditions = "conditions_westjet.htm";
   insurance = "insurance_key2.htm";
   profile = "profile_aca.htm";
   contact = "contact_aca.htm";
   destination = "destination.htm";
   index = "../../westjetleisure/index.htm";
   defcss = "../../westjetleisure/layout.css";
  }

if (company == 14)
  {flight = "flight_rootsair.htm";
   publications = "publications_key2.htm";
   conditions = "conditions_rootsairleisure.htm";
   insurance = "insurance_key2.htm";
   profile = "profile_rootsairleisure.htm";
   contact = "contact_rootsairleisure.htm";
   destination = "destination.htm";
   index = "../../rootsairleisure/index.htm";
   defcss = "../../rootsairleisure/layout.css";
  }

if (company == 15)
  {flight = "flight_impulse.htm";
   publications = "publications_key2.htm";
   conditions = "conditions_impulseleisure.htm";
   insurance = "insurance_key2.htm";
   profile = "profile_impulseleisure.htm";
   contact = "contact_impulseleisure.htm";
   destination = "destination.htm";
   index = "../../impulseleisure/index.htm";
   defcss = "../../impulseleisure/layout.css";
  }

if (company == 16)
  {flight = "flight_domestic.htm";
   insurance = "insurance_key2.htm";
   profile = "profile_aca.htm";
   contact = "contact_aca.htm";
   index = "http://travel.tone2tone.com/brewster/index.htm";
   defcss = "../../brewster/layout.css";
  }

if (company >= 100 && company <=199)
  {conditions = "conditions_tsg.htm";
   insurance = "insurance_tsg.htm";
   profile = "profile_tsg.htm";
   contact = "contact_tsg.htm";
   chat = "chat_tsg.htm";
   defcss = "../../uk1/layout.css";
   index = tsg[company][2];
   webmail = tsg[company][1];
   tsgpath = tsg[company][0];
   if (tsg[company][2] == "")
      {index = "http://travel.tone2tone.com/uk1/" + tsg[company][0];}
  }

if (company >= 200 && company <=299)
  {conditions = "conditions_tsg.htm";
   flight = "flight_domestic.htm";
   publications = "publications_key2.htm";
   insurance = "insurance_key2.htm";
   profile = "profile_aca.htm";
   contact = "contact_tsg.htm";
   chat = "chat_1st.htm";
   defcss = "../../uk1/layout.css";
   index = tsg[company][2];
   webmail = tsg[company][1];
   tsgpath = tsg[company][0];
   if (tsg[company][2] == "")
      {index = "http://travel.tone2tone.com/uk1/" + tsg[company][0];}
  }

if (company >= 300)
  {conditions = "conditions_tsg.htm";
   insurance = "insurance_tsg.htm";
   profile = "profile_tsg.htm";
   contact = "contact_tsg.htm";
   chat = "chat_tsg.htm";
   defcss = "../../uk2/layout.css";
   index = tsg[company][2];
   webmail = tsg[company][1];
   tsgpath = tsg[company][0];
   if (tsg[company][2] == "")
      {index = "http://travel.tone2tone.com/uk2/" + tsg[company][0] + "/index.htm";}

  }