 function displayPhone(selectBox) {
   var text = whichNumber(selectBox)
   var id = "phoneDiv"
   document.getElementById("phoneDiv").innerHTML = text
}
 
 function whichNumber(sb) {
   var op = sb[sb.selectedIndex].value
 
   if (op == 1) {
	return "<div class='b'>Toll Free:</div>1-800-263-7419<div class='b'>Email:</div><a href='../contact/email.html'>Click Here</a>"
   } else if (op == 2) {
	return "<div class='b'>Phone:</div>(519) 756-9422<br><div class='b'>Toll Free:</div>1-866-893-1110<div class='b'>Email:</div><a href='../contact/email.html'>Click Here</a>"
   } else if (op == 3) {
	return "<div class='b'>Phone:</div>(705) 444-2788<br><div class='b'>Toll Free:</div>1-888-285-1272<div class='b'>Email:</div><a href='../contact/email.html'>Click Here</a>"
   } else if (op == 4) {
	return "<div class='b'>Phone:</div>(705) 743-6850<br><div class='b'>Toll Free:</div>1-866-818-8366<div class='b'>Email:</div><a href='../contact/email.html'>Click Here</a>"
 } else if (op == 5) {
	return "<div class='b'>Phone:</div>(905) 687-1771<br><div class='b'>Toll Free:</div>1-800-668-2598<div class='b'>Email:</div><a href='../contact/email.html'>Click Here</a>"
   } else if (op == 6) {
	return "<div class='b'>Phone:</div>(905) 853-3303<br><div class='b'>Toll Free:</div>1-800-263-7419<div class='b'>Email:</div><a href='../contact/email.html'>Click Here</a>"
   } else if (op == 7) {
	return "<div class='b'>Phone:</div>(519) 974-5887<br><div class='b'>Toll Free:</div>1-800-545-5406<div class='b'>Email:</div><a href='../contact/email.html'>Click Here</a>"
   }  else if (op == 8) {
	return "<div class='b'>Toll Free:</div>1-800-545-5406<div class='b'>Email:</div><a href='../contact/email.html'>Click Here</a>"
   } 
 
 }
 
  function displayContact(sector, selectBox) {
   var text = whichContact(sector, selectBox)
   document.getElementById("contactDiv").innerHTML = text
}

function whichContact(sector, sb) {
   var op = sb[sb.selectedIndex].value
 
 if (sector == 1) {
 
 //sector 1 = waste management
   if (op == 1) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Waste Management contact is: <b>Steve Taziar</b>"
   } else if (op == 2) {
	return "Selected branch phone number is: <b>(905) 687-1771</b><br>Your Waste Management contact is: <b>Dan Mohr</b>"
   } else if (op == 3) {
	return "Selected branch phone number is: <b>(705) 444-2788</b><br>Your Waste Management contact is: <b>Andy Hims</b>"
   } else if (op == 4) {
	return "Selected branch phone number is: <b>(705) 743-6850</b><br>Your Waste Management contact is: <b>Steve Ash</b>"
 } else if (op == 5) {
	return "Selected branch phone number is: <b>(905) 687-1771</b><br>Your Waste Management contact is: <b>Dan Mohr</b>"
   } else if (op == 6) {
	return "Selected branch phone number is: <b>(905) 853-3303</b><br>Your Waste Management contact is: <b>Steve Taziar</b>"
   } else if (op == 7) {
	return "Selected branch phone number is: <b>(519) 974-5887</b><br>Your Waste Management contact is: <b>Brent Langille</b>"
   }  else if (op == 8) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Waste Management contact is: <b>Brent Langille</b>"
   } 
 
 } else if (sector == 2) {
  //sector 1 = water resources
   if (op == 1) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Water Resources contact is: <b>Gary Hendy</b>"
   } else if (op == 2) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Water Resources contact is: <b>Gary Hendy</b>"
   } else if (op == 3) {
	return "Selected branch phone number is: <b>(705) 444-2788</b><br>Your Water Resources contact is: <b>Andy Hims</b>"
   } else if (op == 4) {
	return "Selected branch phone number is: <b>(705) 743-6850</b><br>Your Water Resources contact is: <b>Steve Ash</b>"
 } else if (op == 5) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Water Resources contact is: <b>Gary Hendy</b>"
   } else if (op == 6) {
	return "Selected branch phone number is: <b>(905) 853-3303</b><br>Your Water Resources contact is: <b>Gary Hendy</b>"
   } else if (op == 7) {
	return "Selected branch phone number is: <b>(519) 974-5887</b><br>Your Water Resources contact is: <b>Brent Langille</b>"
   }  else if (op == 8) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Water Resources contact is: <b>Brent Langille</b>"
   } 
    
 } else if (sector == 3) {
 //minerals
 if (op == 1) {
	return "Selected branch phone number is: <b>1-800-668-2598</b><br>Your Aggregate Resources contact is: <b>Kevin Fitzpatrick</b>"
   } else if (op == 2) {
	return "Selected branch phone number is: <b>1-800-668-2598</b><br>Your Aggregate Resources contact is: <b>Kevin Fitzpatrick</b>"
   } else if (op == 3) {
	return "Selected branch phone number is: <b>(705) 444-2788</b><br>Your Aggregate Resources contact is: <b>Andy Hims</b>"
   } else if (op == 4) {
	return "Selected branch phone number is: <b>(705) 743-6850</b><br>Your Aggregate Resources contact is: <b>Steve Ash</b>"
 } else if (op == 5) {
	return "Selected branch phone number is: <b>(905) 687-1771</b><br>Your Aggregate Resources contact is: <b>Kevin Fitzpatrick</b>"
   } else if (op == 6) {
	return "Selected branch phone number is: <b>(905) 853-3303</b><br>Your Aggregate Resources contact is: <b>Jason Balsdon</b>"
   } else if (op == 7) {
	return "Selected branch phone number is: <b>(519) 974-5887</b><br>Your Aggregate Resources contact is: <b>Brent Langille</b>"
   }  else if (op == 8) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Aggregate Resources contact is: <b>Brent Langille</b>"
   } 
   
 } else if (sector == 4) {
 //sewage
 if (op == 1) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Rual Servicing contact is: <b>Michael Varty</b>"
   } else if (op == 2) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Rual Servicing contact is: <b>Michael Varty</b>"
   } else if (op == 3) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Rual Servicing contact is: <b>Michael Varty</b>"
   } else if (op == 4) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Rual Servicing contact is: <b>Michael Varty</b>"
 } else if (op == 5) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Rual Servicing contact is: <b>Michael Varty</b>"
   } else if (op == 6) {
	return "Selected branch phone number is: <b>(905) 853-3303</b><br>Your Rual Servicing contact is: <b>Michael Varty</b>"
   } else if (op == 7) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Rual Servicing contact is: <b>Michael Varty</b>"
   }  else if (op == 8) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Rual Servicing contact is: <b>Michael Varty</b>"
   } 
   
 } else if (sector ==5) {
 //geotech
 if (op == 1) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Geotechnical contact is: <b>Nick LaPosta</b>"
   } else if (op == 2) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Geotechnical contact is: <b>Nick LaPosta</b>"
   } else if (op == 3) {
	return "Selected branch phone number is: <b>(705) 444-2788</b><br>Your Geotechnical contact is: <b>Andy Hims</b>"
   } else if (op == 4) {
	return "Selected branch phone number is: <b>(705) 743-6850</b><br>Your Geotechnical contact is: <b>Stuart Baird</b>"
 } else if (op == 5) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Geotechnical contact is: <b>Nick LaPosta</b>"
   } else if (op == 6) {
	return "Selected branch phone number is: <b>(905) 853-3303</b><br>Your Geotechnical contact is: <b>Nick LaPosta</b>"
   } else if (op == 7) {
	return "Selected branch phone number is: <b>(519) 974-5887</b><br>Your Geotechnical contact is: <b>Brent Langille</b>"
   }  else if (op == 8) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Geotechnical contact is: <b>Brent Langille</b>"
   } 
   
 } else if (sector == 6) {
//ESA
 if (op == 1) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your ESA contact is: <b>Melanie Logan</b>"
   } else if (op == 2) {
	return "Selected branch phone number is: <b>(519) 756-9422</b><br>Your ESA contact is: <b>Susan Pelton-Klunder</b>"
   } else if (op == 3) {
	return "Selected branch phone number is: <b>(705) 444-2788</b><br>Your ESA contact is: <b>Chad Rye</b>"
   } else if (op == 4) {
	return "Selected branch phone number is: <b>(705) 743-6850</b><br>Your ESA contact is: <b>Lisa Gardiner</b>"
 } else if (op == 5) {
	return "Selected branch phone number is: <b>(905) 687-1771</b><br>Your ESA contact is: <b>Karen Bailey</b>"
   } else if (op == 6) {
	return "Selected branch phone number is: <b>(905) 853-3303</b><br>Your ESA contact is: <b>Melanie Logan</b>"
   } else if (op == 7) {
	return "Selected branch phone number is: <b>(519) 974-5887</b><br>Your ESA contact is: <b>Philippe Janisse</b>"
   }  else if (op == 8) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your ESA contact is: <b>Philippe Janisse</b>"
   } 
   
 } else if (sector == 7) {
 //geomatics
 if (op == 1) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Geomatics contact is: <b>Tanya Peterson</b>"
   } else if (op == 2) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your  Geomatics contact is: <b>Tanya Peterson</b>"
   } else if (op == 3) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your  Geomatics contact is: <b>Tanya Peterson</b>"
   } else if (op == 4) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your  Geomatics contact is: <b>Tanya Peterson</b>"
 } else if (op == 5) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your  Geomatics contact is: <b>Tanya Peterson</b>"
   } else if (op == 6) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your  Geomatics contact is: <b>Tanya Peterson</b>"
   } else if (op == 7) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your  Geomatics contact is: <b>Tanya Peterson</b>"
   }  else if (op == 8) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your  Geomatics contact is: <b>Tanya Peterson</b>"
   } 
   
 } else if (sector == 8) {
  //biosolids
 if (op == 1) {
	return "Selected branch phone number is: <b>1-800-263-7419</b><br>Your Biosolids contact is: <b>Jason Balsdon</b>"
   } else if (op == 2) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Biosolids contact is: <b>Brent Langille</b>"
   } else if (op == 3) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Biosolids contact is: <b>Brent Langille</b>"
   } else if (op == 4) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Biosolids contact is: <b>Brent Langille</b>"
 } else if (op == 5) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Biosolids contact is: <b>Brent Langille</b>"
   } else if (op == 6) {
	return "Selected branch phone number is: <b>(905) 853-3303</b><br>Your Biosolids contact is: <b>Jason Balsdon</b>"
   } else if (op == 7) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Biosolids contact is: <b>Brent Langille</b>"
   }  else if (op == 8) {
	return "Selected branch phone number is: <b>1-800-545-5406</b><br>Your Biosolids contact is: <b>Brent Langille</b>"
   } 
   
 } else if (sector == 9) {
 
if (op == 1) {
	return "Selected branch phone number is: <b>1-800-668-2598</b><br>Your Biological Services contact is: <b>Kenneth Jobity</b>"
   } else if (op == 2) {
	return "Selected branch phone number is: <b>1-800-668-2598</b><br>Your Biological Services contact is: <b>Kenneth Jobity</b>"
   } else if (op == 3) {
	return "Selected branch phone number is: <b>1-800-668-2598</b><br>Your Biological Services contact is: <b>Kenneth Jobity</b>"
   } else if (op == 4) {
	return "Selected branch phone number is: <b>1-800-668-2598</b><br>Your Biological Services contact is: <b>Kenneth Jobity</b>"
 } else if (op == 5) {
	return "Selected branch phone number is: <b>(905) 687-1771</b><br>Your Biological Services contact is: <b>Kenneth Jobity</b>"
   } else if (op == 6) {
	return "Selected branch phone number is: <b>905-853-3303</b><br>Your Biological Services contact is: <b>Dan Reeves</b>"
   } else if (op == 7) {
	return "Selected branch phone number is: <b>1-800-668-2598</b><br>Your Biological Services contact is: <b>Kenneth Jobity</b>"
   }  else if (op == 8) {
	return "Selected branch phone number is: <b>1-800-668-2598</b><br>Your Biological Services contact is: <b>Kenneth Jobity</b>"
   } 
   
 }
 }

 