/*
COPYRIGHT: 2007-2009.
AUTHOR: John Connolly.
PURPOSE: To maintain products, display product lists and detailed sections.
*/



/*
FUNCTION: setProductData()
PURPOSE: Centralised set arrays for all product data, to be used by other functions. 
*/
function setProductData() {

ItemName       = new Object();
ItemNumber     = new Object();
ItemDesc       = new Object();
ItemGIF        = new Object();
ItemDetail     = new Object();
ItemAmount     = new Object();
ItemAmountFull = new Object();
ItemInStock    = new Object();

/* PRODUCT=0   CATEGORY=Under Counter */
ItemName[0]        = "WATTS Microbiological Drinking Water Purifier";
ItemNumber[0]      = "WATTS-WP2-BVC";
ItemDesc[0]        = "The WATTS microbiological drinking water purifier offers dual-stage filtration to provide safe, great tasting drinking water for you and your family";
ItemGIF[0]         = "images/product/WATTS-PRODUCT-WP2-BVC.jpg";
ItemDetail[0]      = "ciw-product-detail-WP2BVC.htm";
ItemAmount[0]      = "159.00";
ItemAmountFull[0]  = "";
ItemInStock[0]     = "Y";

/* PRODUCT=1   CATEGORY=Under Counter */
ItemName[1]        = "Doulton CIUC100 Water Filter";
ItemNumber[1]      = "DOULTON-CIUC100";
ItemDesc[1]        = "The Doulton CIUC100 under counter filter unit is a filtration system designed for chemical and microbiological protection, which is self sterilising (Bacteriostatic).<p><img src=\"images/asterisks_gold.gif\" alt=\"bullet\" align=\"absmiddle\"/> It provides up to 300 litres/hour of refreshingly clean drinking water.</p><p><img src=\"images/asterisks_gold.gif\" alt=\"bullet\" align=\"absmiddle\"/> Easy to install and use.</p><p><img src=\"images/asterisks_gold.gif\" alt=\"bullet\" align=\"absmiddle\"/> No Power required.</p><p><img src=\"images/asterisks_gold.gif\" alt=\"bullet\" align=\"absmiddle\"/> Simple to maintain, wholly reliable.</p><p><img src=\"images/asterisks_gold.gif\" alt=\"bullet\" align=\"absmiddle\"/> Provides up to 4000 litres of filtered water before the filter cartridge needs replacing.</p>";
ItemGIF[1]         = "images/product/DOULTON-PRODUCT-CIUC100.jpg";
ItemDetail[1]      = "ciw-product-detail-CIUC100.htm";
ItemAmount[1]      = "159.00";
ItemAmountFull[1]  = "";
ItemInStock[1]     = "Y";

/* PRODUCT=2   CATEGORY=Counter Top */
ItemName[2]        = "Doulton CICT100 Water Filter";
ItemNumber[2]      = "DOULTON-CICT100";
ItemDesc[2]        = "The Doulton CICT100 is a Counter Top filtration unit which provides the same level of protection as the CIUC100 Under Counter unit. It\'s ideal for your home, rented accommodation, or holiday home. <p>Portable and lightweight, it\'s ideal for the frequent traveller, whether it be business or pleasure, as it fits easily in your suitcase or travel bag, ensuring you always have safe, clean drinking water, free from chemical contaminants and pathogenic bacteria and cysts, no matter where you are! </p><p>Especially useful when it might not be possible to alter plumbing or counter tops to install a dedicated drinking water faucet. Versatile and economical, it attaches to your faucet in seconds. <p>Comes complete with a 3 year guarantee.</p>";
ItemGIF[2]         = "images/product/DOULTON-PRODUCT-CICT100.jpg";
ItemDetail[2]      = "ciw-product-detail-CICT100.htm";
ItemAmount[2]      = "169.00";
ItemAmountFull[2]  = "";
ItemInStock[2]     = "Y";

/* PRODUCT=3   CATEGORY=Whole House */
ItemName[3]        = "Doulton RIO 2000 High Flow Multi Candle Filter Module";
ItemNumber[3]      = "DOULTON-RIO2000";
ItemDesc[3]        = "The Doulton RIO 2000 is a high flow, compact, ceramic whole house filter which filters ALL the water entering the house.<p>It Removes:</p><p><img src=\"images/asterisks_gold.gif\" alt=\"bullet\" align=\"absmiddle\"/> Pathogenuc Bacteria (E.Coli, Typhoid, Salmonella)</p><p><img src=\"images/asterisks_gold.gif\" alt=\"bullet\" align=\"absmiddle\"/> Cysts (<a href=\"ciw-article-cont-detail.htm#Cryptosporidium\">Cryptosporidium</a>, Giardia, etc.)</p><p><img src=\"images/asterisks_gold.gif\" alt=\"bullet\" align=\"absmiddle\"/> Sub Micron particle contamination</p><p>This is a modern alternative to a UV system which does not use electricity.";
ItemGIF[3]         = "images/product/DOULTON-PRODUCT-RIO2000.jpg";
ItemDetail[3]      = "ciw-product-detail-RIO2000.htm";
ItemAmount[3]      = "359.00";
ItemAmountFull[3]  = "";
ItemInStock[3]     = "Y";


/* CIUC100 and CICT100 should be fitted with Supercarb™ or Ultracarb™ filter candles.*/

/* PRODUCT=4   CATEGORY=Replacement Filter Cartridges */
ItemName[4]        = "";
ItemNumber[4]      = "";
ItemDesc[4]        = "";
ItemGIF[4]         = "";
ItemDetail[4]      = "";
ItemAmount[4]      = "";
ItemAmountFull[4]  = "";
ItemInStock[4]     = "N";

/* PRODUCT=5   CATEGORY=Replacement Filter Cartridges */
ItemName[5]        = "Doulton Supercarb™ Filter Cartridge";
ItemNumber[5]      = "DOULTON-SUPERCARB";
ItemDesc[5]        = "This Doulton filter cartridge can be used as a replacement for the <a href=\"ciw-product-detail-CIUC100.htm\">CIUC100</a> Under Counter filter unit and <a href=\"ciw-product-detail-CICT100.htm\">CICT100</a> Counter Top filtration unit";
ItemGIF[5]         = "images/product/DOULTON-FILTER-IMPERIAL.jpg";
ItemDetail[5]      = "ciw-product-detail-SUPERCARB.htm";
ItemAmount[5]      = "48.00";
ItemAmountFull[5]  = "";
ItemInStock[5]     = "Y";

/* PRODUCT=6   CATEGORY=Replacement Filter Cartridges */
ItemName[6]        = "Doulton Ultracarb™ Filter Cartridge";
ItemNumber[6]      = "DOULTON-ULTRACARB";
ItemDesc[6]        = "This Doulton filter cartridge can be used as a replacement for the <a href=\"ciw-product-detail-CIUC100.htm\">CIUC100</a> Under Counter filter unit and <a href=\"ciw-product-detail-CICT100.htm\">CICT100</a> Counter Top filtration unit";
ItemGIF[6]         = "images/product/DOULTON-FILTER-IMPERIAL.jpg";
ItemDetail[6]      = "ciw-product-detail-ULTRACARB.htm";
ItemAmount[6]      = "49.00";
ItemAmountFull[6]  = "";
ItemInStock[6]     = "Y";

/* PRODUCT=7   CATEGORY=Replacement Filter cartridges for Housings */
ItemName[7]        = "Doulton Sterasyl™ Candles";
ItemNumber[7]      = "DOULTON-STERASYL";
ItemDesc[7]        = "You need a set of 6 filter cartridges as a replacement for the <a href=\"ciw-product-detail-RIO2000.htm\">RIO2000</a> whole house units";
ItemGIF[7]         = "images/product/DOULTON-FILTER-STERASYL.jpg";
ItemDetail[7]      = "ciw-product-detail-STERASYL.htm";
ItemAmount[7]      = "15.00";   /* single candle */
ItemAmountFull[7]  = "89.00";  /* set of 6 candles */
ItemInStock[7]     = "Y";

/* PRODUCT=8   CATEGORY=Replacement Filter Cartridges */
ItemName[8]        = "Flow Pro 10\" x 2.5\" Filter Cartridge";
ItemNumber[8]      = "FPMB5-978";
ItemDesc[8]        = "This 5 micron sediment filter cartridge fits any industry standard 10\" x 2.5\" filter housing.<p>Can be used as a pre-filter for the <a href=\"ciw-product-detail-CIUC100.htm\">CIUC100</a> Under Counter filter unit if there is a large amount of sediment in your water to help protect the fine ceramic cartridge and extend it\'s life</p>";
ItemGIF[8]         = "images/product/FLOW-PRO-PRODUCT-MELT-BLOWN-FILTER.jpg";
ItemDetail[8]      = ""; /*ciw-product-detail-FPMB5-978.htm";*/
ItemAmount[8]      = "4.95";
ItemAmountFull[8]  = "";
ItemInStock[8]     = "Y";

/* PRODUCT=9   CATEGORY=Replacement Filter Cartridges */
ItemName[9]        = "WATTS 10\" x 2.5\" Carbon Block Filter Cartridge";
ItemNumber[9]      = "WATTS-WCBCS975";
ItemDesc[9]        = "This WATTS carbon block filter cartridge fits any industry standard 10\" x 2.5\" filter housing.<p>Can be used for chlorine, taste, odor and sediment reduction.</p>";
ItemGIF[9]         = "images/product/WATTS-PRODUCT-FILTER-WCBCS975.jpg";
ItemDetail[9]      = "ciw-product-detail-WCBCS975.htm";
ItemAmount[9]      = "24.00";
ItemAmountFull[9]  = "";
ItemInStock[9]     = "Y";

/* PRODUCT=10   CATEGORY=Replacement Filter Cartridges */
ItemName[10]        = "Flow Pro 10\" x 4.5\" Filter Cartridge";
ItemNumber[10]      = "FPMB-BB5-10";
ItemDesc[10]        = "This full flow 5 micron filter cartridge fits any industry standard 10\" x 4.5\" filter housing.<p>Can be used as a pre-filter for the <a href=\"ciw-product-detail-RIO2000.htm\">RIO2000</a> whole house units if there is a large amount of sediment in your water, to help protect the fine ceramic cartridges and extend their life</p>";
ItemGIF[10]         = "images/product/FLOW-PRO-PRODUCT-MELT-BLOWN-FILTER.jpg";
ItemDetail[10]      = ""; /* ciw-product-detail-FPMB5-BB5-10.htm"; */
ItemAmount[10]      = "15.95";
ItemAmountFull[10]  = "";
ItemInStock[10]     = "Y";

/* PRODUCT=11   CATEGORY=Replacement Filter Housings */
ItemName[11]        = "Filter Housing";
ItemNumber[11]      = "FH4200WW";
/*ItemDesc[11]        = "9-3/4\" x 2-1/2\" white filter housing for 1/4\" pipe can be used as a replacement for the <a href=\"ciw-product-detail-CIUC100.htm\">CIUC100</a> and <a href=\"ciw-product-detail-CICT100.htm\">CICT100</a>";*/
ItemDesc[11]        = "10\" x 2.5\" white filter housing can be used to add extra stages of filtration.<p>If your water has a high <a href=\"ciw-article-cont-detail.htm#TurbityInWater\">turbidity</a> or sediment it may be necessary to add a pre-sediment filter to your under counter filtration system (e.g. for <a href=\"ciw-product-detail-CIUC100.htm\">CIUC100</a>) to help extend its filters life.</p><p>Can be fitted with either a sediment or carbon block filter.</p><p>Comes complete with spanner, mounting bracket and screws.</p><p>Price excludes cartridge.</p>";
ItemGIF[11]         = "images/product/PRODUCT-HOUSING-4200.jpg";
ItemDetail[11]      = ""; /* ciw-product-detail-?.htm"; */
ItemAmount[11]      = "36.00";
ItemAmountFull[11]  = "";
ItemInStock[11]     = "Y";

/* PRODUCT=12   CATEGORY=Replacement Filter Housings */
ItemName[12]        = "Whole House Filter Housing";
ItemNumber[12]      = "FH5000BL34PR";
ItemDesc[12]        = "To add a pre-sediment filter to the <a href=\"ciw-product-detail-RIO2000.htm\">RIO2000</a> whole house unit for high sediment water.<p>Comes complete with: 10\" x 4.5\" industry standard Big Blue type housing with 3/4\" ports, 5 micron sediment filter cartridge, spanner for opening the housing, fixing bracket and screws.</p>";
ItemGIF[12]         = "images/product/PRODUCT-HOUSING-5000.jpg";
ItemDetail[12]      = ""; /* ciw-product-detail-?.htm"; */
ItemAmount[12]      = "139.00";
ItemAmountFull[12]  = "";
ItemInStock[12]     = "Y";

/*
-- PRODUCT=x   CATEGORY=Under Counter
ItemName[x]    = "Drinking Water Unit with Kwik-Change Cartridge";
ItemNumber[x]  = "WQCFU-AC";
ItemDesc[x]    = "10\" single cartridge with bracket, activated carbon block";
ItemGIF[x]     = "images/product/WATTS-PRODUCT-WQCFU-AC.jpg";
ItemDetail[x]  = "";
ItemAmount[x]  = "80.00";
ItemAmountFull[x]  = "";
ItemInStock[x] = "Y";

ItemName[x]    = "Drinking Water Unit with Kwik-Change Cartridge";
ItemNumber[x]  = "WQCFU-S";
ItemDesc[x]    = "10\" single cartridge with bracket, sediment";
ItemGIF[x]     = "images/product/WATTS-PRODUCT-WQCFU-AC.jpg";
ItemDetail[x]  = "";
ItemAmount[x]  = "80.00";
ItemAmountFull[x]  = "";
ItemInStock[x] = "Y";

ItemName[x]    = "Drinking Water Unit with Kwik-Change Cartridge";
ItemNumber[x]  = "WQCFU-D";
ItemDesc[x]    = "10\" dual system with bracket, sediment, activated carbon block";
ItemGIF[x]     = "images/product/WATTS-PRODUCT-WQCFU-D.jpg";
ItemDetail[x]  = "";
ItemAmount[x]  = "100.00";
ItemAmountFull[x]  = "";
ItemInStock[x] = "Y";

ItemName[x]    = "Drinking Water Unit with Kwik-Change Cartridge";
ItemNumber[x]  = "WQCFU-T";
ItemDesc[x]    = "10\" triple system with bracket, sediment, activated carbon block, hollow fibre membrane (UF)";
ItemGIF[x]     = "images/product/WATTS-PRODUCT-WQCFU-T.jpg";
ItemDetail[x]  = "";
ItemAmount[x]  = "140.00";
ItemAmountFull[x]  = "";
ItemInStock[x] = "Y";
*/

}



/*
FUNCTION: submitProduct()
PURPOSE: Submit a form to PayPal with the item name, item number, value, and quantity.
INPUT: form = name of the form.
       priceType = 0 (DIY_FULL), or 1(SINGLE_SET), etc.
       prodNumber = number of the product, will be used to get data for the array position.
       buttonNumber = number of the button in the form to allow the correct quantity value
                      to be found when multiple quantity fields and buttons in a form.  
*/
function submitProduct(form, priceType, prodNumber, buttonNumber) {
    
    /*alert("start submitProduct(), priceType = " + priceType + ", prodNumber = " + prodNumber + ", buttonNumber = " + buttonNumber);*/
             
    var Count=0;
    var priceFound=0;

    var button1 = 0;
    var button2 = 0;
    var button1Desc = "";
    var button2Desc = ""; 

    if (priceType == 0) {
        /* DIY and/or FULL buttons */
        button1 = buttonNumber + "DIY";
        button1Desc = "-DIY";
        button2 = buttonNumber + "FULL";
        button2Desc = "-FULL";
    }
    else if (priceType == 1) {
        /* SINGLE and/or SET6 buttons */
        button1 = buttonNumber + "SINGLE";
        button1Desc = "-SINGLE";
        button2 = buttonNumber + "SET6";
        button2Desc = "-SET6";
    }
    else {
        /* Default = DIY and/or FULL buttons */
        button1 = buttonNumber + "DIY";
        button1Desc = "-DIY";
        button2 = buttonNumber + "FULL"          
        button2Desc = "-FULL";
    }  
    
                        
    /* Need to find the correct price for DIY and FULL options */
    for (Count = 0; Count < 100; Count++) {

       if (form.buyOption != null && form.buyOption[Count] != null && form.buyOption[Count].checked) {
          /* Break if we have the correct product, check button value */
            
          /* alert("buyOption checked"); */
             
          if (form.buyOption[Count].value == button1) {     
             form.amount.value    = ItemAmount[prodNumber];
             form.item_name.value = ItemName[prodNumber] + button1Desc;
             form.item_number.value = ItemNumber[prodNumber] + button1Desc;
             /* alert("Price found for " + button1 + ", Item = " + form.item_number.value + ", Description = " + form.item_name.value); */ 
             priceFound=1; 
             break;
          }           
          else if (form.buyOption[Count].value == button2) {     
             form.amount.value    = ItemAmountFull[prodNumber]; 
             form.item_name.value = ItemName[prodNumber] + button2Desc;  
             form.item_number.value = ItemNumber[prodNumber] + button2Desc;
             /* alert("Price found for " + button2 + ", Item = " + form.item_number.value + ", Description = " + form.item_name.value); */  
             priceFound=1;        
             break;
          }  
       }
    }


    /* If radio buttons were not set, then only one price exists for the product */
    if (priceFound == 0) {
       /* alert("No price found, so set to " + ItemAmount[prodNumber]); */
       form.amount.value    = ItemAmount[prodNumber];
       form.item_name.value = ItemName[prodNumber];    
       form.item_number.value = ItemNumber[prodNumber];
       /* alert("Form item number = " + form.item_number.value + ", Description = " + form.item_name.value); */
    }
   
        
    var tmpQuantity = 0;
    var qtyType="NONE";
    var qtyOK="";
    
    /* Different methods for retrieving quantity values for single fields or multiple fields */
    if(form.elements.quantity_tmp.length == null || form.elements.quantity_tmp.length == 1) {
      /* alert("Form tmp quantity single = " + form.quantity_tmp.value); */ 
      tmpQuantity = form.quantity_tmp.value;
      qtyType="SINGLE";
    }
    else {
       /* alert ("form.elements.quantity_tmp.length = " + form.elements.quantity_tmp.length); */
       /* alert("Form tmp quantity " + buttonNumber + " = " + form.elements.quantity_tmp[buttonNumber].value); */   
       tmpQuantity = form.elements.quantity_tmp[buttonNumber].value;
       qtyType="GROUP";
    } 

    /* Need to validate user input on the form. The only user input is the quantity, so make sure it's at least 1 */
    if ((tmpQuantity==null)||(tmpQuantity=="")||(tmpQuantity<=0)){ 
       alert("Please enter a quantity greater than 0 (required)");
       qtyOK="FALSE";
    }
    else if (tmpQuantity>999) {
       /* Allow a maximum quantity of 999 */
       alert("Maximum quantity allowed is 999");          
       qtyOK="FALSE";
    }
    else {
       qtyOK="TRUE";
    }
       
    /* Problem with the quantity field, reset and focus back on the field */
    if (qtyOK=="FALSE") {  
       if (qtyType=="SINGLE") {
          form.quantity_tmp.value=1;
          form.quantity_tmp.focus() ;
       }
       else {
          form.elements.quantity_tmp[buttonNumber].value=1;
          form.elements.quantity_tmp[buttonNumber].focus();      
       }
       

       return false;
    } 
    else {
       /* Quantity is OK */
       form.quantity.value = tmpQuantity;
    }
      
      
    /* Validate other required information for PayPal in case a product is not setup correctly */
    if ((form.item_name.value==null)   ||(form.item_name.value=="")||
        (form.item_number.value==null) ||(form.item_number.value=="") ||
        (form.amount.value==null)      ||(form.amount.value=="")) {
        alert("Product is not available, please choose another product");
        return false;
    }
     
    /* All info is OK, so submit the form to PayPal */
    form.submit();
    
}



/*
FUNCTION: addProduct()
PURPOSE: Display specified product in the product list page.
INPUT: priceType = 0 (DIY_FULL), or 1(SINGLE_SET), etc.
       prodNumber = number of the product, will be used to get data for the array position.
       buttonNumber = number of the button for this product. 

*/
function addProduct(priceType, prodNumber, buttonNumber) { 

/* Get details for the specified product number */
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;

document.write('<!-- ' + prodNumber + ' -->');

document.write('<tr>');
document.write(' <td class="ofFirstChild">');

/* Add a link if information specified for the detailed product page */
if (prodLink == "") {
   /*document.write(prodTitle + ' (' + prodModel + ')');*/
   document.write(prodTitle);
   document.write('  <p>&nbsp;</p>');

   if (imgLink != "") {
      document.write('  <img src="' + imgLink + '" alt="Image for Product: ' + prodModel + '" align="center" />');      
   }
}
else {
   /*document.write('  <a href="' + prodLink + '">' + prodTitle + ' (' + prodModel + ')');*/
   document.write('  <a href="' + prodLink + '">' + prodTitle);
   document.write('  <p>&nbsp;</p>');

   if (imgLink != "") {
      document.write('  <img src="' + imgLink + '" alt="Image for Product: ' + prodModel + '" align="center" /></a>');      
   }
   else {
      document.write('  </a>');   
   }
}

document.write('  <div class="ofTextBlock ofAltBullet1 ofLastChild">');
document.write('   <p>&nbsp;</p>');
document.write('   <p>');
document.write(prodDesc);

if (prodLink != "") {
   document.write('   <p><a href="' + prodLink + '">Read more...</a></p>');
}

document.write('   </p>');
document.write('  </div>');
document.write(' </td>');
document.write(' <td class="ofLastChild">');
document.write('  <div class="ofTextBlock ofAltBullet1 ofLastChild">');
document.write('   <ul class="ofLastChild">');


document.write('    <li>');
document.write('     Model: ' + prodModel);
document.write('    </li>');
document.write('    <p>&nbsp;</p>')
   

/* If there is only one price for a product, specify it here, otherwise show the DIY and FULL prices */
if (prodPriceFull == null || prodPriceFull.length == 0) {
   document.write('    <li>');
   document.write('     Price: €' + prodPrice);
   document.write('    </li>');
}
else {   
   document.write('    <li>');
   document.write('     Pricing Options:');
   document.write('    </li>');
   document.write('    <li>');

   var button1 = 0;
   var button2 = 0;
   var button1Desc = "";
   var button2Desc = "";   
          
   if (priceType == 0) {
      /* DIY and/or FULL buttons */
      button1 = buttonNumber + "DIY";
      button1Desc = "DIY";
      button2 = buttonNumber + "FULL";
      button2Desc = "Install"; 
   }
   else if (priceType == 1) {
      /* SINGLE and/or SET6 buttons */
      button1 = buttonNumber + "SINGLE";
      button1Desc = "Single";
      button2 = buttonNumber + "SET6";
      button2Desc = "Set of 6"; 
   }
   else {
      /* Default = DIY and/or FULL buttons */
      button1 = buttonNumber + "DIY";
      button1Desc = "DIY";
      button2 = buttonNumber + "FULL";
      button2Desc = "Install";          
   } 
             
   document.write('     <INPUT TYPE="radio" NAME="buyOption" VALUE="' + button1 + '" checked onClick=0> €' + prodPrice + ' (' + button1Desc + ')');
   document.write('    </li>');
   document.write('    <li>');
   document.write('     <INPUT TYPE="radio" NAME="buyOption" VALUE="' + button2 + '" onClick=0> €' + prodPriceFull + ' (' + button2Desc + ')');




   document.write('    </li>');
}

document.write('    <p>&nbsp;</p>');

/* If the product is in stock, allow the user to enter quantity and click on add to cart button */
if (inStockYN == "Y" ) {
   document.write('    <li>');
   document.write('     Quantity:');
   
   document.write('     <input type="text" name="quantity_tmp" size="6" value="' + prodQty + '" />');

   document.write('    </li>');
   document.write('    <p>&nbsp;</p>');
   document.write('    <li class="ofLastChild">');
   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('   </ul>');
document.write('  </div>');

document.write(' </td>');
document.write('</tr>');

}



/*
FUNCTION: getAddToCart()
PURPOSE: Display a quantity and add to cart button for product detail page and for featured product section.
INPUT: bgColour = Background colour
       priceType = "DIY_FULL" or "SINGLE_SET" or "" which is default for "DIY_FULL".
       prodNumber = number of the product, will be used to get data for the array position.
       buttonNumber = number of the button for this product. 
*/
function getAddToCart(bgColour, priceType, prodNumber, buttonNumber) { 

/* Get relevant information for product number */
setProductData();

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;

document.write('<div class="ofHeading ofCenter">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Place an order!</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<form name="_xclick" target="paypal" action="https://www.paypal.com" method="post">');
document.write(' <!-- Start: Rounded container ' + bgColour + ' -->');
/*document.write(' <div class="ofTable ofTableRounded ' + bgColour + '">');*/
document.write(' <div class="ofTable ofTableRounded">');
document.write('  <div class="ofTop">');
document.write('   <div class="ofLeft">');
document.write('    <!-- dnc -->');
document.write('   </div>');
document.write('   <div class="ofRight">');
document.write('    <!-- dnc -->');
document.write('   </div>');
document.write('  </div>');
document.write('  <div class="ofWrapper">');
document.write('   <table cellspacing="0" class="ofLastChild">');
document.write('    <colgroup>');
document.write('     <col style="width: 50%" />');
document.write('     <col style="width: 50%" />');
document.write('    </colgroup>');
document.write('    <tbody>');


/* Set the required headers for the PayPal form */
setCartHeaders();


document.write('    <tr>');
document.write('     <td class="ofFirstChild" align="right">');
document.write('      Model:');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write(prodModel);
document.write('     </td>');
document.write('    </tr>');


/* If there is only one price for a product, specify it here, otherwise show the DIY and FULL prices */
if (prodPriceFull == null || prodPriceFull.length == 0) {
   document.write('    <tr>');
   document.write('     <td class="ofFirstChild" align="right">');
   document.write('      Price:');
   document.write('     </td>');
   document.write('     <td class="ofLastChild">');
   document.write('      €' + prodPrice);
   document.write('     </td>');
   document.write('    </tr>');
}
else {   

   var button1 = 0;
   var button2 = 0;
   var button1Desc = "";
   var button2Desc = "";   
          
   if (priceType == 0) {
      /* DIY and/or FULL buttons */
      button1 = buttonNumber + "DIY";
      button1Desc = "DIY";
      button2 = buttonNumber + "FULL";
      button2Desc = "Install"; 
   }
   else if (priceType == 1) {
      /* SINGLE and/or SET6 buttons */
      button1 = buttonNumber + "SINGLE";
      button1Desc = "Single";
      button2 = buttonNumber + "SET6";
      button2Desc = "Set of 6"; 
   }
   else {
      /* Default = DIY and/or FULL buttons */
      button1 = buttonNumber + "DIY";
      button1Desc = "DIY";
      button2 = buttonNumber + "FULL";
      button2Desc = "Install";          
   } 

   document.write('    <tr>');
   document.write('     <td class="ofFirstChild" align="right">');
   document.write('      <INPUT TYPE="radio" NAME="buyOption" VALUE="' + button1 + '" checked onClick=0>');
   document.write('     </td>');
   document.write('     <td class="ofLastChild">');
   document.write('      €' + prodPrice + ' (' + button1Desc + ')');
   document.write('     </td>');
   document.write('    </tr>');
   document.write('    <tr>');
   document.write('     <td class="ofFirstChild" align="right">');
   document.write('      <INPUT TYPE="radio" NAME="buyOption" VALUE="' + button2 + '" onClick=0>');
   document.write('     </td>');
   document.write('     <td class="ofLastChild">');
   document.write('      €' + prodPriceFull + ' (' + button2Desc + ')');
   document.write('     </td>');
   document.write('    </tr>');

}

/* If the product is in stock, allow the user to enter quantity and click on add to cart button */
if (inStockYN == "Y" ) {
   document.write('    <tr>');
   document.write('     <td class="ofFirstChild" align="right">');
   document.write('      Quantity:');
   document.write('     </td>');
   document.write('     <td class="ofLastChild">');
   document.write('      <input type="text" name="quantity_tmp" size="6" value="' + prodQty + '" />');
   document.write('     </td>');
   document.write('    </tr>');

   document.write('    <tr>');
   document.write('     <td class="ofFirstChild">&nbsp;</td>');
   document.write('     <td class="ofLastChild">');
   document.write('      <INPUT TYPE="button" NAME="button" Value="Add to Cart" onClick="submitProduct(this.form, ' + priceType + ', ' + prodNumber + ', ' + buttonNumber + ')"> ');   
   document.write('     </td>');
   document.write('    </tr>');   
   

   document.write('   </tbody>');
   document.write('  </table>');

}
else {
   document.write('    <tr>');
   document.write('     <td class="ofFirstChild" align="right">');
   document.write('      Quantity:');
   document.write('     </td>');
   document.write('     <td class="ofLastChild">');
   document.write('      Out of stock');
   document.write('     </td>');
   document.write('   </tbody>');
   document.write('  </table>');
}   

document.write('   </div>');
document.write('  </form>');


document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');

}



/*
FUNCTION: addProductCategory()
PURPOSE: Display a product category and description.
INPUT: categoryName = Category Name.
       categoryDesc = Category Description.
       categoryURL = Link to the category detailed information.
*/
function addProductCategory(categoryName, categoryDesc, categoryURL) { 

document.write('<!-- CATEGORY ' + categoryName + ' -->');
document.write('<tr>');
document.write(' <td class="ofFirstChild">');
document.write(categoryName);
document.write(' </td>');
document.write(' <td class="ofLastChild">');
document.write('  <div class="ofTextBlock ofAltBullet1 ofLastChild">');
document.write('   <p>');
document.write('    <a href="' + categoryURL + '">' + categoryDesc + '</a> ');
document.write('   </p>');
document.write('  </div>');
document.write(' </td>');
document.write('</tr>');

}



/*
FUNCTION: getProductBenefitsTable()
PURPOSE: Display a benefits table, with columns for all products, or just individual column for a specific product, as specified by displayType.
INPUT: displayType = "ALL"/NULL, or "CIUC100", or "CICT100", or "RIO2000". 
       bgColour = Background colour
*/
function getProductBenefitsTable(bgColour, displayType) 
{

document.write('<!-- Start: Rounded container -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table summary="Benefits of products" cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');

if (displayType == "ALL") {
   document.write('    <col style="width: 85" />');
   document.write('    <col style="width: 5%" />');
   document.write('    <col style="width: 5%" />');
   document.write('    <col style="width: 5%" />');
}
else {
   document.write('    <col style="width: 90" />');
   document.write('    <col style="width: 10%" />');
}

document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th scope="col" class="ofFirstChild ' + bgColour + '">');


if (displayType == "CIUC100") {
   document.write('      <font color="#CE9E00" size="3">This Clean Irish Water residential Under Counter water filtration system will…</font>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="CIUC 100" class="ofLastChild ' + bgColour + '">CIUC 100</th>');
} 
else if (displayType == "CICT100") {
   document.write('      <font color="#CE9E00" size="3">This Clean Irish Water residential Counter Top water filtration system will…</font>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="CICT 100" class="ofLastChild ' + bgColour + '">CICT 100</th>');
}
else if (displayType == "RIO2000") {
   document.write('      <font color="#CE9E00" size="3">This Clean Irish Water residential Whole House water filtration system will…</font>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="RIO 2000" class="ofLastChild ' + bgColour + '">RIO 2000</th>');
}
else if (displayType == "ALL") {
   document.write('      <font color="#CE9E00" size="3">Which of these Clean Irish Water residential Under counter, Counter top and Whole house water filtration systems will…</font>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="CIUC 100" class="' + bgColour + '">');
   document.write('      Under Counter Unit -<a href="ciw-product-detail-CIUC100.htm"> CIUC 100</a>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="CICT 100" class="' + bgColour + '">');
   document.write('      Counter Top Unit -<a href="ciw-product-detail-CICT100.htm"> CICT 100</a>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="RIO 2000" class="ofLastChild ' + bgColour + '">');
   document.write('      Whole House Unit -<a href="ciw-product-detail-RIO2000.htm">RIO 2000</a>');
   document.write('     </th>');
}
else {
   document.write('     <th scope="col" class="' + bgColour + '">&nbsp;</th>');
}

document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Remove <a href="ciw-article-cont-detail.htm#TurbityInWater">turbidity</a> from my drinking water?');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('      <td class="ofLastChild">');
   document.write('       <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('      </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('      <td class="ofLastChild">');
   document.write('       <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('      </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('      <td class="ofLastChild">');
   document.write('       <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('      </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Solve my common taste and water odour problems, like those of chlorine and sulfur?');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/closex_red.gif" alt="no" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Reduce dissolved <a href="ciw-article-cont-detail.htm#Lead">lead</a> below EPA standards?');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/closex_red.gif" alt="no" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Reduce particulate <a href="ciw-article-cont-detail.htm#Lead">lead</a> below 0.5 micron absolute ANSI standard?');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Remove 100% of parasitic cysts, such as Giardia, Entamoeba and <a href="ciw-article-cont-detail.htm#Cryptosporidium">Cryptosporidium?</a>');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Reduce particulates like rust, dirt, oxidized iron and asbestos in water?');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Removes pathogenic <a href="ciw-article-cont-detail.htm#Bacteria">bacteria</a> such as fecal, cholerae, salmonella etc. >99.99%?');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Exceeds NSF/EPA standards for live cysts reduction?');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Reduce <a href="ciw-article-cont-detail.htm#VOC">VOCs (volatile organic chemicals)</a>, pesticides, herbicides and industrial solvents?');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Prevents <a href="ciw-article-cont-detail.htm#Bacteria">bacterial</a> growth and multiplication on the water filter cartridge?');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr class="ofLastChild">');
document.write('     <td class="ofFirstChild">');
document.write('      Provides better biological protection than RO, ultraviolet (UV) and <a href="ciw-article-detail.htm#filteredbetterbottled">bottled water?</a>');
document.write('     </td>');

if (displayType == "CIUC100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "CICT100" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "RIO2000" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getCIUC100Summary()
PURPOSE: Display summary section for product CIUC100. 
INPUT: bgColour = Background colour
*/
function getCIUC100Summary(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">CIUC100 Water Filter Details</font>');
document.write(' </h2>');
document.write('</div>');
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('    <p>');
document.write('     In-line filters are highly robust as they are under water pressure all of the time. They were originally designed to be fitted to the mains cold water pipe underneath the kitchen counter. In addition to being used in the home, FICL\’s in-line filters have proved very popular within the water cooler industry. They are easy to incorporate into cooler plumbing.');
document.write('    </p>');
document.write('    <p>');
document.write('     Made from food grade acetal and polyester, the CIUC100 is a cost effective and easy to use filter unit. It can be used either to filter all cold water running into the kitchen sink, or to provide filtered drinking water via a separate faucet.');
document.write('    </p>');
document.write('    <ul class="ofAltBullet2 ofLastChild">');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Ideal for kitchen (under sink), water cooler, or water fountain installation.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Up to 300 litres per hour of refreshingly clean drinking water on tap.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Easy to install and use. Simple to maintain. Wholly reliable.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> No power required. Protecting you whether or not power is available.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Fitted with long life, cleanable, ceramic filters giving you extra value.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The CIUC100 should be fitted with <a href="ciw-product-detail-SUPERCARB.htm">Supercarb™</a> or <a href="ciw-product-detail-ULTRACARB.htm">Ultracarb™</a> filter candles.');
document.write('     </li>');
document.write('     <li>&nbsp;');
document.write('     </li>');
document.write('     <li>');
document.write('      <b>Filters out:</b>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> <a href="ciw-article-cont-detail.htm#Bacteria">Pathogenic Bacteria</a> (cholera, typhoid, salmonella, E-coli, etc.).');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Giardia, <a href="ciw-article-cont-detail.htm#Cryptosporidium">Cryptosporidium</a>, and other chlorine resistant parasites.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Particles such as rust down to 0.5 microns in size.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Chlorine to improve taste and odour (when fitted with a <a href="ciw-product-detail-SUPERCARB.htm">Supercarb™</a> or <a href="ciw-product-detail-ULTRACARB.htm">Ultracarb™</a> filter).');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Harmful heavy metals such as <a href="ciw-article-cont-detail.htm#Lead">lead</a> (when fitted with an <a href="ciw-product-detail-ULTRACARB.htm">Ultracarb™</a> filter).');
document.write('     </li>');
document.write('     </li>');
document.write('     <li>&nbsp;');
document.write('     </li>');
document.write('    </ul>');
document.write('    <p>');
document.write('     CIUC100 is for use on all pressurised water supplies up to a maximum pressure of 100 psi.');
document.write('    </p>');
document.write('    <p>');
document.write('     Should be fitted with any 10\" long x 2\" diameter short mount filter candle.');
document.write('    </p>');
document.write('    <p>');
document.write('     Ceramic filter candles can be scrubbed clean to extend their life.');
document.write('    </p>');
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: getCIUC100Technical()
PURPOSE: Display technical details section for product CIUC100.
INPUT: bgColour = Background colour
*/
function getCIUC100Technical(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Technical Details</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 50%" class="' + bgColour + '" />');
document.write('    <col style="width: 25%" />');
document.write('    <col style="width: 25%" />');
document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th class="ofFirstChild ' + bgColour + '">');
document.write('      Model');
document.write('     </th>');
document.write('     <th class="' + bgColour + '">');
document.write('      CIUC100');
document.write('     </th>');
document.write('     <th class="ofLastChild ' + bgColour + '">');
document.write('      CIUC100 DIY');
document.write('     </th>');
document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Typical Output');
document.write('     </td>');
document.write('     <td>');
document.write('      300 (L/hr)');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      300 (L/hr)');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Max Operating Pressure');
document.write('     </td>');
document.write('     <td>');
document.write('      100 psi');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      100 psi');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Max Operating Temperature');
document.write('     </td>');
document.write('     <td>');
document.write('      38° C');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      38° C');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');;
document.write('      Connections');
document.write('     </td>');
document.write('     <td>');
document.write('      3/8\" push fit');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      3/8\" push fit');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getCIUC100FilterCandle()
PURPOSE: Display filter candle section for product CIUC100. 
INPUT: bgColour = Background colour
*/
function getCIUC100FilterCandle(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Filter Candle Grade Choice</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 60%" class="' + bgColour + '" />');
document.write('    <col style="width: 20%" />');
document.write('    <col style="width: 20%" />');
document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th class="ofFirstChild ' + bgColour + '">');
document.write('      &nbsp;');
document.write('     </th>');
document.write('     <th class="' + bgColour + '">');
document.write('      <a href="ciw-product-detail-SUPERCARB.htm">Super- Carb™</a>');
document.write('     </th>');
document.write('     <th class="ofLastChild ' + bgColour + '">');
document.write('      <a href="ciw-product-detail-ULTRACARB.htm">Ultra- Carb™</a>');
document.write('     </th>');
document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Pathogenic <a href="ciw-article-cont-detail.htm#Bacteria">bacteria</a>, <a href="ciw-article-cont-detail.htm#Cryptosporidium">Cryptosporidium</a>, Giardia, etc.');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Particles down to 0.5 microns');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Chlorine (improve taste and odour)');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Organics');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      <a href="ciw-article-cont-detail.htm#Lead">Lead</a> and heavy metals');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/closex_red.gif" alt="no" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getCIUC100Guarantee()
PURPOSE: Display guarantee section for product CIUC100. 
*/
function getCIUC100Guarantee() { 
document.write('<p>&nbsp;</p>');
document.write('<div class="ofHeading">');
document.write('*This CIUC100 Filter comes with a lifetime guarantee.<br>');
document.write('* Providing the filter element is purchased from Clean Irish Water, as per maintenance instructions, all parts, except the element, will be covered by our “no quibble” guarantee.');
document.write('</div>');

}



/*
FUNCTION: getCIUC100Install()
PURPOSE: Display install instructions section for product CIUC100. 
INPUT: bgColour = Background colour
*/
function getCIUC100Install(bgColour) { 
/* Square box */
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">Typical installation</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li>');
document.write('    Easy to install and use, space saving design.');
document.write('   </li>');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/DOULTON-PRODUCT-CIUC100-DTL2.jpg" alt="Product: Under Counter Water Filter CUIC100" align="absmiddle" />');
document.write('   </li>');
document.write('   <li>&nbsp;');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getCIUC100Dimensions()
PURPOSE: Display dimension information section for product CIUC100. 
INPUT: bgColour = Background colour
*/
function getCIUC100Dimensions(bgColour) { 
/* Square box */
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">Product Dimensions</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li>');
document.write('    Filter is 330mm in height, 80mm in width');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/product/DOULTON-PRODUCT-CIUC100-DTL3.jpg" alt="Product: Under Counter Water Filter CUIC100" align="absmiddle" />');
document.write('   </li>');
document.write('   <li>&nbsp;');
document.write('   </li>');
document.write('   <li>');
document.write('    Full DIY kit is available for simple installation with no plumbing expertise');
document.write('   </li>');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/DOULTON-PRODUCT-CIUC100-DTL4.jpg" alt="Product: Under Counter Water Filter CUIC100" align="absmiddle" />');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getCICT100Summary()
PURPOSE: Display summary section for product CICT100. 
INPUT: bgColour = Background colour
*/
function getCICT100Summary(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">CICT100 Water Filter Details</font>');
document.write(' </h2>');
document.write('</div>');
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('    <p>');
document.write('     Counter top filters are very popular with people who want very easy access to their water filters, and also in areas of the world where people are keen to demonstrate that their water is filtered.');
document.write('    </p>');
document.write('    <p>');
document.write('     The CICT100 is extremely easy to install and uninstall, making it portable. It is the ideal solution for people who move house on a regular basis, for example students, business people, or diplomats.');
document.write('    </p>');
document.write('    <p>');
document.write('     The CICT100 attaches to the existing mixer tap in the kitchen via a diverter valve. In one position, this valve enables unfiltered water to run directly into the sink. In the other position, it passes water into the filter unit and filtered water comes out of the outlet arm on the CICT100 unit.');
document.write('    </p>');
document.write('    <ul class="ofAltBullet2 ofLastChild">');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Up to 300 litres per hour of refreshingly clean drinking water on tap.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> No power required. Protecting you whether or not power is available.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The CICT100 comes with an adaptor pack so that it should fit most common types of tap. Simple to maintain. Wholly reliable.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Fitted with long life, cleanable, ceramic filters giving you extra value.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The CICT100 should be fitted with <a href="ciw-product-detail-SUPERCARB.htm">Supercarb™</a> or <a href="ciw-product-detail-ULTRACARB.htm">Ultracarb™</a> filter candles.');
document.write('     </li>');
document.write('     <li>&nbsp;');
document.write('     </li>');
document.write('     <li>');
document.write('      <b>Filters out:</b>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Pathogenic <a href="ciw-article-cont-detail.htm#Bacteria">Bacteria</a> (cholera, typhoid, salmonella, E-coli, etc.).');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Giardia, <a href="ciw-article-cont-detail.htm#Cryptosporidium">Cryptosporidium</a>, and other chlorine resistant parasites.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Particles such as rust down to 0.5 microns in size.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Chlorine to improve taste and odour (when fitted with a <a href="ciw-product-detail-SUPERCARB.htm">Supercarb™</a> or <a href="ciw-product-detail-ULTRACARB.htm">Ultracarb™</a> filter).');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Harmful heavy metals such as <a href="ciw-article-cont-detail.htm#Lead">lead</a> (when fitted with an <a href="ciw-product-detail-ULTRACARB.htm">Ultracarb™</a> filter).');
document.write('     </li>');
document.write('     <li>&nbsp;');
document.write('     </li>');
document.write('    </ul>');
document.write('    <p>');
document.write('     CICT100 is designed for use as a countertop filter and is connected to the mixer tap via a diverter valve.');
document.write('    </p>');
document.write('    <p>');
document.write('     Should be fitted with any 10\" long x 2\" diameter short mount filter candle.');
document.write('    </p>');
document.write('    <p>');
document.write('     Ceramic filter candles can be scrubbed clean to extend their life.');
document.write('    </p>');
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: getCICT100Technical()
PURPOSE: Display technical details section for product CICT100. 
INPUT: bgColour = Background colour
*/
function getCICT100Technical(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Technical Details</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 70%" class="' + bgColour + '" />');
document.write('    <col style="width: 30%" />');
document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th class="ofFirstChild ' + bgColour + '">');
document.write('      Model');
document.write('     </th>');
document.write('     <th class="ofLastChild ' + bgColour + '">');
document.write('      CICT100');
document.write('     </th>');
document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Typical Output');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      300 (L/hr)');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Max Operating Pressure');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      100 psi');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Max Operating Temperature');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      38° C');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Height');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      290 mm');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Connections');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      3/8\" push fit');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getCICT100FilterCandle()
PURPOSE: Display filter candle section for product CICT100.
INPUT: bgColour = Background colour 
*/
function getCICT100FilterCandle(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Filter Candle Grade Choice</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 60%" class="' + bgColour + '" />');
document.write('    <col style="width: 20%" />');
document.write('    <col style="width: 20%" />');
document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th class="ofFirstChild ' + bgColour + '">');
document.write('      &nbsp;');
document.write('     </th>');
document.write('     <th class="' + bgColour + '">');
document.write('      <a href="ciw-product-detail-SUPERCARB.htm">Super- Carb™</a>');
document.write('     </th>');
document.write('     <th class="ofLastChild ' + bgColour + '">');
document.write('      <a href="ciw-product-detail-ULTRACARB.htm">Ultra- Carb™</a>');
document.write('     </th>');
document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Pathogenic <a href="ciw-article-cont-detail.htm#Bacteria">bacteria</a>, <a href="ciw-article-cont-detail.htm#Cryptosporidium">Cryptosporidium</a>, Giardia, etc.');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Particles down to 0.5 microns');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Chlorine (improve taste and odour)');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Organics');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      <a href="ciw-article-cont-detail.htm#Lead">Lead</a> and heavy metals');
document.write('     </td>');
document.write('     <td>');
document.write('      <img src="images/closex_red.gif" alt="no" align="absmiddle" />');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getCICT100Guarantee()
PURPOSE: Display guarantee section for product CICT100. 
*/
function getCICT100Guarantee() { 
document.write('<p>&nbsp;</p>');
document.write('<div class="ofHeading">');
document.write('*This CICT100 Filter comes with a 3 year guarantee.<br>');
document.write('* Providing the filter element is purchased from Clean Irish Water, as per maintenance instructions, all parts, except the element, will be covered by our “no quibble” guarantee.');
document.write('</div>');

}



/*
FUNCTION: getCICT100Install()
PURPOSE: Display install instructions section for product CICT100. 
INPUT: bgColour = Background colour
*/
function getCICT100Install(bgColour) { 
/* Square box */
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">Typical Installation</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li>');
document.write('    Versatile and economical, it attaches to your faucet in seconds.');
document.write('   </li>');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/DOULTON-PRODUCT-CICT100-DTL2.jpg" alt="Product: Counter Top Filter Unit CICT100" align="absmiddle" />');
document.write('   </li>');
document.write('   <li>&nbsp;');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getCICT100Dimensions()
PURPOSE: Display dimension information section for product CICT100. 
INPUT: bgColour = Background colour
*/
function getCICT100Dimensions(bgColour) { 

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">Close-up view</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li>');
document.write('    <img src="images/product/DOULTON-PRODUCT-CICT100-DTL3.jpg" alt="Product: Counter Top Filter Unit CICT100" align="absmiddle" />');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getWP2BVCSummary()
PURPOSE: Display summary section for product WP2-BVC. 
INPUT: bgColour = Background colour
*/
function getWP2BVCSummary(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">WP2-BVC Microbiological Drinking Water Purifier Details</font>');
document.write(' </h2>');
document.write('</div>');
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('    <p>');
document.write('     The WATTS microbiological drinking water purifier offers dual-stage filtration to provide safe, great tasting drinking water for you and your family. The system is an excellent alternative to reverse osmosis technology because it\'s easy to install, easy to service and highly affordable.');
document.write('    </p>');
document.write('    <p>');
document.write('     The patented, microbiological filter provides a physical barrier to prevent bacteria, virus and cysts from flowing through the filter in the presence of microbiological contamination. In addition, proprietary ingredients are added to the carbon block to increase removal efficiencies and provide additional protection from harmful water contaminants.'); 
document.write('    </p>');
document.write('    <p>&nbsp;</p>');
document.write('    <p>');
document.write('     <b>Features and Benefits</b>');
document.write('    </p>');
document.write('    <ul class="ofAltBullet2 ofLastChild">');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Multi-stage treatment for safe drinking water:');
document.write('     </li>');
document.write('     <li>');
document.write('      &nbsp;&nbsp;&nbsp;1. Five micron pre-filter to reduce sediment, dirt, rust particles, silt and suspended matter.');
document.write('     </li>');
document.write('     <li>');
document.write('      &nbsp;&nbsp;&nbsp;2. Enhanced carbon block to reduce chlorine, taste and odors with patented, bacteriostatic fail-safe chemistry, to reduce <a href="ciw-article-cont-detail.htm#Bacteria">bacteria</a>, virus and cysts, without the use of membrane technology.');
document.write('     </li>');
document.write('     <li>&nbsp;');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Reduces chlorine, tastes and odors.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> <a href="http://nsf.com">NSF</a> certified and independent lab tested.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Model WP2-BVC includes the complete system for under counter installation, including designer, top mount faucet for safe drinking 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 + ' -->');

}


/*
FUNCTION: getWP2BVCTechnical()
PURPOSE: Display technical details section for product WP2-BVC. 
INPUT: bgColour = Background colour
*/
function getWP2BVCTechnical(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Technical Details</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 40%" class="' + bgColour + '" />');
document.write('    <col style="width: 30%" />');
document.write('    <col style="width: 30%" />');
document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th class="ofFirstChild ' + bgColour + '">');
document.write('      &nbsp;');
document.write('     </th>');
document.write('     <th class="' + bgColour + '">');
document.write('      Minimum');
document.write('     </th>');
document.write('     <th class="ofLastChild ' + bgColour + '">');
document.write('      Maximum');
document.write('     </th>');
document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Operating Temperature');
document.write('     </td>');
document.write('     <td>');
document.write('      40° F (4.4° C)');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      100° F (37.8° C)');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Operating Water Pressure');
document.write('     </td>');
document.write('     <td>');
document.write('      20-psi');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      85-psi (5.98 kg/cm2)');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Maximum Flow Rate');
document.write('     </td>');
document.write('     <td>');
document.write('      &nbsp;');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      0.50 gpm (1.89 lpm)');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Rated Capacity');
document.write('     </td>');
document.write('     <td>');
document.write('      &nbsp;');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      2000 Gallons (7,500 liters)');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getWP2BVCCertified()
PURPOSE: Display certified information section for product WP2-BVC. 
INPUT: bgColour = Background colour
*/
function getWP2BVCCertified(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Certified For</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 50%" class="' + bgColour + '" />');
document.write('    <col style="width: 50%" />');
document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th class="ofFirstChild">');
document.write('      Contaminant');
document.write('     </th>');
document.write('     <th class="ofLastChild ' + bgColour + '">');
document.write('      % Reduction');
document.write('     </th>');
document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Chlorine');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      98%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      <a href="ciw-article-cont-detail.htm#Bacteria">Bacteria</a>');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      99.9999%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Virus');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      99.99%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Cyst');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      99.95%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      <a href=\"ciw-article-cont-detail.htm#Cryptosporidium\">Cryptosporidium</a>');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      99.95%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Entamoeba');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      99.95%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Giardia');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      99.95%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Toxoplasma');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      99.95%');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');

}



/*
FUNCTION: getWP2BVCRemoves()
PURPOSE: Display contaminants removed information section for product WP2-BVC. 
INPUT: bgColour = Background colour
*/
function getWP2BVCRemoves(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Removes</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th class="ofFirstChild ofLastChild ' + bgColour + '">');
document.write('      Contaminant');
document.write('     </th>');;
document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      Salmonella');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      E-Coli');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      Cholera');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      Hepatitis A');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      Norwalk');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      Toxoplasma');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      Virus (enteric)');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      Legionella');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      Giardia');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      <a href=\"ciw-article-cont-detail.htm#Cryptosporidium\">Cryptosporidium</a>');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      Entamoeba');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild ofLastChild">');
document.write('      And more!');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');

}



/*
FUNCTION: getWP2BVCGuarantee()
PURPOSE: Display guarantee section for product WP2-BVC. 
*/
function getWP2BVCGuarantee() { 

;

}



/*
FUNCTION: getWP2BVCInstall()
PURPOSE: Display install instructions section for product WP2-BVC. 
INPUT: bgColour = Background colour
*/
function getWP2BVCInstall(bgColour) { 
/* Square box */
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">Installation</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/WATTS-PRODUCT-WP2-BVC-DTL2.jpg" alt="Product: Counter Top Filter Unit WP2BVC" align="absmiddle" />');
document.write('   </li>');
document.write('   <li>&nbsp;');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getWP2BVCCloseUp()
PURPOSE: Display close up view section for product WP2-BVC. 
INPUT: bgColour = Background colour
*/
function getWP2BVCCloseUp(bgColour) { 
/* Square box */
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">Close-up View</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/WATTS-PRODUCT-WP2-BVC-X.jpg" alt="Product: Counter Top Filter Unit WP2BVC" align="absmiddle" />');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getWP2BVCDimensions()
PURPOSE: Display dimension information section for product WP2-BVC. 
INPUT: bgColour = Background colour
*/
function getWP2BVCDimensions(bgColour) { 

;

}


/*
FUNCTION: getRIO2000Summary()
PURPOSE: Display summary section for product RIO2000. 
INPUT: bgColour = Background colour
*/
function getRIO2000Summary(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">RIO 2000 High Flow Multi Candle Filter Details</font>');
document.write(' </h2>');
document.write('</div>');
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('    <p>');
document.write('     The unique 6 element filter module fits most industry standard 10\" “Big Blue” type housings. This gives you the option of upgrading installed filter housings with a ceramic filter module, or supplying a complete housing and module package.');
document.write('    </p>');
document.write('    <ul class="ofAltBullet2 ofLastChild">');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Filters you can trust - Ceramic filter elements manufactured in the UK under ISO conditions to meet international drinking water requirements.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Upgrade - filter module fits most industry standard 10\" “Big Blue” type filter housings.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> High flow - Filter module offers a superior flow rate of up to 520 gallons (2000 litres) per hour at 3 bar pressure.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Excellent water flow even in low water pressure areas.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> An added value alternative to UV water treatment systems, which does not require electricity.');
document.write('     </li>');
document.write('     <li>&nbsp;');
document.write('     </li>');
document.write('     <li>');
document.write('      <b>Ceramic filters remove:</b>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> <a href="ciw-article-cont-detail.htm#Bacteria">Pathogenic Bacteria</a> (E-coli, Cholera, Typhoid, Salmonella, etc.).');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Cysts (<a href="ciw-article-cont-detail.htm#Cryptosporidium">Cryptosporidium</a>, Giardia, etc.).');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Sub micron particle contamination.');
document.write('     </li>');
document.write('     <li>&nbsp;');
document.write('     </li>');
document.write('     <li>');
document.write('      <b>Replacement Candles:</b>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The Rio 2000 Multi Candle Filter Module requires 6 x <a href="ciw-product-detail-STERASYL.htm">Sterasyl™</a> Candles, Ø32mm (1.2”) x 200mm (8”) long.');
document.write('     </li>');
document.write('     <li>');
document.write('      <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> The module is designed to fit most industry standard 10” housings.');
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: getRIO2000Technical()
PURPOSE: Display technical details section for product RIO2000. 
INPUT: bgColour = Background colour
*/
function getRIO2000Technical(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Technical Details</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 50%" class="' + bgColour + '" />');
document.write('    <col style="width: 50%" />');
document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th class="ofFirstChild ' + bgColour + '">');
document.write('      Model');
document.write('     </th>');
document.write('     <th class="ofLastChild ' + bgColour + '">');
document.write('      RIO 2000 Multi-Candle Filter Module');
document.write('     </th>');
document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Typical Output');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      Up to 520 US Gallons (2000 litres) per hour');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Filtration Rating (Absolute)<p>Defined as >99.9%</p>');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      0.9 microns');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Filtration Rating (Nominal)<p>Defined as >99.9%</p>');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      0.5 to 0.8 microns');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getRIO2000ProdPerf()
PURPOSE: Display product performance section for product RIO2000. 
INPUT: bgColour = Background colour
*/
function getRIO2000ProdPerf(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Product Performance</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container ' + bgColour + ' -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 25%" class="' + bgColour + '" />');
document.write('    <col style="width: 50%" />');
document.write('    <col style="width: 25%" />');
document.write('   </colgroup>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td ROWSPAN="5" class="ofFirstChild">');
document.write('      % Bacteria Removal');
document.write('     </td>');
document.write('     <td>');
document.write('      E. Coli');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.99%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Vibrio Cholerae (Cholera)');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.99%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Shigella');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Salmonella Typhi (Typhoid)');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Klebsiella Terrigena');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td ROWSPAN="2" class="ofFirstChild">');
document.write('      % Cyst Removal');
document.write('     </td>');
document.write('     <td>');
document.write('      <a href="ciw-article-cont-detail.htm#Cryptosporidium">Cryptosporidium</a>');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Giardia');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container ' + bgColour + ' -->');

}



/*
FUNCTION: getRIO2000Guarantee()
PURPOSE: Display guarantee section for product RIO2000. 
*/
function getRIO2000Guarantee() { 

document.write('<p>&nbsp;</p>');
document.write('<div class="ofHeading">');
document.write('*This RIO2000 Whole House Filter comes with a 10 year guarantee.<br>');
document.write('* Providing the filter element is purchased from Clean Irish Water, as per maintenance instructions, all parts, except the element, will be covered by our “no quibble” guarantee.');
document.write('</div>');

}



/*
FUNCTION: getRIO2000Install()
PURPOSE: Display install instructions section for product RIO2000. 
INPUT: bgColour = Background colour
*/
function getRIO2000Install(bgColour) { 
/* Square box */
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">Components of the Whole House Filter</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/DOULTON-PRODUCT-RIO2000-DTL3.jpg" alt="Product: Whole House Filter Unit RIO2000" align="absmiddle" />');
document.write('   </li>');
document.write('   <li>&nbsp;');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getRIO2000CloseUp()
PURPOSE: Close Up View of product RIO2000. 
INPUT: bgColour = Background colour
*/
function getRIO2000CloseUp(bgColour) { 
/* Square box */
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">Close-up View</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/DOULTON-PRODUCT-RIO2000-DTL1.jpg" alt="Product: Whole House Filter Unit RIO2000" align="absmiddle" />');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getRIO2000Dimensions()
PURPOSE: Display dimension information section for product RIO2000. 
INPUT: bgColour = Background colour
*/
function getRIO2000Dimensions(bgColour) { 
/* Square box */
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">Product Diagram</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li>');
document.write('    <img src="images/product/DOULTON-PRODUCT-RIO2000-DTL2.jpg" alt="Product: Whole House Filter Unit RIO2000" align="absmiddle" />');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getWCBCS975Benefits()
PURPOSE: Display features and benefits section for product WCBCS975. 
INPUT: bgColour = Background colour
*/
function getWCBCS975Benefits(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">WCBCS975 Carbon Filter Details</font>');
document.write(' </h2>');
document.write('</div>');
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('  <p>');
document.write('   This carbon block filter cartridge fits any industry standard 10\" x 2.5\" filter housing. Used for chlorine, taste, odor and sediment reduction.');
document.write('  </p>');
document.write('  <p>');
document.write('   <b>Features and Benefits:</b>');
document.write('  </p>');
document.write('  <ul class="ofAltBullet2 ofLastChild">');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Thick wall for superior performance.');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> NSF Standard 42 component certified.');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Media wrap between center tube and carbon block to reduce carbon fines.');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> 100% coconut shell carbon.');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Up to 99% chlorine reduction.');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Long Life.');
document.write('   </li>');
document.write('   <li>');
document.write('    <img src="images/asterisks_gold.gif" alt="bullet" align="absmiddle"/> Outperforms GAC cartridges:');
document.write('   </li>');
document.write('   <li>&nbsp;&nbsp;&nbsp;1. Superior chlorine reduction');
document.write('   </li>');
document.write('   <li>&nbsp;&nbsp;&nbsp;2. Lower pressure drop');
document.write('   </li>');
document.write('   <li>&nbsp;&nbsp;&nbsp;3. Water cannot "channel" through media');
document.write('   </li>');
document.write('   <li>&nbsp;');
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: getWCBCS975Performance()
PURPOSE: Display performance details section for product WCBCS975. 
INPUT: bgColour = Background colour
*/
function getWCBCS975Performance(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Performance Details</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 70%" class="' + bgColour + '" />');
document.write('    <col style="width: 30%" />');
document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th class="ofFirstChild">');
document.write('      Model');
document.write('     </th>');
document.write('     <th class="ofLastChild">');
document.write('      WCBCS975');
document.write('     </th>');
document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Max Operating Pressure');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      125 psi');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Max Operating Temperature');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      50° F to 125° F<br>10° C to 52° C');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}




/*
FUNCTION: getProductFilterTable()
PURPOSE: Display a filter table, with columns for all products, or just individual column for a specific product, as specified by displayType.
INPUT: bgColour = Background colour
       displayType = "ALL"/NULL, or "ULTRACARB", or "SUPERCARB", or "STERASYL". 
*/
function getProductFilterTable(bgColour, displayType) 
{

document.write('<!-- Start: Rounded container -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table summary="Filter details table" cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');

if (displayType == "ALL") {
   document.write('    <col style="width: 85" />');
   document.write('    <col style="width: 5%" />');
   document.write('    <col style="width: 5%" />');
   document.write('    <col style="width: 5%" />');
}
else {
   document.write('    <col style="width: 90" />');
   document.write('    <col style="width: 10%" />');
}

document.write('   </colgroup>');
document.write('   <thead class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <th scope="col" class="ofFirstChild ' + bgColour + '">');


if (displayType == "ULTRACARB") {
   document.write('      <font color="#CE9E00" size="3">Ultracarb™ is a Sterasyl™ microfilter plus carbon block core and heavy metal removal media. <br>Replacement for <a href=\"ciw-product-detail-CIUC100.htm\">CIUC100</a> and <a href=\"ciw-product-detail-CICT100.htm\">CICT100</a></font>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="ULTRACARB" class="ofLastChild ' + bgColour + '">Ultracarb™</th>');
} 
else if (displayType == "SUPERCARB") {
   document.write('      <font color="#CE9E00" size="3">Supercarb™ is a Sterasyl™ microfilter plus carbon block core.<br>Replacement for <a href=\"ciw-product-detail-CIUC100.htm\">CIUC100</a> and <a href=\"ciw-product-detail-CICT100.htm\">CICT100</a></font>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="SUPERCARB" class="ofLastChild ' + bgColour + '">Supercarb™</th>');
}
else if (displayType == "STERASYL") {
   document.write('      <font color="#CE9E00" size="3">Sterasyl™ is a silver impregnated ceramic microfilter. <br>Set of 6 filter cartridges required for <a href=\"ciw-product-detail-RIO2000.htm\">RIO2000</a></font>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="STERASYL" class="ofLastChild ' + bgColour + '">Sterasyl™</th>');
}
else if (displayType == "ALL") {
   document.write('      <font color="#CE9E00" size="3">Selection of the most appropriate grade of candle allows filter performance to be matched to the requirements of the local water conditions</font>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="ULTRACARB" class="' + bgColour + '">');
   document.write('      Under Counter Unit -<a href="ciw-product-detail-ULTRACARB.htm"> Ultracarb™</a>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="SUPERCARB" class="' + bgColour + '">');
   document.write('      Counter Top Unit -<a href="ciw-product-detail-SUPERCARB.htm"> Supercarb™</a>');
   document.write('     </th>');
   document.write('     <th scope="col" abbr="STERASYL" class="ofLastChild ' + bgColour + '">');
   document.write('      Whole House Unit -<a href="ciw-product-detail-STERASYL.htm"> Sterasyl™</a>');
   document.write('     </th>');
}
else {
   document.write('     <th scope="col" class="' + bgColour + '">&nbsp;</th>');
}

document.write('    </tr>');
document.write('   </thead>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Absolute Filtration Rating (%particulate filtration efficiency - >99.99%)');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('      <td class="ofLastChild">');
   document.write('       0.9 micron');
   document.write('      </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('      <td class="ofLastChild">');
   document.write('       0.9 micron');
   document.write('      </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('      <td class="ofLastChild">');
   document.write('       0.9 micron');
   document.write('      </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Nominal Filtration Rating (%particulate filtration efficiency - >99.99%)');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      0.5 to 0.8 micron');
   document.write('     </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      0.5 to 0.8 micron');
   document.write('     </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      0.5 to 0.8 micron');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Working Pressure (for pressure filter use)');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('     10 to 125 psi');
   document.write('     </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      10 to 125 psi');
   document.write('     </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      10 to 125 psi');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Working Temperature Range');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      5 to 38°C');
   document.write('     </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      5 to 38°C');
   document.write('     </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      5 to 38°C');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Working ph Range');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      5.5 to 9.5');
   document.write('     </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      5.5 to 9.5');
   document.write('     </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      5.5 to 9.5');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Suitable for use in Gravity Filter');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/closex_red.gif" alt="no" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/closex_red.gif" alt="no" align="absmiddle" />');
   document.write('     </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      <img src="images/checkmark.gif" alt="yes" align="absmiddle" />');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Recommended Change Frequency');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      6 months');
   document.write('     </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      6 months');
   document.write('     </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      12 months');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Flow Rate - unrestricted Litres per minute flow rate at 3 Bar Pressure');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      3.3');
   document.write('     </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      3.7');
   document.write('     </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      5L/min per candle (30L/min for set of 6)');
   document.write('     </td>');
}

document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Flow Rate - Litres per minute to achieve maximum performance');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      1.9');
   document.write('     </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      1.9');
   document.write('     </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      N/A');
   document.write('     </td>');
}

document.write('    </tr>');
/*
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Litres Capacity before replacement to guarantee performance');
document.write('     </td>');

if (displayType == "ULTRACARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      2,244');
   document.write('     </td>');
}

if (displayType == "SUPERCARB" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      3,740');
   document.write('     </td>');
}

if (displayType == "STERASYL" || displayType == "ALL") {
   document.write('     <td class="ofLastChild">');
   document.write('      10,000');
   document.write('     </td>');
}

document.write('    </tr>');
*/

document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getFilterPerf()
PURPOSE: Display performance section for filters 
INPUT: bgColour = Background colour
*/
function getFilterPerf(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Pathogenic Organisms Removal</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 25%" class="' + bgColour + '" />');
document.write('    <col style="width: 50%" />');
document.write('    <col style="width: 25%" />');
document.write('   </colgroup>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td ROWSPAN="5" class="ofFirstChild">');
document.write('      % Bacteria Removal');
document.write('     </td>');
document.write('     <td>');
document.write('      E. Coli');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.99%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Vibrio Cholerae (Cholera)');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.99%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Shigella');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Salmonella Typhi (Typhoid)');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Klebsiella Terrigena');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td ROWSPAN="2" class="ofFirstChild">');
document.write('      % Cyst Removal');
document.write('     </td>');
document.write('     <td>');
document.write('      <a href="ciw-article-cont-detail.htm#Cryptosporidium">Cryptosporidium</a>');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td>');
document.write('      Giardia');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >99.999%');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getFilterTraceOrganics()
PURPOSE: Display trace organics removal section for ULTRACARB and SUPERCARB filters 
INPUT: bgColour = Background colour
*/
function getFilterTraceOrganics(bgColour) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Trace Organics Removal</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 25%" class="' + bgColour + '" />');
document.write('    <col style="width: 50%" />');
document.write('    <col style="width: 25%" />');
document.write('   </colgroup>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Insecticides');
document.write('     </td>');
document.write('     <td>');
document.write('      Lindane @0.1ppb presence');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >85%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Herbicides');
document.write('     </td>');
document.write('     <td>');
document.write('      Atrazine @1.2ppb presence');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >85%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Phenols');
document.write('     </td>');
document.write('     <td>');
document.write('      TCP @1.2ppb presence');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >50%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Polyaromatic Hydrocarbons');
document.write('     </td>');
document.write('     <td>');
document.write('      PAH\'s @0.2ppb presence');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >95%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Trihalomethanes');
document.write('     </td>');
document.write('     <td>');
document.write('      Chloroform @150ppb presence');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >50%');
document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}




/*
FUNCTION: getFilterInorganics()
PURPOSE: Display inorganics removal section for ULTRACARB and SUPERCARB filters 
INPUT: bgColour = Background colour
       displayType = "ULTRACARB", or "SUPERCARB". 
*/
function getFilterInorganics(bgColour, displayType) { 

document.write('<div class="ofHeading">');
document.write(' <h2>');
document.write('  <font color="#CE9E00">Inorganics Removal</font>');
document.write(' </h2>');
document.write('</div>');
document.write('<!-- Start: Rounded container -->');
document.write('<div class="ofTable ofTableRounded">');
document.write(' <div class="ofTop">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofWrapper">');
document.write('  <table cellspacing="0" class="ofLastChild">');
document.write('   <colgroup>');
document.write('    <col style="width: 25%" class="' + bgColour + '" />');
document.write('    <col style="width: 50%" />');
document.write('    <col style="width: 25%" />');
document.write('   </colgroup>');
document.write('   <tbody class="ofAllCellBorder">');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Free Chlorine Removal');
document.write('     </td>');
document.write('     <td>');
document.write('      2mg cl/l challenge');
document.write('     </td>');
document.write('     <td class="ofLastChild">');
document.write('      >97%');
document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Lead Removal');
document.write('     </td>');
document.write('     <td>');
document.write('      @pH 6.5 after 2,244L');
document.write('     </td>');
document.write('     <td class="ofLastChild">');

if (displayType == "ULTRACARB") {
   document.write('      98.3%');
}
else if (displayType == "SUPERCARB") { 
   document.write('      N/A');
}
else {
   document.write('      N/A');
}

document.write('     </td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('     <td class="ofFirstChild">');
document.write('      Lead Removal');
document.write('     </td>');
document.write('     <td>');
document.write('      @pH 8.5 after 2,244L');
document.write('     </td>');
document.write('     <td class="ofLastChild">');

if (displayType == "ULTRACARB") {
   document.write('      98.3%');
}
else if (displayType == "SUPERCARB") { 
   document.write('      N/A');
}
else {
   document.write('      N/A');
}

document.write('     </td>');
document.write('    </tr>');
document.write('   </tbody>');
document.write('  </table>');
document.write(' </div>');
document.write(' <div class="ofBottom">');
document.write('  <div class="ofLeft">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write('  <div class="ofRight">');
document.write('   <!-- dnc -->');
document.write('  </div>');
document.write(' </div>');
document.write(' <div class="ofClear">');
document.write('  <!-- dnc -->');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Rounded container -->');

}



/*
FUNCTION: getFilterImperial()
PURPOSE: Close Up View of product Imperial filters. 
INPUT: bgColour = Background colour
*/
function getFilterImperial(bgColour) { 

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">Close-up View</font>');
document.write('  </h4>');
document.write('  <ul class="ofLastChild">');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/DOULTON-FILTER-IMPERIAL.jpg" alt="Product: ULTRACARB or SUPERCARB Filter" align="absmiddle" />');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
document.write('</div>');
document.write('<!-- End: Container, ' + bgColour + ' -->');

}



/*
FUNCTION: getFilterImperial()
PURPOSE: Chart for ULTRACARB and SUPERCARB filters. 
*/
function getFilterImperialChart() { 

document.write(' <div class="ofTextBlock ofCallout ofAltBullet1 ofTextAncillary ofLastChild">');
document.write('  <h2 class="ofFirstChild">');
document.write('   <font color="#CE9E00">Flow Rates</font>');
document.write('  </h2>');
document.write('  <ul class="ofLastChild">');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/DOULTON-FILTER-FLOW-CHART.jpg" alt="Flow rates for ULTRACARB and SUPERCARB Filters" align="absmiddle" />');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
}



/*
FUNCTION: getSterasylFilterChart()
PURPOSE: Chart for STERASYL filters. 
*/
function getSterasylFilterChart() { 

document.write(' <div class="ofTextBlock ofCallout ofAltBullet1 ofTextAncillary ofLastChild">');
document.write('  <h2 class="ofFirstChild">');
document.write('   <font color="#CE9E00">Flow Rates</font>');
document.write('  </h2>');
document.write('  <ul class="ofLastChild">');
document.write('   <li  class="ofLastChild">');
document.write('    <img src="images/product/STERASYL-FILTER-FLOW-CHART.jpg" alt="Flow rates for ULTRACARB and SUPERCARB Filters" align="absmiddle" />');
document.write('   </li>');
document.write('  </ul>');
document.write(' </div>');
}

