function highlight_left() {
    if (document.all&&document.getElementById) {
        navRoot = document.getElementById("feedbacker_left");
        for (i=0; i<navRoot.childNodes.length; i++) {
            node = navRoot.childNodes[i];
            if (node.nodeName=="INPUT") {
                node.onfocus=function() {
                    this.className="highlight";
            	}
                node.onblur=function() {
                    this.className=this.className.replace("highlight", "");
                }
            }
        }
    }
}

function highlight_right() {
    if (document.all&&document.getElementById) {
        navRoot = document.getElementById("feedbacker_right");
        for (r=0; r<navRoot.childNodes.length; r++) {
            node = navRoot.childNodes[r];
            if (node.nodeName=="INPUT") {
                node.onfocus=function() {
                    this.className="highlight";
            	}
                node.onblur=function() {
                    this.className=this.className.replace("highlight", "");
                }
            }
        }
    }
}



function CheckMultiple(name) 
				{
					theFrm = document.frmSS;
					for (var i=0; i < theFrm.length; i++) 
					{
						fldObj = theFrm.elements[i];
						var fieldnamecheck=fldObj.name.indexOf(name);
						if (fieldnamecheck != -1) {
							if (fldObj.checked) {
								return true;
							}
						}
					}
					return false;
				}


				function CheckSS()
				{
					theFrm = document.frmSS;

					hasDot = theFrm.Email.value.indexOf(".");
					hasAt = theFrm.Email.value.indexOf("@");
					
					if (hasDot == -1 || hasAt == -1)
					{
						alert("Please enter a valid email address.");
						theFrm.Email.focus();
						theFrm.Email.select();
						return false;
					}

					
									valcheck = document.getElementById("Fields[208]");
									if (valcheck.value == "") {
										alert("Please enter a value for the 'salutation' field.");
										valcheck.focus();
										valcheck.select();
										return false;
									} else {
										var minsize_208 = 0;
										var maxsize_208 = 100;
										var fieldlength = 0;
										fieldlength = valcheck.value.length;
										if (fieldlength < minsize_208) {
											alert("You must enter a value for the 'salutation' field longer than " + minsize_208 + " characters");
											valcheck.focus();
											return false;
										}
										if (fieldlength > maxsize_208) {
											alert("You must enter a value for the 'salutation' field no longer than " + maxsize_208 + " characters");
											valcheck.focus();
											return false;
										}
									}
								
									valcheck = document.getElementById("Fields[209]");
									if (valcheck.value == "") {
										alert("Please enter a value for the 'firstname' field.");
										valcheck.focus();
										valcheck.select();
										return false;
									} else {
										var minsize_209 = 0;
										var maxsize_209 = 100;
										var fieldlength = 0;
										fieldlength = valcheck.value.length;
										if (fieldlength < minsize_209) {
											alert("You must enter a value for the 'firstname' field longer than " + minsize_209 + " characters");
											valcheck.focus();
											return false;
										}
										if (fieldlength > maxsize_209) {
											alert("You must enter a value for the 'firstname' field no longer than " + maxsize_209 + " characters");
											valcheck.focus();
											return false;
										}
									}
								
									valcheck = document.getElementById("Fields[210]");
									if (valcheck.value == "") {
										alert("Please enter a value for the 'Last name' field.");
										valcheck.focus();
										valcheck.select();
										return false;
									} else {
										var minsize_210 = 0;
										var maxsize_210 = 100;
										var fieldlength = 0;
										fieldlength = valcheck.value.length;
										if (fieldlength < minsize_210) {
											alert("You must enter a value for the 'Last name' field longer than " + minsize_210 + " characters");
											valcheck.focus();
											return false;
										}
										if (fieldlength > maxsize_210) {
											alert("You must enter a value for the 'Last name' field no longer than " + maxsize_210 + " characters");
											valcheck.focus();
											return false;
										}
									}
								
									valcheck = document.getElementById("Fields[211]");
									if (valcheck.value == "") {
										alert("Please enter a value for the 'Company' field.");
										valcheck.focus();
										valcheck.select();
										return false;
									} else {
										var minsize_211 = 0;
										var maxsize_211 = 100;
										var fieldlength = 0;
										fieldlength = valcheck.value.length;
										if (fieldlength < minsize_211) {
											alert("You must enter a value for the 'Company' field longer than " + minsize_211 + " characters");
											valcheck.focus();
											return false;
										}
										if (fieldlength > maxsize_211) {
											alert("You must enter a value for the 'Company' field no longer than " + maxsize_211 + " characters");
											valcheck.focus();
											return false;
										}
									}
								
									valcheck = document.getElementById("Fields[213]");
									if (valcheck.value == "") {
										alert("Please enter a value for the 'Website' field.");
										valcheck.focus();
										valcheck.select();
										return false;
									} else {
										var minsize_213 = 0;
										var maxsize_213 = 100;
										var fieldlength = 0;
										fieldlength = valcheck.value.length;
										if (fieldlength < minsize_213) {
											alert("You must enter a value for the 'Website' field longer than " + minsize_213 + " characters");
											valcheck.focus();
											return false;
										}
										if (fieldlength > maxsize_213) {
											alert("You must enter a value for the 'Website' field no longer than " + maxsize_213 + " characters");
											valcheck.focus();
											return false;
										}
									}
								
									valcheck = document.getElementById("Fields[214]");
									if (valcheck.value == "") {
										alert("Please enter a value for the 'Telephone' field.");
										valcheck.focus();
										valcheck.select();
										return false;
									} else {
										var minsize_214 = 0;
										var maxsize_214 = 100;
										var fieldlength = 0;
										fieldlength = valcheck.value.length;
										if (fieldlength < minsize_214) {
											alert("You must enter a value for the 'Telephone' field longer than " + minsize_214 + " characters");
											valcheck.focus();
											return false;
										}
										if (fieldlength > maxsize_214) {
											alert("You must enter a value for the 'Telephone' field no longer than " + maxsize_214 + " characters");
											valcheck.focus();
											return false;
										}
									}
								
									valcheck = document.getElementById("Fields[217]");
									if (valcheck.value == "") {
										alert("Please enter a value for the 'Country' field.");
										valcheck.focus();
										valcheck.select();
										return false;
									} else {
										var minsize_217 = 0;
										var maxsize_217 = 100;
										var fieldlength = 0;
										fieldlength = valcheck.value.length;
										if (fieldlength < minsize_217) {
											alert("You must enter a value for the 'Country' field longer than " + minsize_217 + " characters");
											valcheck.focus();
											return false;
										}
										if (fieldlength > maxsize_217) {
											alert("You must enter a value for the 'Country' field no longer than " + maxsize_217 + " characters");
											valcheck.focus();
											return false;
										}
									}
								
									valcheck = document.getElementById("Fields[219]");
									if (valcheck.value == "") {
										alert("Please enter a value for the 'City' field.");
										valcheck.focus();
										valcheck.select();
										return false;
									} else {
										var minsize_219 = 0;
										var maxsize_219 = 100;
										var fieldlength = 0;
										fieldlength = valcheck.value.length;
										if (fieldlength < minsize_219) {
											alert("You must enter a value for the 'City' field longer than " + minsize_219 + " characters");
											valcheck.focus();
											return false;
										}
										if (fieldlength > maxsize_219) {
											alert("You must enter a value for the 'City' field no longer than " + maxsize_219 + " characters");
											valcheck.focus();
											return false;
										}
									}
								
					return true;
				}
