


/**
  File Inclusion AJAX
**/

    function loadContent(filez) {
      $("#contentArea").load(filez);}

    function randImage(showa) {
      var links = new Array();

	  links['T100'] = 'workplaceHealth.html';
	  links['T110'] = 'workHealthRight.html';
	  links['T120'] = 'healthValue.html';
	  links['T130'] = 'medical.html';
	  links['T131'] = 'primaryCare.html';
	  links['T132'] = 'occHealth.html';
	  links['T133'] = 'episodicCare.html';
	  links['T140'] = 'pharmacy.html';
	  links['T141'] = 'specialtyPharmacy.html';
	  links['T142'] = 'integratedPBM.html';
	  links['T150'] = 'fitness.html';
	  links['T160'] = 'ancillaryServices.html';
	  links['T161'] = 'physicalServices.html';
	  links['T162'] = 'integDiseaseMgmt.html';
	  links['T163'] = 'wellness.html';
	  links['T164'] = 'xRayLab.html';
	  links['T165'] = 'extendedHealthServices.html';
	  links['T200'] = 'whyTakeCareHealth.html';
	  links['T210'] = 'provenValue.html';
	  links['T211'] = 'integratedServices.html';
	  links['T212'] = 'completeCare.html';
	  links['T220'] = 'provenResults.html';
	  links['T221'] = 'ROI.html';
	  links['T222'] = 'valueDelivery.html';
	  links['T223'] = 'research.html';
	  links['T230'] = 'clients.html';
	  links['T231'] = 'testimonials.html';
	  links['T232'] = 'employeeSatisfaction.html';
	  links['T233'] = 'hrPerspective.html';
	  links['T240'] = 'excellence.html';
	  links['T241'] = 'people.html';
	  links['T242'] = 'clinicalExcellence.html';
	  links['T243'] = 'technologyReporting.html';
	  links['T244'] = 'riskMgmt.html';
	  links['T245'] = 'facilityDesign.html';
	  links['T350'] = 'workingHere.html';
	  
      

      increment = Math.floor(Math.random() * showa.length); 
      var x;
      var key;
      var i = 0;;
      for(var x in showa) {
        if(i == increment) {
          key = showa[x];
        }
        i++;
      }
      //document.write(imgs[increment]);
      document.write('<a href="' + links[key] + '"><img src="images/promoTiles/' + key + '.jpg" alt="" /></a>');
      return increment;
    }


    function randImagePerson(showa) {
      var links = new Array();

	  links['Female-Chef1'] = '#';
	  links['Female-Chef2'] = '#';
	  links['Female-Corporate'] = '#';
	  links['Female-Corporate2'] = '#';
	  links['Female-Corporate3'] = '#';
	  links['Female-Laptop'] = '#';
	  links['Female-Laptop2'] = '#';
	  links['Female-Laptop-Phone'] = '#';
	  links['Female-Smiling'] = '#';
	  links['Male-Book'] = '#';
	  links['Male-Broom'] = '#';
	  links['Male-Corporate'] = '#';
	  links['Male-Factory'] = '#';
	  links['Male-Forklift'] = '#';
	  links['Male-Goggles'] = '#';
	  links['Male-HardHat'] = '#';
	  links['Male-HardHat2'] = '#';
	  links['Male-LabCoat'] = '#';
	  links['Male-Smiling'] = '#';
	  links['Two-Females-Corporate'] = '#';
	  links['main_01'] = '#';
	  links['main_02'] = '#';
	  links['main_03'] = '#';
	  links['main_04'] = '#';
      

      increment = Math.floor(Math.random() * showa.length); 
      var x;
      var key;
      var i = 0;;
      for(var x in showa) {
        if(i == increment) {
          key = showa[x];
        }
        i++;
      }
      //document.write(imgs[increment]);
      document.write('<img src="images/172x385/' + key + '.jpg" alt="" />');
      return increment;
    }
