/*
COPYRIGHT: 2007-2008.
AUTHOR: John Connolly.
PURPOSE: To display message sections.
*/



/*
FUNCTION: addArticle()
PURPOSE: Add a row to the table with 2 columns, to display articles 
INPUT:  articleDesc = description for the article
        articleURL = URL for more detailed information HTML page
*/
function addArticle(articleDesc, articleURL) { 
document.write('<!-- ARTICLE ' + articleDesc + ' -->');
document.write('<tr>');
document.write(' <td class="ofFirstChild ofLastChild">');
document.write('  <div class="ofTextBlock ofAltBullet1 ofLastChild">');
document.write('   <p>');
document.write('    <a href="' + articleURL + '">' + articleDesc + '</a> ');
document.write('   </p>');
document.write('  </div>');
document.write(' </td>');
document.write('</tr>');
}



/*
FUNCTION: addArticle()
PURPOSE: Display Featured Article(s) HTML section
INPUT: bgColour = Background colour
*/
function getMsgFeaturedArticles(bgColour) {
/* Want to keep a square box for the featured articles */
document.write('<!-- Start: Container, ' + bgColour + ' -->');
document.write('<div class="ofContainer ofAlt4Border ofAltBorderColorD7 ' + bgColour + ' ofPad1">');
document.write(' <div class="ofTextBlock ofCallout ofAltBullet1 ofTextAncillary ofLastChild">');
document.write('  <h4 class="ofFirstChild">');
document.write('   <font color="#CE9E00">Featured Article(s)</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> <a href="ciw-article-detail.htm#10reasonsdrinkwater">10 reasons to use a Water Filter</a>');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/>  <a href="ciw-article-detail.htm#filteredbetterbottled">Why Filtered water is better than bottled water</a>');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> <a href="ciw-article-cont-detail.htm#Bacteria">Risks from bacteria</a>');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> <a href="ciw-article-cont-detail.htm#TurbityInWater">Turbity in Water</a>');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getMessageFeaturedProduct(bgColour)
PURPOSE: Display Featured Product HTML section
INPUT: bgColour = Background colour
*/
function getMessageFeaturedProduct(bgColour) { 
/* Want to keep a square box for the featured product */

setProductData();

/* Product = CIUC100 */
var prodNumber = 1;
var buttonNumber = 0;

var prodTitle = ItemName[prodNumber];
var prodModel = ItemNumber[prodNumber];
var prodDesc  = ItemDesc[prodNumber];
var imgLink   = ItemGIF[prodNumber];
var prodLink  = ItemDetail[prodNumber];
var prodPrice = ItemAmount[prodNumber];
var prodPriceFull = ItemAmountFull[prodNumber];
var inStockYN = ItemInStock[prodNumber];
var prodQty   = 1;

/* priceType = 0 (DIY_FULL), or 1(SINGLE_SET), etc. */
var priceType = 0;

document.write('<!-- Start: Container, ' + bgColour + ' -->');
document.write('<div class="ofContainer ofAlt4Border ofAltBorderColorD7 ' + bgColour + ' ofPad1">');
document.write(' <div class="ofTextBlock ofCallout ofAltBullet1 ofTextAncillary ofLastChild">');
document.write('  <h4 class="ofFirstChild">');
document.write('   <font color="#CE9E00">Featured Product(s)</font>');
document.write('  </h4>');
document.write('  <form name="_xclick" target="paypal" action="https://www.paypal.com" method="post">');

setCartHeaders();

document.write('   <ul class="ofLastChild">');
document.write('    <li>');
document.write('     In-Line Water Filter (MODEL#<a href="' + prodLink + '">CIUC100</a>)');
document.write('    </li>');
document.write('    <li>');

/* This line is specific to the featured product */
document.write('     <img src="images/product/DOULTON-PRODUCT-CIUC100-DTL2.jpg" alt="Featured Product: CIUC100" align="middle" />');
document.write('    </li>');
document.write('    <li>');
/* This line is specific to the featured product */
document.write('     In-line filters are highly robust as they are under water pressure all of the time.');
document.write('    </li>');
document.write('    <li>');
/* This line is specific to the featured product */
document.write('     They were originally designed to be fitted to the mains cold water pipe underneath the kitchen counter.');
document.write('    </li>');
document.write('    <li>&nbsp;</li>');

if (prodPriceFull == null || prodPriceFull.length == 0) {
   document.write('    <li>');
   document.write('     Price: €' + prodPrice);
   document.write('    </li>');
}
else {   
   document.write('    <li>');
   document.write('     <INPUT TYPE="radio" NAME="buyOption" VALUE="' + buttonNumber + 'DIY" checked onClick=0> €' + prodPrice + ' (DIY)');
   document.write('    </li>');
   document.write('    <li>');
   document.write('     <INPUT TYPE="radio" NAME="buyOption" VALUE="' + buttonNumber + 'FULL" onClick=0> €' + prodPriceFull + ' (Install)');
   document.write('    </li>');
}

if (inStockYN == "Y" ) {
   document.write('    <li>');
   document.write('     Quantity:  <input type="text" name="quantity_tmp" size="6" value="' + prodQty + '" />');
   document.write('    </li>');
   document.write('    <li>');
   document.write('     <INPUT TYPE="button" NAME="button" Value="Add to Cart" onClick="submitProduct(this.form, ' + priceType + ', ' + prodNumber + ', ' + buttonNumber + ')"> ');
   document.write('    </li>');
}
else {
   document.write('    Out of Stock');
}   

document.write('    <li>&nbsp;</li>');
document.write('    <li class="ofLastChild">');
document.write('     <a href="' + prodLink + '">Read more...</a>');
document.write('    </li>');
document.write('   </ul>');
document.write('  </form>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');
}



/* 
   --------------------------------------------------------
   General Research Articles
   --------------------------------------------------------
*/



/*
FUNCTION: getMsg10reasonswaterfilter()
PURPOSE: Display 10 reasons to use a water filter HTML section
INPUT: bgColour = Background colour
*/
function getMsg10reasonswaterfilter(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;10 reasons to use a Water Filter</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      <img src="images/gold1.gif" alt="bullet" align="absmiddle" /> In order to capitalize on the health benefits of water, it is essential to draw from a clean source of water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold2.gif" alt="bullet" align="absmiddle" /> Drinking impure, contaminated water is the leading cause of epidemic disease in developing countries.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold3.gif" alt="bullet" align="absmiddle" /> There are more than 2100 known drinking water contaminants that may be present in tap water, including several known poisons.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold4.gif" alt="bullet" align="absmiddle" /> Bottled water does not offer a viable alternative to tap water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold5.gif" alt="bullet" align="absmiddle" /> Municipal water treatment facilities cannot always control for the outbreak of dangerous bacterial contaminants in tap water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold6.gif" alt="bullet" align="absmiddle" /> The only way to ensure pure, contaminant-free drinking water is through the use of a point-of-use filtration system.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold7.gif" alt="bullet" align="absmiddle" /> Several types of cancer can be attributed to the presence of toxic materials in drinking water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold8.gif" alt="bullet" align="absmiddle" /> Clean, healthy drinking water is essential to a child’s proper mental and physical development.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold9.gif" alt="bullet" align="absmiddle" /> According to the EPA, lead in drinking water contributes to 480,000 cases of learning disorders in children each year in the United States alone.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold10.gif" alt="bullet" align="absmiddle" /> It is especially important for pregnant women to drink pure water as lead in drinking water can cause severe birth defects.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}



/*
FUNCTION: getMessageReasonsWaterFilter()
PURPOSE: Display 10 reasons to use a water filter HTML section (similar to above function)
INPUT: bgColour = Background colour
*/
function getMessageReasonsWaterFilter(bgColour) {
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;10 reasons to use a Water Filter</font>');
document.write('    </h2>');
document.write('    <ul class="ofAltBullet2">');
document.write('     <li>');
document.write('      <img src="images/gold1.gif" alt="bullet" align="absmiddle" /> In order to capitalize on the health benefits of water, it is essential to draw from a clean source of water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold2.gif" alt="bullet" align="absmiddle" /> Drinking impure, contaminated water is the leading cause of epidemic disease in developing countries.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold3.gif" alt="bullet" align="absmiddle" /> There are more than 2100 known drinking water contaminants that may be present in tap water, including several known poisons.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold4.gif" alt="bullet" align="absmiddle" /> Bottled water does not offer a viable alternative to tap water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold5.gif" alt="bullet" align="absmiddle" /> Municipal water treatment facilities cannot always control for the outbreak of dangerous bacterial contaminants in tap water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold6.gif" alt="bullet" align="absmiddle" /> The only way to ensure pure, contaminant-free drinking water is through the use of a point-of-use filtration system.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold7.gif" alt="bullet" align="absmiddle" /> Several types of cancer can be attributed to the presence of toxic materials in drinking water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold8.gif" alt="bullet" align="absmiddle" /> Clean, healthy drinking water is essential to a child’s proper mental and physical development.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold9.gif" alt="bullet" align="absmiddle" /> According to the EPA, lead in drinking water contributes to 480,000 cases of learning disorders in children each year in the United States alone.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold10.gif" alt="bullet" align="absmiddle" /> It is especially important for pregnant women to drink pure water as lead in drinking water can cause severe birth defects.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');

}



/*
FUNCTION: getMsg10reasonsdrinkwater()
PURPOSE: Display 10 reasons to drink water HTML section
INPUT: bgColour = Background colour
*/
function getMsg10reasonsdrinkwater(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;10 reasons to drink Water</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      <img src="images/gold1.gif" alt="bullet" align="absmiddle" /> Water is absolutely essential to the human body’s survival. A person can live for about a month without food, but only about a week without water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold2.gif" alt="bullet" align="absmiddle" /> Water helps to maintain healthy body weight by increasing metabolism and regulating appetite.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold3.gif" alt="bullet" align="absmiddle" /> Water leads to increased energy levels. The most common cause of daytime fatigue is actually mild dehydration.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold4.gif" alt="bullet" align="absmiddle" /> Drinking adequate amounts of water can decrease the risk of certain types of cancers, including colon cancer, bladder cancer, and breast cancer.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold5.gif" alt="bullet" align="absmiddle" /> For a majority of sufferers, drinking water can significantly reduce joint and/or back pain.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold6.gif" alt="bullet" align="absmiddle" /> Water leads to overall greater health by flushing out wastes and bacteria that can cause disease.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold7.gif" alt="bullet" align="absmiddle" /> Water can prevent and alleviate headaches.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold8.gif" alt="bullet" align="absmiddle" /> Water naturally moisturizes skin and ensures proper cellular formation underneath layers of skin to give it a healthy, glowing appearance.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold9.gif" alt="bullet" align="absmiddle" /> Water aids in the digestion process and prevents constipation.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/gold10.gif" alt="bullet" align="absmiddle" /> Water is the primary mode of transportation for all nutrients in the body and is essential for proper circulation.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}



/*
FUNCTION: getMsgfilteredbetterbottled()
PURPOSE: Display reasons why filtered water is better than bottled water HTML section
INPUT: bgColour = Background colour
*/
function getMsgfilteredbetterbottled(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;<font color="#CE9E00" size="3">Why Filtered water is better than bottled water</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The concerns of people over the quality and safety of tap water led to the growth of the bottled water industry. These concerns are as real as ever.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Bottled water is not a healthy alternative to tap water. Some brands are actually just tap water bottled. There are also additional risks from plastic bottles. Even if the water you choose is genuinely pure and health friendly the plastic bottle it’s been packaged in and the length of time it is stored before consumption can dramatically change its purity.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Water languishes in a plastic bottle at the manufactures, at the warehouse, at the distributor and then at the retailers. This leaves ample time for components to leach out from the plastic container. This is a real concern.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Also there is the subject of price. A home filtration system can produce an unlimited supply of fresh water literally on tap, for a fraction of the cost of bottled water. Not to mention the hassle you save yourself by not having to drag heavy bottles from the supermarket.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Water filters from Clean Irish Water can solve the problems of both tap and bottled water by providing healthy, fresh, clean water at an economical price.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}



/*
FUNCTION: getMsg20factswater()
PURPOSE: Display 20 facts about water HTML section
INPUT: bgColour = Background colour
*/
function getMsg20factswater(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;20 interesting facts about water</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Roughly 70% of our body is made up of water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The daily recommended intake of water is eight glasses per day.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Water dissolves more substances than any other liquid. Wherever it travels, water carries nutrients, minerals and chemicals with it.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The average person uses approximately 70 to 90 gallons per day.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> People only feel thirsty when dehydration has already occurred.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Approximately 70% of the earth’s surface is made up of water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Only 1% of the water on the earth is suitable for drinking.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Depression and fatigue are often symptoms of dehydration.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Water allows the body to metabolise fats more efficiently.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The best way to get rid of water retention is to drink a lot of water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Dehydration may cause contractions in pregnant women.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Good water intake keeps the skin firm and looking young.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Drinking water with your meal aids digestion.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Just a 2% drop in water levels in the body can cause a 20% drop in physical and mental performance.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Drinking water is one of the most effective means of good health.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> You could survive about a month without food but only survive 5 or 6 days without water.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> There are about 1.4 billion cubic kilometres of water on earth.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The water on the Earth today is the same as the water that was here when the Earth was formed. We just keep using it over and over again.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Two thirds of the water the family uses is used in the bathroom.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Soft drinks, tea, coffee etc. can contain caffeine. This can act as mild diuretic preventing water from travelling to the necessary parts of the body.  ');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}



/* 
   --------------------------------------------------------
   Research Articles for contaminants
   --------------------------------------------------------
*/



/*
FUNCTION: getMsgCryptosporidium()
PURPOSE: Display information about Cryptosporidium HTML section
INPUT: bgColour = Background colour
*/
function getMsgCryptosporidium(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;Cryptosporidium</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      Cryptosporidium is a protozoan, a single-celled parasite that lives in the intestines of animals and people. This microscopic pathogen causes a disease called cryptosporidiosis.');
document.write('     </li>');
document.write('     <li>');
document.write('      The dormant (inactive) form of Cryptosporidium called an oocyst is excreted in the feces (stool) of infected humans and animals. The tough walled oocysts survive under a wide range of environmental conditions and are resistant to chlorine and other disinfectants.');
document.write('     </li>');
document.write('     <li>');
document.write('      The oocysts are very small, about 3 microns in diameter or half the size of a red blood cell. Because of this small size water treatment plants cannot guarantee the removal of all cysts from the water.');
document.write('     </li>');
document.write('     <li>');
document.write('      In humans cryptosporidiosis causes abdominal pain, profuse diarrhea, weight loss, and loss of appetite. In those with a compromised immune system the infection is more serious. It can become chronic and sometimes fatal. There is no definitive cure for the disease.');
document.write('     </li>');
document.write('     <li>');
document.write('      Water can be filtered to remove cysts. Only filters with an “absolute” (not “nominal”) pore size of one micron or smaller will remove all the oocysts.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}



/*
FUNCTION: getMsgBacteria()
PURPOSE: Display information about Bacteria HTML section
INPUT: bgColour = Background colour
*/
function getMsgBacteria(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;Risks from bacteria</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      Theoretically if you are getting your water from the municipal supply you should be protected against bacteria.');
document.write('     </li>');
document.write('     <li>');
document.write('      The problem arises if the chlorination isn’t high enough. The piping system from the treatment plant to your home, plus your own house plumbing has bacterial growth happening in it all the time.');
document.write('     </li>');
document.write('     <li>');
document.write('      If your water is supplied by your own well then you are very vulnerable to bacterial contamination. Be sure that your well is constructed properly and is protected to prevent surface water from moving down the well casing into your drinking water supply.');
document.write('     </li>');
document.write('     <li>');
document.write('      Groundwater can be contaminated by disease producing pathogens, which come from landfills and septic systems, careless disposal of hazardous products, agricultural chemicals, and leaking underground storage tanks.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}



/*
FUNCTION: getMsgLead()
PURPOSE: Display information about Lead HTML section
INPUT: bgColour = Background colour
*/
function getMsgLead(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;Exposure to Lead</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      Exposure to even low levels of lead over an extended period of time can have severe effects.');
document.write('     </li>');
document.write('     <li>');
document.write('      It can damage your brain, kidneys, red blood cells and the nervous system. Those at the greatest risk are pregnant women and young children. Lead dosage that would not have a great effect on an adult can harm a small child, causing learning disabilities or stunted growth.');
document.write('     </li>');
document.write('     <li>');
document.write('      Almost all lead in drinking water comes from contact with building plumbing systems after it has left the water treatment plant or well. The water can come into contact with pipes, solder, fixtures, faucets, and fittings that might contain lead.');
document.write('     </li>');
document.write('     <li>');
document.write('      Lead plumbing is found primarily in older houses.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}



/*
FUNCTION: getMsgTurbityInWater()
PURPOSE: Display information about Turbity in water HTML section
INPUT: bgColour = Background colour
*/
function getMsgTurbityInWater(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;Turbidity in Water</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      Turbidity refers to how clear the water is. The greater the amount of total suspended solids in water, the murkier it appears and the higher the measured turbidity.');
document.write('     </li>');
document.write('     <li>');
document.write('      The major effect turbidity has on humans might be simply aesthetic – people don’t like the look of it. However, turbidity must be virtually eliminated for effective disinfection (usually by chlorine).');
document.write('     </li>');
document.write('     <li>');
document.write('      The suspended particles in the water also help the attachment of heavy metals, such as lead, and many other organic compounds and pesticides.');
document.write('     </li>');
document.write('     <li>');
document.write('      The World Health Organization states that the turbidity of drinking water shouldn’t be more than 5NTU’s and should be ideally be below 1NTU.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}



/*
FUNCTION: getMsgVOC()
PURPOSE: Display information about VOC HTML section
INPUT: bgColour = Background colour
*/
function getMsgVOC(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;Volatile Organic Compounds (VOC\’s)</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      Volatile organic compounds (VOC\’s) include chlorinated solvents and fuel components. They are widely used in industry and common household products.');
document.write('     </li>');
document.write('     <li>');
document.write('      VOC’s can move easily through the environment when improperly discarded onto the ground. These chemicals can travel downwards through the soil and eventually end up in the ground-water.');
document.write('     </li>');
document.write('     <li>');
document.write('      They are not usually found in drinking water that comes from a surface water source such as a lake, reservoir or stream as they tend to evaporate from the water into the air.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}



/*
FUNCTION: getMsgTHM()
PURPOSE: Display information about THM HTML section
INPUT: bgColour = Background colour
*/
function getMsgTHM(bgColour) { 
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofContainer ofRounded ' + bgColour + ' ofNoDropShadow">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofLeftSide">');
document.write('  <div class="ofWrapper">');
document.write('   <div class="ofTextBlock ofCallout ofAlt1 ofLastChild">');
document.write('    <h2 class="ofFirstChild">');
document.write('     <img src="images/star_a_15.gif" alt="bullet" align="absmiddle" />&nbsp;&nbsp;<font color="#CE9E00" size="3">&nbsp;Trihalomethanes (THM\’s)</font>');
document.write('    </h2>');
document.write('    <ul class="ofLastChild">');
document.write('     <li>');
document.write('      Trihalomethanes (THM\’s) are a group of chemicals that are formed when chlorine or other disinfectants used to control microbial contaminants in drinking water react with naturally occurring organic and inorganic matter in water.');
document.write('     </li>');
document.write('    </ul>');
document.write('   </div>');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- do not close -->');
document.write('  </div>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');
}
