function Project() {}

function Project_getSize() {return 35;}

function Project_getFeaturedProject(outPutType,dateOrSpecific)
{
  var n=16;
  var p = new Array(n);
  var photoString;
  now = new Date();
  var dayOfMonth = now.getDate();
  var blocked = true;
  var tries = 0;
  var index = 0;

  nPhoto = Project_getSize();

 
  //generate output based upon the date
  if (dateOrSpecific==0)
  {
 
   
      //determine remainder using modular arithmatic ( % )
      if (dayOfMonth<=nPhoto) {index=dayOfMonth;}
      else {index = (dayOfMonth % nPhoto) + 1;}


      p = getProject(index,p);
      projectType = p[8]
      while (projectType=='i')
      {
        index++;
        p = getProject(index,p);
        projectType = p[8];
        while (p[6]==true) 
        {
          index++;
          p = getProject(index,p);
          projectType = p[8];
        }
      }
  }
  else
  {
    index = dateOrSpecific;
  }
  
  p = getProject(index,p)
 
  //load the arrays containing the specific texts and strings
  //small HTML graphic image string
  if (outPutType=='photo') {photoString = p[0];}
  //large HTML graph image string
  if (outPutType=='smallphoto') {photoString = p[1];}
  //alt tag text
  if (outPutType=='alttext') {photoString = p[2];}
  //title
  if (outPutType=='name') {photoString = p[3];}
  //text
  if (outPutType=='text') {photoString = p[4];}
  //web reference for more information
  if (outPutType=='web') {photoString = p[5];}
  //block display of the project if true
  if (outPutType=='block') {photoString = p[6];}
  //digit representing the first letter of the title
  //1-a, 2-b, 3-c, 4-d, 5-e, 6-f, 7-g, 8-h, 9-i, 10-j, 11-k, 12-l, 13-m
  //14-n, 15-0, 16-p, 17-q, 18-r, 19-s, 20-t, 21-u, 22-v, 23-w, 24-x, 25-y, 26-z
  if (outPutType=='digit') {photoString = p[7];}
  //type of research project
  //m=model, c=chemistry, f=field, r=regulatory support, mg = modeling, i = information
  if (outPutType=='kind') {photoString = p[8];}
  //short title
  if (outPutType=='shorttitle') {photoString = p[9];}
  //hard coded web address if 1
  //relative URL if 0
  if (outPutType=='hardcode') {photoString = p[10];}
  //day, month, year
  //day
  if (outPutType=='day') {photoString = p[11];}
  //month
  if (outPutType=='month') {photoString = p[12];}
   //year
  if (outPutType=='year') {photoString = p[13];}
  //date status:   n = new, r = revised  (i.e. the date refers to the page being new or it being revised)
  if (outPutType=='datestatus') {photoString = p[14];}
  //research team designation
  //   nap = nutrient and pathogens
  //   cft = chemical fate and transport
  //   meert = m....
  if (outPutType=='team') {photoString = [15];}

 return photoString;
}


function getProject(index,p)
{
  var string = "";

  //p[0] set to "" signals that there is no graphic to display
  p[0] = "";
  //most are not hard coded URLs
  p[10] = 0;
  //default date for old projects: new ones will have dates included
  p[11] = 1;
  p[12] = 1;
  p[13] = 2004;
  p[14] = 'r';
  p[15] = 'undeclaired';


  if (index==1) 
  {
     p[0] = "photos/brownfield.jpg";
     p[1] = "photos/sbrownfield.jpg";
     p[2] = "Abandoned Gasoline Station";
     p[3] = "Brownfields"; 
     string = "Under the 2002 Brownfields Act.... ERD research is addressing approaches to help state agencies improve decision making.  ";
     string = string + "The focus is on developing additional on-line tools for assessing the transport of contaminants, and in turn evaluating modeling-based assessments.";
     string = string + "The Brownfields law specifically includes sites contaminated with controlled substances.  "; 
     p[4] = string + "Research is addressing the environmental impacts of illegal drug lab chemicals.  ";
     p[5] = 'research/regsupport/brownfields.html'; 
     p[6] = false;
     p[7] = 2;
     p[8] = 'r';
     p[9] = 'Brownfields';
     p[15] = 'CFT';
  }
  else if (index==2)
  {
    p[0] = "research/regsupport/images/volunteer.jpg"; 
    p[1] = "research/regsupport/images/volunteer-s.jpg"; 
    p[2] = "Gasoline Sampling";
    p[3] = "Gasoline Composition Study"; 
        p[4] = 'Gasolines are being collected from around the U.S. to support analysis and modeling of leaking underground storage tank (LUST) sites. Samples are collected according to: grade: regular or premium; proximity within a geographic location (generally three samples are collected within a geographic location); expected oxygenate usage: methyl-tert-butyl ether (MTBE), non-MTBE, ethanol, none; a list of preferred marketers and retailers (which will remain confidential);  elevation; seasons. ';
    p[5] = "research/regsupport/gasoline.html";
    p[6] = false;
    p[7] = 7;
    p[8] = 'r';
    p[9] = 'Gasoline Composition';
    p[11] = 30;
    p[12] = 11;
    p[13] = 2004;
    p[14] = 'n';
    p[15] = 'CFT';
  }
  else if (index==3) 
  {
    p[0] = "photos/suburb_light25.jpg";
    p[2] = "Depiction of Suburban Housing";
    p[1] = "photos/ssuburb_light25.jpg";
    p[3] = "Landscape Characterization";  
    string = "Urban/suburban land uses are the most rapidly growing land use class generating non-point source loadings likely to seriously impair streams.  "
    string = string + "Impervious cover is the amount of land cover in roads, buildings and parking lots, and turf grass cover in a watershed and can seriously impact biotic integrity in associated streams.  "
    p[4] = string + "Methods are being developed to estimate and project impervious cover and turf grass area in small watersheds based on regionally available data.  "
    //string = string + "These estimations and projections will be used to guide monitoring and focus educational efforts on the importance of watershed management in developing localities.  "
    p[5] = 'research/impervious/index.html'; 
    p[6] = false;
    p[7] = 12;
    p[8] = 'r';
    p[9] = 'Landscape Characterization';
  }
 else if (index==4)
  {
    p[0] = "research/regsupport/images/abandoned.jpg"; 
    p[1] = "research/regsupport/images/abandoned-s.jpg"; 
    p[2] = "Abandoned gasoline station";
    p[3] = "Leaking Underground Storage Tank Research"; 
        p[4] = 'The Underground Storage Tank Program was created by the Hazardous and Solid Waste Amendments to RCRA of 1986. This law was passed due to the recognition that leaks from underground storage tanks were causing some significant problems. The program is split into two parts: one that addresses underground storage tank (UST) issues including tank technology, installation, inspection, and others; the second addresses leaking underground storage tanks (LUSTs) ';       p[5] = "research/process/ust.html";
    p[5] = 'research/regsupport/ust.html';
    p[6] = false;
    p[7] = 12;
    p[8] = 'r';
    p[9] = 'Leaking Underground Storage Tanks';
    p[11] = 30;
    p[12] = 11;
    p[13] = 2004;
    p[14] = 'n';
    p[15] = 'CFT';
  }
 else if (index==5)
  {
    p[0] = "research/regsupport/images/readyforcement.jpg"; 
    p[1] = "research/regsupport/images/readyforcement-s.jpg"; 
    p[2] = "Field research facility undergoing construction";
    p[3] = "Vapor Intrusion Research"; 
    p[4] = 'Vapors from subsurface contamination may intrude (hence the name "vapor intrusion") into residences causing in some cases, acute health and safety problems or when concentrations are lower, chronic health problems. Assessment of potential vapor intrusion is plagued by difficulties that include: sometimes limited ability to sample within residences; distinguishing between subsurface contaminant sources and background ambient air contamination; sources and sinks of vapor contaminants within residences; temporaral variation of vapor entry due to variation in soil moisture, barometric pressure, and temperature; application of simplified models without site specific inputs or site specific validation ';
    p[5] = "research/regsupport/vi.html";
    p[6] = false;
    p[7] = 22;
    p[8] = 'r';
    p[9] = 'Vapor Intrusion';
    p[11] = 30;
    p[12] = 11;
    p[13] = 2004;
    p[14] = 'n';
    p[15] = 'CFT';
  }
   else if (index==6)
   {
     p[0] = "";
     p[1] = "";
     p[2] = "";
     p[3] = "AQUATOX";
     p[4] = "AQUATOX is an aquatic simulation model that was developed for EPA by Richard A. Park and Jonathan S. Clough of EcoModeling. AQUATOX simulates the transfer of biomass, energy and chemicals from one compartment of the ecosystem to another. It does this by simultaneously computing each of the most important chemical or biological processes for each day of the simulation period; therefore it is known as a process-based or mechanistic model. AQUATOX can predict not only the environmental fate of chemicals in aquatic ecosystems, but also their direct and indirect effects on the resident organisms, such as fish, invertebrates, and aquatic plants.  ";
     p[5] = "research/modeling/aquatox.html";
     p[6] = false;
     p[7] = 1;
     p[8] = 'mg';
     p[9] = 'AQUATOX';
     p[15] = 'MEERT';
    }
  else if (index==7)
  {
     p[0] = 'photos/gravel.jpg';
     p[1] = 'photos/gravels.jpg';
     p[2] = 'Stream in the mid-Atlantic region.';
     p[3] = 'Ecosystem Research Division\'s Collaboration with the Canaan Valley Institute'
     p[4] = 'The Canaan Valley Institute (CVI, a nonprofit outreach organization) and the U.S. Environmental Protection Agency, Ecosystems Research Division (ERD),  Athens, Georgia, will collaborate in adding to the existing GIS/modeling tools (Landscape Analyst, Highlands Profiler, REVA web tool) to address aquatic ecosystem management and restoration.';
     p[5] = 'research/modeling/cvi_files/cvi.html';
     p[6] = true;
     p[7] = 3;
     p[8] = 'mg';
     p[9] = 'Canaan Valley Institute';
     p[11] = 30;
     p[12] = 5;
     p[13] = 2004;
     p[14] = 'n';
     p[15] = 'MEERT';
  }
  else if (index==8)
  {
    p[0]=""; p[1]=""; p[2]="";
    p[3] = "Nutrients in Watersheds: developing enhanced modeling tools";
    p[4] = "Nutrient enrichment is one of the most important stressors causing water-resource impairment.  Of systems surveyed and reported as impaired, 40 % of rivers, 51 % of lakes, and 57 % of estuaries listed nutrients as a primary cause of impairment (USEPA, 1996).  In many cases, these impairments are causing devastating changes: i) high nitrate concentrations have rendered the groundwaters and reservoirs in many regions impotable -- especially in the rural areas of the US heartland where these sources are important domestic-water sources; ii) eutrophic effects in many fresh surface waters are stimulating harmful species -- e.g., the zebra mussel in the Great Lakes and pfiesteria in the Neuse River; and iii) the commercial productivity of our nation’s coastal waters is in the midst of protracted decline, e.g. hypoxia and “dead zones” in estuaries of the Gulf of Mexico.  Because of these and other effects, unchecked nutrient fluxes in the environment constitute one of the gravest impacts on the quality of life in the US.  ";
    p[5] = "http://intranet.epa.gov/nerlintr/athens/research/wsheds/index.html"; //TR20040427
    p[6] = false;
    p[7] = 14;
    p[8] = 'mg';
    p[9] = 'Nutrients in Watersheds (EPA Intranet users only)'; //TR20040427
    p[10] = 1;
    p[15] = 'NP';
  }
  else if (index==9)
  {
    p[0] = "photos/mercury.gif"; 
    p[1] = "photos/mercury-s.gif"; 
    p[2] = "Illustration of Mercury cycling";
    p[3] = "Mercury Modeling in Watersheds and Water Bodies";
    p[4] = "Objective: <BR><BR>To improve the scientific understanding of the linkage between mercury loadings to watersheds, speciated mercury concentrations in water bodies, and fish methylmercury bioaccumulation. <BR><BR>To complete a set of watershed and water body models for transformation and bioaccumulation of mercury that can be linked with models for atmospheric deposition and hydrology to yield a multimedia integrated modeling system capable of quantifying regional exposure to mercury. <BR><BR>To apply state of the art watershed and water body modeling to assess exposures to mercury for impacted aquatic ecosystems."; 
    p[5] = "research/modeling/mercury/index.html";
    p[6] = false;
    p[7] = 13;
    p[8] = 'mg';
    p[9] = 'Mercury Modeling';
    p[11] = 29;
     p[12] = 7;
     p[13] = 2005;
     p[14] = 'n';
    p[15] = 'MEERT';
  }
  else if (index==10) 
  {
    p[0] = "photos/tidalmarsh.jpg";
    p[1] = "photos/stidalmarsh.jpg";
    p[2] = "Tidal Marsh in New York State";
    p[3] = "Oil Spills";
    string = "What are the potential impacts of oil spills on coastal tidal marshes?  ";
    string = string + "How should impacts be mitigated?  ";
    p[4] = string + "EPA's oil spill program is addressing the impacts the use of chemical dispersants on spilled oils through modeling and field studies.  ";
    p[5] = 'research/projects/eros/index.html';
    p[6] = false;
    p[7] = 15;
    p[8] = 'mg';
    p[9] = 'Oil Spills';
    p[15] = 'CFT';
  }
  else if (index == 11)
  {
    p[0] = '';
    p[1] = '';
    p[2] = '';
    p[3] = 'Redox and Nitrogen Speciation in Subsurface Waters';
    p[4] = 'We expend considerable effort generating original data in the lab and field, but, to make our efforts useful to modelers and regulators, we strive to express our findings as mathematical relationships so that they can be incorporated into models.<br><br>Together with temperature, pressure and pH, oxidation state is one of the chief state variables for defining the chemistry of a system.&nbsp; Unlike these other state variables, in complex settings such as the environment, definition of oxidation state often is ambiguous.&nbsp;  Presently, the most widely accepted conceptual model for characterizing oxidation state is the terminal electron accepting process (TEAP).&nbsp; According to TEAP, microbes reduce oxidants in the environment sequentially from highest to lowest energy producing reductions; oxygen then nitrate then manganese (IV), and so on, ferric iron, sulfate and carbon dioxide.&nbsp; To evaluate the general applicability of TEAP, we collected samples from several environments and analyzed them for multiple redox-active species.&nbsp; To examine variation of redox couples through time, we also monitored the quality of a spring for two years.';
    p[5] = 'research/modeling/redox/index.html';
    p[6] = false;
    p[7] = 18;
    p[8] = 'mg';
    p[9] = 'Redox and Nitrogen Speciation in Subsurface Waters';
     p[11] = 30;
     p[12] = 5;
     p[13] = 2004;
   p[14] = 'n';
   p[15] = 'NP';
  }
  else if (index==12)
  {
    p[0] = 'research/modeling/supermuse/bench2_sm.jpg';
    p[1] = 'research/modeling/supermuse/bench2_sm-s.jpg';
    p[2] = 'View of the SuperMUSE';
    p[3] = 'Supercomputer for Model Uncertainty and Sensitivity Evaluation (SuperMUSE)';
    p[4] = 'Ecosystems Research Division\'s Supercomputer for Model Uncertainty and Sensitivity Evaluation (SuperMUSE) is a key to enhancing quality assurance in environmental models and applications.  Uncertainty analysis (UA) and sensitivity analysis (SA) remain critical, though often overlooked steps in the development and evaluation of computer models. While there is a high potential for exposure of humans and ecosystems to chemicals released into the environment, the degree to which this potential is realized is often uncertain. ';
    p[5] = 'research/modeling/supermuse/supermuse.html';
    p[6] = true;
    p[7] = 18;
    p[8] = 'mg';
    p[9] = 'SuperMUSE';
     p[11] = 30;
     p[12] = 11;
     p[13] = 2004;
   p[14] = 'n';
   p[15] = 'MEERT';
  }
  else if (index==13)
  {
    p[0]=""; p[1]=""; p[2]="";
    p[3] = "Abiotic Reductive Transformations";
    p[4] = "Reductive transformation is the dominant reaction pathway for many organic pollutants in anoxic environments.  Although the understanding of the classes of organic chemicals that are subject to reduction in anoxic environments has been significantly advanced in recent years, it is not yet possible to predict the rates of reductive transformations quantitatively.  Consequently, models used in regulatory decision-making do not incorporate this reaction pathway.  The general goal of our project is to describe the reaction kinetics for the reductive transformation of organic chemicals in anoxic environments to develop useful predictive models. ";
    p[5] = "research/process/abioticreduction.html"
    p[6] = false;
    p[7] = 1;
    p[8] = 'c';
    p[9] = 'Abiotic Reductive Transformations';
    p[15] = 'CFT';
  }
  else if (index==14) 
  {
    p[0] = "photos/chiral.gif";
    p[1] = "photos/schiral.gif"; 
    p[2] = "Enantiometers of the chiral herbicide dichlorprop";
    p[3] = "Chiral Chemistry:  the ultimate in pollutant speciation";
    string = "What's in a molecule?  ";
    string = string + "We ordinarily think that a diagram of molecular structure shows everything about the way the atoms connect to make a specific chemical with defined properties.  "; 
    p[4] = string + "<i>However, </i>with some molecules, a careful look at their three dimensional structure offers a surprise.  "
    p[5] ='research/process/chiralchemistry.html';
    p[6] = false;
    p[7] = 3;
    p[8] = 'c';
    p[9] = 'Chiral Chemistry';
    p[15] = 'CFT';
  }
  else if (index==15) 
  {
    p[0] = "research/process/comptox/dna_square.gif";
    p[1] = "research/process/comptox/dna_square.gif"; 
    p[2] = "Graphic representing DNA and computational toxicology";
    p[3] = "Computational Toxicology (CompTox)";
    p[4] = 'The objective of ORD’s CompTox Research Initiative is to improve linkages across the source-to-effects continuum, resulting in improved approaches for prioritizing chemicals for subsequent screening and testing, and better methods for quantitative risk assessment. The overall success of the initiative is dependent on the development and coupling of new computational quantitative structure activity relationships (QSARs) and genomic, proteomic and metabonomic tools. This computational approach will significantly reduce EPA\'s dependence on animal testing to obtain chemical-specific toxicity data. ';
    p[5] ='research/process/comptox/index.html';
    p[6] = false;
    p[7] = 3;
    p[8] = 'c';
    p[9] = 'CompTox';
    p[11] = 2;
     p[12] = 12;
     p[13] = 2004;
   p[14] = 'n';
   p[15] = 'CT';
 }
  else if (index==16)
  {
    p[0] = 'photos/drinkingwater2.gif';
    p[1] = 'photos/drinkingwater2s.gif';
    p[2] = 'Photograph illustrating a person drinking from a water fountain';
    p[3] = "What is in Our Drinking Water?";
    p[4] = '<STRONG>Identification of New Chemical Disinfection By-products (DBPs)</STRONG><BR><BR>What is a DBP?  A drinking water disinfection by-product (DBP) is formed when the chemical used for disinfecting the drinking water reacts with natural organic matter and/or bromide/iodide in the source water.  Popular disinfectants include chlorine, ozone, chlorine dioxide, and chloramine.  Source waters include rivers, lakes, streams, groundwater, and sometimes seawater.  We have only known about DBPs since 1974, when chloroform was identified by Rook as a DBP resulting from the chlorination of tap water. Since then, hundreds of DBPs have been identified in drinking water.';
    p[5] = 'research/process/drinkingwater.html';
    p[6] = false;
    p[7] = 4;
    p[8] = 'c';
    p[9] = 'Drinking Water';
    p[15] = 'CFT';
  }
 else if (index==17)
 {
   p[0] = 'photos/Proc0.jpg';
   p[1] = 'photos/Proc0-s.jpg';
   p[2] = 'Picture of lab instruments';
   p[3] = 'Nitrogen and Redox Speciation in Environmental Systems';
   p[4] = 'Our process work includes: 1) collection and analysis of environmental samples with the goal of understanding processes controlling nitrogen and redox speciation at the scale of environmental systems; and 2) conducting laboratory experiments to document conditions under which processes proceed and quantify rates at which these processes function. <BR><BR>Routine analytes and techniques include: 1) hydrogen and carbon monoxide (gas chromatograph/reduction gas analyzer); 2) methane (gas chromatograph/flame ionization detector); 3) chloride, nitrate, sulfate (ion chromatograph/conductivity detector); 4) ferrous and ferric iron (ferrozine/spectrometer); 5) nitrite (diazotization/spectrometer); 6) ammonium (phenate/spectrometer); 7) urea (urease-phenate/spectrometer); 8) organic nitrogen (persulfate oxidation-ion chromatograph/conductivity detector); 9) organic carbon (TOC analyzer/infrared detector); and 10) sulfide (methylene blue/spectrometer).';
   p[5] = 'research/process/redox/index.html';
   p[6] = false;
   p[7] = 14;
   p[8] = 'c';
   p[9] = 'Nitrogen and Redox Speciation in Environmental Systems';
     p[11] = 30;
     p[12] = 5;
     p[13] = 2004;
   p[14] = 'n';
   p[15] = 'CFT';
 } 
else if (index==18)
  {
    p[0] = ""; 
    p[1] = ""; 
    p[2] = "";
    p[3] = "SPARC";
    p[4] = "Recent trends in current and evolving environmental regulatory strategies dictate that EPA will have to rely more heavily on predictive modeling technologies in carrying out the increasingly complex array of exposure and risk assessments necessary in developing scientifically defensible regulations. The pressing need for multimedia, multistressor, multipathway assessments, from both the human and ecological perspectives, over broad spatial and temporal scales, places a high priority on the development of broad new modeling tool packages. However, as this modeling capability increases in complexity and scale, so must the inputs. These new models will necessarily require huge arrays of input data, and many of the required inputs are neither available nor easily measured. In response to this need researchers at NERL-Athens have developed a predictive modeling system SPARC (Sparc Performs Automated Reasoning in Chemistry), which calculates a large number of physical/ chemical parameters from pollutant molecular structure and basic information about the environment (media, temperature, pressure, pH, etc.). The SPARC system has been under development for several years and currently calculates a wide array of physical/chemical reactivity parameters for organic chemicals. Current and future research involves model refinement/extension to additional properties for organic chemicals, and development of this process modeling capability for nutrients and other stressors. ";
    p[5] = "research/projects/sparc/index.html";
    p[6] = false;
    p[7] = 19;
    p[8] = 'c';
    p[9] = 'SPARC';
    p[15] = 'CFT';
  }
  else if (index==19) 
  {
    p[0] = "photos/IBGEcsqfire.jpg";
    p[1] = "photos/sIBGEcsqfire.jpg";
    p[2] = "Burning of Amazon Forest";
    p[3] = "Amazonia:  Large Scale Biosphere-Atmosphere Experiment in Amazonia (LBA), Phase 2: Effects of Land Use Changes on the Functioning of Soils and Watersheds of Central Brazil Savannas: Impacts on Nutrient and Carbon Cycles and Trace Gas Exchange";
    string = "We plan to assess the effects of land use on:  "
    string = string + "1) the stocks and cycling rates of carbon and nutrient cycling and related ancillary data (microbial biomass; soil temperature, soil moisture, etc.);  "
    p[4] = string + "2) soil-atmosphere fluxes of trace carbon and nitrogen gases (CO2, CH4, CO, N2O, and NO); and 3) the composition and quantity of nutrients and organic matter entering small streams via gallery forests. "
    p[5] = 'research/lba/index.html';
    p[6] = false;
    p[7] = 12;
    p[8] = 'f';
    p[9] = 'Amazonia Biosphere Experiment';
    p[15] = 'NP';
  }
  else if (index==20)
  {
    p[0]=""; p[1]=""; p[2]="";
    p[3] = "Global Change:  Characterize Interactions Between Ecosystem Functioning and Changes in Climate, UV, and Land Use";
    p[4] = "The research in this area focuses primarily on providing the capability to assess the vulnerability of  aquatic ecosystems and water quality to global change. Assessments of the long-term impacts of global changes in climate, UV radiation and land use on aquatic ecosystems require scientific data, concepts and models that describe the responses of ecosystem health to stresses related to the changes as well as information and models that describe human activities driving the changes.  ";
    p[5] = "research/projects/global/index.html";
    p[6] = false;
    p[7] = 7;
    p[8] = 'f';
    p[9] = 'Global Change';
    p[15] = 'NP';
  } 
  else if (index==21) 
  {
    p[0] = "photos/locklake06a.jpg";
    p[1] = "photos/slocklake06a.jpg";
    p[2] = "Lock Lake Tidal Marsh";
    p[3] = "Lock Lake Tidal Marsh Studies";
    string = "Lock Lake is a small (10 acre) tidal marsh located on the south shore of Long Island. This marsh is located in East Patchogue, New York. Objectives of the study include:  "
    string = string + "1) Study interactions between the Upper Glacial Aquifer and the surface water bodies, including Lock Lake.  "
    string = string + "2) Determine transport characteristics in the tidal marsh.  "
    p[4] = string + "3) Develop and apply simulation models to reproduce and predict transport in the marsh.  "
    p[5] = 'research/field/locklake/index.html';  
    p[6] = false;
    p[7] = 12;
    p[8] = 'f';
    p[9] = 'Lock Lake Tidal Marsh';
    p[15] = 'CFT';
  }
 else if (index==22)
 {
  p[0] = 'photos/Field2.jpg';
  p[1] = 'photos/Field2-s.jpg';
  p[2] = 'Watkinsville field site';
  p[3] = 'Nitrogen and Redox Speciation in Fresh-Water Systems';
  p[4] = 'The United States Department of Agriculture Agricultural Research Service (USDA/ARS) owns, maintains and has instrumented several agricultural research watersheds  at the J. Phil Campbell, Sr., Natural Resource Conservation Center near Watkinsville, GA.&nbsp; At this site, we are collaborating with USDA/ARS researchers Dinku Endale and Steven Norris on several projects, and they grant us access to their site for several other studies.&nbsp; The nitrogen at the USDA site is elevated locally by waste from about 300 head of cattle and most of our work is centered around understanding the fate of this excess nitrogen.&nbsp; This work is being conducted in support of ERD’s goal to develop predictive models for the transformation and fate of nutrients in the environment.&nbsp';
  p[5] = 'research/field/watkinsville/redox/index.html';
  p[6] = false;
  p[7] = 14;
  p[8] = 'f';
  p[9] = 'Nitrogen and Redox Speciation in Fresh-Water Systems';
     p[11] = 30;
     p[12] = 5;
     p[13] = 2004;
   p[14] = 'n';
  p[15] = 'NP';
 }
  else if (index==23)
   {
     p[0] = "";
     p[1] = "";
     p[2] = "";
     p[3] = "BASS";
     p[4] = "BASS is a model that simulates the population and bioaccumulation dynamics of age-structured fish communities. Although bass was specifically developed to investigate the bioaccumulation of chemical pollutants within a community or ecosystem context, it can also be used to explore population and community dynamics of fish assemblages that are exposed to a variety of nonchemical stressors such as altered thermal regimes associated with hydrological alterations or industrial activities, commercial or sports fisheries, and introductions of non native or exotic fish species.  ";
     p[5] = "research/modeling/bass.html";
     p[6] = false;
     p[7] = 2;
     p[8] = 'm';
     p[9] = 'BASS';
     p[15] = 'MEERT';
   }
  else if (index==24)
   {
     p[0] = "";
     p[1] = "";
     p[2] = "";
     p[3] = "Environmental Fluid Dynamics Computer Code (EFDC)";
     p[4] = "EFDC can simulate water and water quality constituent transport in geometrically and dynamically complex water bodies, such as vertically mixed shallow estuaries, lakes, and coastal areas. The EFDC model solves the three-dimensional, vertically hydrostatic, free surface, turbulent averaged equations of motion for a variable density fluid. The model uses a stretched, or sigma, vertical coordinate and Cartesian, or curvilinear, orthogonal horizontal coordinates.  ";
     p[5] = "research/modeling/efdc.html";
     p[6] = false;
     p[7] = 5;
     p[8] = 'm';
     p[9] = 'EFDC';
     p[15] = 'CFT';
   }
 else if (index==25)
  {
    p[0] = "";
    p[1] = "";
    p[2] = "";
    p[3] = "Exposure Analysis Modeling System (EXAMS)";
    p[4] = "EXAMS allows for the development of general aquatic ecosystem models for the rapid evaluation of the fate, transport, and exposure concentrations of synthetic organic chemicals, such as pesticides, industrial materials, and leachates from disposal sites. EXAMS also has an integrated database management system for the storage and management of information required by the software. EXAMS summarizes critical output for aid in ecological risk assessments. ";
    p[5] = "research/modeling/exams.html";
    p[6] = false;
    p[7] = 5;
    p[8] = 'm';
    p[9] = 'EXAMS';
    p[15] = 'MEERT';
   }
 else if (index==26)
  {
    p[0]=""; p[1]=""; p[2]="";
    p[3] = "Framework for Risk Analysis of Multi-Media Environmental Systems (FRAMES)";
    p[4] = "The EPA is charged with developing, implementing, and enforcing regulations that protect human and ecological health from the myriad of chemical and non-chemical stressors imposed on the environment as a result of human activities. Fundamental to the execution of this charge is a need to understand the environmental processes (physical, biological, and chemical) that collectively release, transform and transport contaminants resulting in exposure and finally a probability of deleterious health effects. Computer models are key tools for organizing the knowledge of environmental science for application in the decision making process.  ";
    p[5] = "research/modeling/3mra.html";
    p[6] = false;
    p[7] = 6;
    p[8] = 'm';
    p[9] = 'FRAMES';
    p[15] = 'MIT';
  }
  
  else if (index==27)
   {
     p[0] = "";
     p[1] = "";
     p[2] = "";
     p[3] = "Multimedia, Multi-pathway, Multi-receptor Exposure and Risk Assessment (3MRA)";
     p[4] = "The primary objective of the research program is to develop, test, and apply a multimedia, multi-pathway, multi-receptor exposure and risk assessment modeling system (the 3MRA) and accompanying methodologies to assess uncertainty and activities to support regulatory-based applications.";
     p[5] = "research/projects/3mra/index.html";
     p[6] = false;
     p[7] = 13;
     p[8] = 'm';
     p[9] = '3MRA';
     p[15] = 'MEERT';
    }
  else if (index==28)
    {
      p[0] = "";
      p[1] = "";
     p[2] = "";
     p[3] = "OnSite on-line calculators";
     p[4] = "<STRONG>OnSite</STRONG> was developed to provide modelers and model reviewers with prepackaged tools (calculators) for performing site  assessment calculations.  ";
     p[4] = p[4] + "The philosophy behind <STRONG>OnSite</STRONG> is that the convenience of the prepackaged calculators helps provide consistency for simple calculations, and access to methods and data that are not commonly available.  ";
     p[4] = p[4] + "The latter include data on fuel composition and models for leaching from fuel lenses.  ";
     p[5] = "onsite";
     p[6] = false;
     p[7] = 15; 
     p[8] = 'm';
     p[9] = 'OnSite';
     p[11] = 1;
     p[12] = 6;
     p[13] = 2004;
     p[14] = 'r';
     p[15] = 'CFT';
   }
  else if (index==29)
  {
     p[0] = "";
     p[1] = "";
     p[2] = "";
     p[3] = "PLUMES";
     p[4] = "Pathogens (bacteria, viruses, and protozoa) pose problems for public waters and beaches. These organisms can cause illness, ranging in severity from rashes, swimmer's itch, throat infections, stomach cramps and nausea to more extreme conditions like cholera, salmonella, typhoid fever, or hepatitis A. Economic impacts of closed beaches can be considerable. ";
     p[5] = "research/modeling/plumes.html";
     p[6] = false;
     p[7] = 16;
     p[8] = 'm';
     p[9] = 'PLUMES';
     p[15] = 'NP';
   }
  else if (index==30)
  {
     p[0] = "";
     p[1] = "";
     p[2] = "";
     p[3] = "Water Quality Analysis Simulation Program (WASP)";
     p[4] = "WASP is a generalized framework for modeling contaminant fate and transport in surface waters. Its flexible, compartmental approach allows it to address problems in one, two, or three dimensions. It is designed to allow easy substitution of user-written routines into the program structure. WASP has been used to answer questions regarding biochemical oxygen demand, dissolved oxygen dynamics, nutrients and eutrophication, bacterial contamination, and organic chemical and heavy metal contamination. The current WASP software package includes the scientific modules TOXI, EUTRO, and DYNHYD. TOXI models the transport and transformation of chemicals, EUTRO simulates dissolved oxygen and eutrophication processes, and DYNHYD is a hydrodynamic model used for prediction water flow and volume. ";
     p[5] = "research/modeling/wasp.html";
     p[6] = false;
     p[7] = 23;
     p[8] = 'm';
     p[9] = 'WASP';
     p[15] = 'MEERT';
  }
  else if (index==31)
  {
    p[0] = '';
    p[1] = '';
    p[2] = '';
    p[3] = 'WhAEM2000 wellhead analytic element model'; 
    p[4] = 'WhAEM2000 is a public domain and open source general purpose ground-water flow modeling system, with strengths in representing regional flow systems, and ground water/surface water interactions.  It was initially designed to facilitate capture zone delineation and protection area mapping in support of the State\'s Wellhead Protection Programs (WHPP) and Source Water Assessment Planning (SWAP) for public water supply wells in the United States. WhAEM2000 runs on personal computers running Windows (98,2000,NT,XP). WhAEM2000 provides an interactive computer environment for design of protection areas based on radius methods, well in uniform flow solutions, and geohydrologic modeling methods.';
    p[5] = 'software/whaem/index.html';
    p[6] = false;
    p[7] = 23;
    p[8] = 'm';
    p[9] = 'WhAEM2000';
    p[15] = 'MEERT';
  }
 else if (index==32)
  {
    p[0]=""; p[1]=""; p[2]="";
    p[3] = "Chemical Property Values";
    p[4] = "Partitioning of chemicals between environmental media (water, air, soil) are partly determined by properties of the chemicals themselves. Values of these properties often can be obtained from the scientific literature that reports on measured values. Since there are a wide range of environmental conditions of interest (especially temperature and pH), there are often no suitable literature values available. In these cases, estimated parameters can be determined through a variety of methods.  ";
    p[5] = "research/regsupport/properties.html";
    p[6] = false;
    p[7] = 3;
    p[8] = 'i';
    p[9] = 'Chemical Property Values';
    p[15] = 'CFT';
  }
 else if (index==33)
  {
    p[0] = "photos/auger.jpg";
    p[1] = "photos/sauger.jpg";
    p[2] = "Photos of Field Equipment";
    p[3] = "Photos of Field Equipment";
    p[4] = "A variety of subsurface sampling equipment is on display at the ERD web site. Most of these photos were taken during field research projects";
    p[5] = "learn2model/part-one/field/index.html";
    p[6] = false;
    p[7] = 16; 
    p[8] = 'i';
    p[9] = 'Field Equipment';
    p[15] = 'CFT';
  }
 
  else if (index==34)
  {
    p[0] = "research/field/culebra/images/sampling-sites.jpg"; 
    p[1] = "research/field/culebra/images/sampling-sites-200.jpg"; 
    p[2] = "Illustration for Green Turtle Habitat Research";
    p[3] = "Helping Green Turtles Through Water Quality Assessment of Their Critical Habitat";
    p[4] = "Green turtle (Chelonia mydas) populations have been steadily decreasing worldwide. One contributor to their declines is fibropapillomatosis (FP), a viral disease found in these turtles in many locations around the world. The disease causes warts and tumors that spread throughout the turtle’s body. These obstruct internal organs which can interfere with vital functions, or interfere with vision and mobility as large warts develop on the face and flippers.  Most of the affected turtles die of starvation, because the tumors and warts impede swimming and foraging.  Many turtles are also harmed by secondary bacterial infections that develop in dying tissues riddled with tumors."; 
    p[5] = "research/field/culebra/index.html";
    p[6] = false;
    p[7] = '8';
    p[8] = 'f';
    p[9] = 'Green Turtle Habitat';
    p[11] = '8';
    p[12] = '1';
    p[13] = '2007';
    p[14] = 'n';
    p[15] = 'nap';

  }
 else if (index==35)
  {
    p[2] = "HSPF Toolkit for BMP Modeling Applications";
    p[3] = "HSPF Toolkit for BMP Modeling Applications";
    p[4] = "This toolkit enables HSPF users to extend the model\'s application to urban watersheds with sewer system networks and to areas with (BMPs) such as detention basins. It was developed for low impact development modeling applications. Specifically, the tool simulates BMPs that store stormwater runoff to attenuate flooding and remove pollutants. Presently, the tool is not recommended for simulating infiltration trenches, dry wells or BMPs that require channels which infiltrate."
    p[5] = "research/modeling/ftable/index.html";
    p[6] = false;
    p[7] = '8';
    p[8] = 'mg';
    p[9] = 'HSPF Toolkit';
    p[11] = '1';
    p[12] = '1';
    p[13] = '2008';
    p[14] = 'n';
    p[15] = 'nap';
  }
 else if (index==36)
  {
    p[0] = "photos/sammyjump1.jpg"; 
    p[1] = "photos/ssammyjump1.jpg"; 
    p[2] = "Pollution Detection Dog";
    p[3] = "Using Canines in Source Detection of Indoor Air Pollutants";
    p[4] = "Dogs have been used extensively in law enforcement and military applications to detect narcotics and explosives for over thirty years. Dogs are regularly used in arson investigations to detect accelerants since they are much more accurate at discriminating between accelerants and by-products of combustion than field VOC detectors. Controlled laboratory studies have documented accurate detection by dogs of specific compounds associated with explosives and narcotics at air concentrations below 1 ppb. Relatively few applications have taken advantage of this canine capability in the environmental arena. Dogs could be used to rapidly screen houses for problems such as vapor intrusion of a variety of VOCs, identifying the presence of mildews and toxic molds, or rapidly identifying houses where illicit pesticide use has occurred. ";
    p[5] = "research/regsupport/Detection_Dogs.html";	
    p[6] = false;
    p[7] = 21;
    p[8] = 'i';
    p[9] = 'Pollution-detecting Dogs';
  }

 else if (index==37)
  {
    p[0] = "photos/phytopicture.jpg"; 
    p[1] = "photos/sphytopicture.jpg"; 
    p[2] = "Illustration for Phytoremediation";
    p[3] = "Phytotransformation: the ultimate cleaner upper";
    p[4] = "What is phytotransformation?   Research in our laboratory indicates that plants can transform many organic contaminants in sediments, soils and natural waters to more environmentally acceptable products.  A variety of organic  contaminants have been shown to be degraded by plants and trees.  Furthermore, plant enzyme systems have been shown to be stable in sediments and soils for long periods of time and still maintain their activity.  The diagram illustrates the mechanisms for pollutant uptake by plants. "; 
    p[5] = "research/process/enzymemediated.html";
    p[6] = false;
    p[7] = 16;
    p[8] = 'i';
    p[9] = 'Phytoremediation';
  }
  else if (index==38)
   {
     p[0] = "";
     p[1] = "";
     p[2] = "";
     p[3] = "Hydrologic Simulation Program - Fortran (HSPF)";
     p[4] = "<i>What is the problem?</i>  Freshwater ecosystems such as streams, lakes and rivers no longer support healthy fish and shellfish communities, and many are no longer safe for swimming, drinking or even fishing due to human activities in the watershed. Rivers and lakes receive much of the pollution we generate through agricultural operations and urbanization, including sediments, fertilizers, pesticides, and Coliform bacteria.  ";
     p[5] = "research/modeling/hspf.html";
     p[6] = false;
     p[7] = 8;
     p[8] = 'm';
     p[9] = 'HSPF';
     p[15] = 'MEERT';
    }

  return p;
}

//add functions to the prototype
Project.prototype.getSize = Project_getSize;
Project.prototype.getFeaturedProject = Project_getFeaturedProject;
