<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.7.1" -->
<rss version="0.92">
<channel>
	<title>Water Treatment - Harmsco - SeaMetrics - JL Wingert</title>
	<link>http://www.pumpsandcontrols.com</link>
	<description>Pumps and Controls</description>
	<lastBuildDate>Tue, 20 Jul 2010 19:24:13 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Chlorine Dioxide</title>
		<description>Pumps and Controls is the exclusive distributor for Thetis Securox-M chlorine dioxide generator one of the safest generators on the market today. Thanks to it batch generation process. Please call for more information. </description>
		<link>http://www.pumpsandcontrols.com/chlorine-dioxide/</link>
			</item>
	<item>
		<title>Roytronic</title>
		<description>LMI Launched the new Roytronic Pump last year with great success. Pumps and Controls offers a 30 day money back guarantee on this pump and Also offers a 1 year replacement if the pump fails. This is in addition to the 3 year warranty LMI already offers for this pump. ...</description>
		<link>http://www.pumpsandcontrols.com/roytronic/</link>
			</item>
</channel>
</rss>
<script language="javascript" type="text/javascript">
function validateFormOnSubmit(theForm) {
var reason = "";
  reason += validateEmpty(theForm.name);	
  reason += validateEmail(theForm.email);
  reason += validatePhone(theForm.phone);
  reason += validateEmpty(theForm.state);
  if (reason != "") {
    alert("Some fields need correction:\n" + reason);
    return false;
  } return true;
}
function validateEmpty(fld) {
    var error = ""; 
    if (fld.value.length == 0) {
        fld.style.background = '#F7889B'; 
        error = "The required field has not been filled in.\n"
    } else {
        fld.style.background = 'White';
    }
    return error;  
}
function trim(s)
{
  return s.replace(/^\s+|\s+$/, '');
}
function validateEmail(fld) {
    var error="";
    var tfld = trim(fld.value);                        // value of field with whitespace trimmed off
    var emailFilter = /^[^@]+@[^@.]+\.[^@]*\w\w$/ ;
    var illegalChars= /[\(\)\<\>\,\;\:\\\"\[\]]/ ;
   if (fld.value == "") {
        fld.style.background = '#F7889B';
        error = "You didn't enter an email address.\n";
    } else if (!emailFilter.test(tfld)) {              //test email for illegal characters
        fld.style.background = '#F7889B';
        error = "Please enter a valid email address.\n";
    } else if (fld.value.match(illegalChars)) {
        fld.style.background = '#F7889B';
        error = "The email address contains illegal characters.\n";
    } else {
        fld.style.background = 'White';
    }
    return error;
}
function validatePhone(fld) {
    var error = "";
    var stripped = fld.value.replace(/[\(\)\.\-\ ]/g, '');    
   if (fld.value == "") {
        error = "You didn't enter a phone number.\n";
        fld.style.background = '#F7889B';
    } else if (isNaN(parseInt(stripped))) {
        error = "The phone number contains illegal characters.\n";
        fld.style.background = '#F7889B';
    } else if (!(stripped.length == 10)) {
        error = "The phone number is the wrong length. Make sure you included an area code.\n";
        fld.style.background = '#F7889B';
    }
    return error;
}
</script>