// JavaScript Document

function ie6() {
	var browser = navigator.appName;
	var version = navigator.appVersion;
        if((version.indexOf("MSIE")!=-1)) {
            var split = version.split("MSIE");
            version = parseFloat(split[1]);
        }
	if((browser=="Microsoft Internet Explorer") && (version < "7")) {
		var message = "<p style='padding:0 5px;'>Your internet browser seems to be out of date, please upgrade your browser to <a href='http://www.getfirefox.com' style='color:#c00'>Mozilla Firefox</a>, or <a href='http://www.microsoft.com/windows/products/winfamily/ie/default.mspx' style='color:#c00'>Microsoft Internet Explorer 7</a>. This website is designed for modern browsers, and sadly Microsoft Internet Explorer 6 and below are not one of them.</p>";
		
                document.write(message);
		document.getElementById("ie6").style.display = "block";
		document.getElementById("ie6").style.background = "#ff7";
		document.getElementById("ie6").style.marginBottom = "25px";
		document.getElementById("ie6").style.textAlign = "center";
		document.getElementById("ie6").style.fontSize = "12px";
		document.getElementById("ie6").style.padding = "5px 0px";
		document.getElementById("ie6").style.zIndex = "10000000";
		document.getElementById("ie6").style.position = "absolute";
		document.getElementById("ie6").style.width = "100%";
		document.getElementById("ie6").style.left = "0";


	}
}


<!--

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function replaceChars(entry, replaceThis, replaceWith) {
out = replaceThis; // replace this
add = replaceWith; // with this
temp = "" + entry; // temporary holder

while (temp.indexOf(out)>-1) {
pos= temp.indexOf(out);
temp = "" + (temp.substring(0, pos) + add + 
temp.substring((pos + out.length), temp.length));
}
return temp;

}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } 
  
  errors = replaceChars(errors, "txtname", "Full Name");
  errors = replaceChars(errors, "txtemail", "E-mail");
  errors = replaceChars(errors, "txtnlemail", "E-mail");
  errors = replaceChars(errors, "txtphone", "Phone");
  errors = replaceChars(errors, "txtorganization", "Organization");
  errors = replaceChars(errors, "txtcomments", "Comment");
  errors = replaceChars(errors, "txtaddress", "Address");
  errors = replaceChars(errors, "txtcity", "City");
  errors = replaceChars(errors, "txtstate", "State");
  errors = replaceChars(errors, "txtzip", "Zip");
  errors = replaceChars(errors, "txtone", "Answer 1");
  errors = replaceChars(errors, "txttwo", "Answer 2");
  errors = replaceChars(errors, "txtthree", "Answer 3");
  errors = replaceChars(errors, "txtfour", "Answer 4");
  errors = replaceChars(errors, "txtfive", "Answer 5");
  errors = replaceChars(errors, "txtsix", "Answer 6");
  errors = replaceChars(errors, "txtseven", "Answer 7");
  errors = replaceChars(errors, "txteight", "Answer 8");
  errors = replaceChars(errors, "txtnine", "Answer 9");
  errors = replaceChars(errors, "txtten", "Answer 10");
  
  if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}
//-->




