/*************************************************************************
  This code is from Dynamic Web Coding at http://www.dyn-web.com/
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  Permission granted to use this code 
  as long as this entire notice is included.
*************************************************************************/

function changeContent1(id,shtml) {
   if (document.getElementById || document.all) {
      var el = document.getElementById? document.getElementById(id): document.all[id];
      if (el && typeof el.innerHTML != "undefined") el.innerHTML = shtml;
   }
   document.mid.src="images/features/feature_01.jpg"
   document.mid.alt="Speedy nanopumps: photo of Bruce Hinds"
   document.feature01.src="images/features/feature01_thmb_roll.jpg"
}

function changeContent2(id,shtml) {
   if (document.getElementById || document.all) {
      var el = document.getElementById? document.getElementById(id): document.all[id];
      if (el && typeof el.innerHTML != "undefined") el.innerHTML = shtml;
   }
   document.mid.src="images/features/feature_02.jpg"
   document.mid.alt="HBEER dedication: photo of ribbon cutting in Monticello KY"
   document.feature02.src="images/features/feature02_thmb_roll.jpg"
}

function changeContent3(id,shtml) {
   if (document.getElementById || document.all) {
      var el = document.getElementById? document.getElementById(id): document.all[id];
      if (el && typeof el.innerHTML != "undefined") el.innerHTML = shtml;
   }
   document.mid.src="images/features/feature_03.jpg"
   document.mid.alt="Kentucky geomap: photo of mobile map app"
   document.feature03.src="images/features/feature03_thmb_roll.jpg"
}

function changeContent4(id,shtml) {
   if (document.getElementById || document.all) {
      var el = document.getElementById? document.getElementById(id): document.all[id];
      if (el && typeof el.innerHTML != "undefined") el.innerHTML = shtml;
   }
   document.mid.src="images/features/feature_04.jpg"
   document.mid.alt="Future fuels: diagram of gasification process"
   document.feature04.src="images/features/feature04_thmb_roll.jpg"
}

function changeContent5(id,shtml) {
   if (document.getElementById || document.all) {
      var el = document.getElementById? document.getElementById(id): document.all[id];
      if (el && typeof el.innerHTML != "undefined") el.innerHTML = shtml;
   }
   document.mid.src="images/features/feature_05.jpg"
   document.mid.alt="Algae solution: photo of algae tubes in greenhouse"
   document.feature05.src="images/features/feature05_thmb_roll.jpg"
}
