/*
 * services_desc - array of services descriptions
 * services_link - array of services page links
 * casestudy_desc - array of case study descriptions
 * casestudy_link - array of case study page links
 */
function init_services() {
   services_desc = new Array(4);
   services_desc[0] = "VMware vSphere 4 upgrade";
   services_desc[1] = "EMC Avamar Virtual Edition POC";
   services_desc[2] = "VMware Site Recovery Manager POC ";
   services_desc[3] = "VMware View POC";
   services_link = new Array(4);
   services_link[0] = "services_vi.html";
   services_link[1] = "services_avamar.html";
   services_link[2] = "services_srm.html";
   services_link[3] = "services_desktops.html";
   casestudy_desc = new Array(2);
   casestudy_desc[0] = "Berry Bros. & Rudd - Virtualisation & DR";
   casestudy_desc[1] = "Havering College - Virtualisation & DR";
   casestudy_link = new Array(2);
   casestudy_link[0] = "cs_bbr.html";
   casestudy_link[1] = "cs_havering.html";
/* Create services details HTML */
   for (i=0;i<services_desc.length;i++){
      if (i==0){
        services_desc_txt = "<a href='"+services_link[i]+"'class='maintext'>"+services_desc[i]+"<br>";
	  }
	  else {
        services_desc_txt += "</a><a href='"+services_link[i]+"'class='maintext'>"+services_desc[i]+"<br>";
	  }
   }
/* Create case study details HTML */
   for (i=0;i<casestudy_desc.length;i++){
      if (i==0){
        casestudy_desc_txt = "<a href='"+casestudy_link[i]+"'class='maintext'>"+casestudy_desc[i]+"<br>";
	  }
	  else {
        casestudy_desc_txt += "</a><a href='"+casestudy_link[i]+"'class='maintext'>"+casestudy_desc[i]+"<br>";
	  }
   }
/* Display details HTML */   
   document.getElementById("servicesarea").innerHTML = services_desc_txt;
   document.getElementById("casestudyarea").innerHTML = casestudy_desc_txt;
}