﻿var strJSResponse
var strWaiting = "<div id=\"progressImg\" align=\"center\" style=\"text-align:center; position:absolute; z-index:1; padding-left:244px; padding-top:0px;\"><img src=\"images/bigrotation2.gif\" width=\"32\" height=\"32\" /></div>"
var strNoAjax
var strPointer = ">>> "
//ctl00_ContentPlaceHolder1_
function sendContactForm() {

  var toMatchEmail = /^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
  var toMatchAlpha = /^[a-zA-Z\s]/i
  var toMatchAlphaNumeric = /^[a-zA-Z0-9\s]/i
  var toMatchZip = /^[0-9\-]/i

  if (!document.getElementById("ctl00_ContentPlaceHolder1_contactFName").value) {
		window.alert ("Please enter your first name (letters only).");
		document.getElementById("ctl00_ContentPlaceHolder1_contactFName").focus();
		return;
		
	} else if (!document.getElementById("ctl00_ContentPlaceHolder1_contactLName").value) {
		window.alert ("Please enter your last name (letters only).");
		document.getElementById("ctl00_ContentPlaceHolder1_contactLName").focus();
		return;
		
  } else if (!document.getElementById("ctl00_ContentPlaceHolder1_contactEmail").value || !toMatchEmail.test(document.getElementById("ctl00_ContentPlaceHolder1_contactEmail").value) ) {
		window.alert ("Please enter a valid email address, in the form of yourname@yourisp.com.");
		document.getElementById("ctl00_ContentPlaceHolder1_contactEmail").focus();
		return;
	
	} else if (document.getElementById("ctl00_ContentPlaceHolder1_contactSubject").value == "none") {
		window.alert ("Please select a subject.");
		document.getElementById("ctl00_ContentPlaceHolder1_contactSubject").focus();
		return;
	
	} else if (document.getElementById("ctl00_ContentPlaceHolder1_contactBody").value == "") {
		window.alert ("Please enter a message.");
		document.getElementById("ctl00_ContentPlaceHolder1_contactBody").focus();
		return;

	/*		
	} else if (content is selected and course is empty) {
	
	//document.getElementById("contactSubject").value.substr(3) == 
	  window.alert ("Please select a class.");
	  
	} else if () {
	    
	*/
	} else {

	  var strBody
	  var strFrom
	  var strFromName
  	var strFormContent
  	var arrSubject = document.getElementById("ctl00_ContentPlaceHolder1_contactSubject")
    var strSubject = arrSubject.options[arrSubject.selectedIndex].text
    var strSubjectValue = arrSubject.options[arrSubject.selectedIndex].value


    var strClassList = ""
    var strClassChkList = "none"
    if (document.getElementById("ctl00_ContentPlaceHolder1_cbSeminarList")) {
  	  var checksClass = document.getElementById("ctl00_ContentPlaceHolder1_cbSeminarList").getElementsByTagName("input")
  	  for (var chk in checksClass) {
  	    if (checksClass[chk].checked) {
  	      if (strClassChkList = "none") { strClassChkList = "" }
  	      var arr = new Array()
  	      arr = document.getElementById(checksClass[chk].id).parentNode.getElementsByTagName("*")
  	      strClassList += arr[1].innerHTML + "==br== ==br=="
          strClassChkList += arr[1].innerHTML + ","
  	      //alert(arr[1].innerHTML)
  	      }
  	  }
  	}
    //return;
    
    var arrClassFromAll = document.getElementById("ctl00_ContentPlaceHolder1_dropdownAllSeminars")
    var strClassFromAll = arrClassFromAll.options[arrClassFromAll.selectedIndex].value
    if (strClassFromAll != "none") { strClassList += strClassFromAll }
    
    var strTo
    strTo = strSubjectValue.substr(0,4)

    /*if (strSubjectValue.substr(0,4) == "admn") {
      strTo = "onlineedhelp@email.appraisalinstitute.org"
    } else if (strSubjectValue.substr(0,4) == "tech") {
      strTo = "administrator@email.appraisalinstitute.org"
    } else if (strSubjectValue.substr(0,4) == "tech") {
      strTo = "administrator@email.appraisalinstitute.org"
    } else {
      strTo = "none"
    }*/


	  strBody = "Contact Email==br== ==br=="
	  strBody += "Subject: " + strSubject + "==br=="
	  strBody += "Name: " + document.getElementById("ctl00_ContentPlaceHolder1_contactFName").value + " " + document.getElementById("ctl00_ContentPlaceHolder1_contactLName").value + "==br=="
	  strBody += "Email: " + document.getElementById("ctl00_ContentPlaceHolder1_contactEmail").value + "==br=="
	  strBody += "Classes: ==br==" + strClassList + "==br=="
	  strBody += "==br==Message: ==br==" + document.getElementById("ctl00_ContentPlaceHolder1_contactBody").value + "==br== ==br=="
	  strBody += "Company: " + document.getElementById("ctl00_ContentPlaceHolder1_contactCompany").value + "==br=="
	  strBody += "Address: " + document.getElementById("ctl00_ContentPlaceHolder1_contactAddress").value + "==br=="
	  strBody += "City/St/Zip: " + document.getElementById("ctl00_ContentPlaceHolder1_contactCity").value + ", " + document.getElementById("ctl00_ContentPlaceHolder1_contactState").value + " " + document.getElementById("ctl00_ContentPlaceHolder1_contactZip").value + "==br=="
	  strBody += "Phone: " + document.getElementById("ctl00_ContentPlaceHolder1_contactVoice").value + "==br=="
	  strBody += "Cell: " + document.getElementById("ctl00_ContentPlaceHolder1_contactCell").value + "==br=="
	  strFrom = document.getElementById("ctl00_ContentPlaceHolder1_contactEmail").value
	  strFromName = document.getElementById("ctl00_ContentPlaceHolder1_contactFName").value + " " + document.getElementById("ctl00_ContentPlaceHolder1_contactLName").value
  	strJSResponse = "<p align=\"center\"><span style=\"color:#c03\">Thank you for contacting us.  We will be in contact with you soon.</span></p>"
		strNoAjax = "<p>Contact us at:</p><p><a href=\"mailto:onlineedhelp@email.appraisalinstitute.org?subject="+strSubject+"\">onlineedhelp@email.appraisalinstitute.org</a> or by calling 312-335-4207 (available M-F, 8:00 AM - 5:00 PM CST).</p>"
  	strFormContent = "emlType=contact&emlBody="+escape(strBody)+"&emlFrom="+escape(strFrom)+"&emlFromName="+escape(strFromName)+"&emlSubject="+escape(strSubject)+"&emlTo="+escape(strTo)+"&classAllList="+escape(strClassFromAll)+"&classChkList="+escape(strClassChkList)+"&emlCode="+escape(strSubjectValue)
	  
	  emailSend(strFormContent,strJSResponse,strNoAjax)
	}
}
//document.getElementById("contactSubject").value.substr(3) == 


function sendBetaEmail() {
	
  var toMatchEmail = /^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
  var toMatchAlpha = /^[a-zA-Z\s]/i
  var toMatchAlphaNumeric = /^[a-zA-Z0-9\s]/i
  var toMatchZip = /^[0-9\-]/i
  var strSession1 = "none"
  var strSession2 = "none"
  
  var class01 = "GIS - The Executive Overview"
  //var class02 = "Advanced Internet Search Strategies"
    
  if (!document.getElementById("ctl00_ContentPlaceHolder1_emlFName").value || !toMatchAlpha.test(document.getElementById("ctl00_ContentPlaceHolder1_emlFName").value)) {
		window.alert ("Please enter your first name (letters only).");
		document.getElementById("ctl00_ContentPlaceHolder1_emlFName").focus();
		return;
	
	} else if (!document.getElementById("ctl00_ContentPlaceHolder1_emlLName").value || !toMatchAlpha.test(document.getElementById("ctl00_ContentPlaceHolder1_emlLName").value)) {
		window.alert ("Please enter your last name (letters only).");
		document.getElementById("ctl00_ContentPlaceHolder1_emlLName").focus();
		return;
	
	} else if (!document.getElementById("ctl00_ContentPlaceHolder1_emlLicense").value || document.getElementById("ctl00_ContentPlaceHolder1_emlLicense").value == "License # Req.") {
		window.alert ("Please enter your state license number (only licensed appraisers will be considered as bete testers).");
		document.getElementById("ctl00_ContentPlaceHolder1_emlLicense").focus();
		return;
	
	} else if (!document.getElementById("ctl00_ContentPlaceHolder1_emlAddress").value) {
		window.alert ("Please enter a your mailing address.");
		document.getElementById("ctl00_ContentPlaceHolder1_emlAddress").focus();
		return;
	
	} else if (!document.getElementById("ctl00_ContentPlaceHolder1_emlCity").value || !toMatchAlpha.test(document.getElementById("ctl00_ContentPlaceHolder1_emlCity").value)) {
		window.alert ("Please enter your mailing city (letters only).");
		document.getElementById("ctl00_ContentPlaceHolder1_emlCity").focus();
		return;
	
	} else if (!document.getElementById("ctl00_ContentPlaceHolder1_emlState").value || !toMatchAlpha.test(document.getElementById("ctl00_ContentPlaceHolder1_emlState").value)) {
		window.alert ("Please enter your mailing state (letters only).");
		document.getElementById("ctl00_ContentPlaceHolder1_emlState").focus();
		return;
	
	} else if (!document.getElementById("ctl00_ContentPlaceHolder1_emlZip").value || !toMatchZip.test(document.getElementById("ctl00_ContentPlaceHolder1_emlZip").value)) {
		window.alert ("Please enter a your mailing zip (numbers only).");
		document.getElementById("ctl00_ContentPlaceHolder1_emlZip").focus();
		return;
	
	} else if (!document.getElementById("ctl00_ContentPlaceHolder1_emlEmail").value || !toMatchEmail.test(document.getElementById("ctl00_ContentPlaceHolder1_emlEmail").value) ) {
		window.alert ("Please enter a valid email address, in the form of yourname@yourisp.com.");
		document.getElementById("ctl00_ContentPlaceHolder1_emlEmail").focus();
		return;
	


    //these lines check to see if a class is selected -- you'll need to change the values for ID for different classes
    // add more classes if there are multiple classes: '!document.getElementById("ctl00_ContentPlaceHolder1_class02").checked' and so on
	} else if (!document.getElementById("ctl00_ContentPlaceHolder1_class01").checked ) {
		window.alert ("Please select a class.");
		//these are for making a pointer to id the exact class that needs selecting; probably unneeded and therefore commented out
		//document.getElementById("ctl00_ContentPlaceHolder1_pointer1").innerHtml = strPointer;
		//document.getElementById("ctl00_ContentPlaceHolder1_pointer2").innerHtml = strPointer;
		return;
	
	} 
	
	/*else if (!document.getElementById("ctl00_ContentPlaceHolder1_class02").checked) {
		window.alert ("Please select a class.");
		//these are for making a pointer to id the exact class that needs selecting; probably unneeded and therefore commented out
		//document.getElementById("ctl00_ContentPlaceHolder1_pointer1").innerHtml = strPointer;
		//document.getElementById("ctl00_ContentPlaceHolder1_pointer2").innerHtml = strPointer;
		return;
	
	} */
	
	
	
	else {
	/*PLEASE NOTE: becuase of .NET, the normal method for looping through radio buttons in 
	JavaScript will not work.  .NET converts radio button lists to "someID_#" where "_#" 
	represents the order the checkbox appears.  So, each radio button is a unique control, 
	rather then being one control in an array of controls. So, don't use "radioButton[0]" to 
	get to a value, use a concatenated string like the ones below.  If you have trouble 
	identifying the control, do view source from the genreated page to see how .NET changed 
	the control id.*/
	  if (document.getElementById("ctl00_ContentPlaceHolder1_class01").checked) {
        for (var i=0; i < 4; i++) {
           if (document.getElementById(["ctl00_ContentPlaceHolder1_emlSession_class01_" + i]).checked) {
              strSession1 = document.getElementById(["ctl00_ContentPlaceHolder1_emlSession_class01_" + i]).value;
           }
        }
        if (strSession1 == "none") { 
          window.alert ("Please select a session" + class01 + ".");
		      return;
        }
    }
  /* else if (document.getElementById("ctl00_ContentPlaceHolder1_class02").checked) {
        for (var i=0; i < 4; i++) {
           if (document.getElementById(["ctl00_ContentPlaceHolder1_emlSession_class02_" + i]).checked) {
              strSession2 = document.getElementById(["ctl00_ContentPlaceHolder1_emlSession_class02_" + i]).value;
           }
        }
        if (strSession2 == "none") { 
          window.alert ("Please select a session" + class02 + ".");
		      return;
       }
    }
    
    else if ((document.getElementById("ctl00_ContentPlaceHolder1_class01").checked) && (document.getElementById("ctl00_ContentPlaceHolder1_class02").checked){
        for (var i=0; i < 4; i++) {
           if (document.getElementById(["ctl00_ContentPlaceHolder1_emlSession_class01_" + i]).checked) {
              strSession1 = document.getElementById(["ctl00_ContentPlaceHolder1_emlSession_class01_" + i]).value;
           }
           for (var i=0; i < 4; i++) {
           if (document.getElementById(["ctl00_ContentPlaceHolder1_emlSession_class02_" + i]).checked) {
              strSession2 = document.getElementById(["ctl00_ContentPlaceHolder1_emlSession_class02_" + i]).value;
           }
        }
        if (strSession1 == "none") { 
          window.alert ("Please select a session" + class01 + ".");
		      return;
       }
       
      else if (strSession2 == "none") { 
          window.alert ("Please select a session" + class02 + ".");
		      return;
       }
    }*/

	  var strBody
	  var strFrom
	  var strFromName
  	var strFormContent
  	
	  strBody = "Beta Tester Request==br== ==br=="
	  strBody += "Name: " + document.getElementById("ctl00_ContentPlaceHolder1_emlFName").value + " " + document.getElementById("ctl00_ContentPlaceHolder1_emlLName").value + "==br=="
	  strBody += "Email Address: " + document.getElementById("ctl00_ContentPlaceHolder1_emlEmail").value + "==br=="
	  strBody += "Lic #: " + document.getElementById("ctl00_ContentPlaceHolder1_emlLicense").value + "==br=="
	  //strBody += "Class: " + document.getElementById("ctl00_ContentPlaceHolder1_emlSession").value + " -- " + document.getElementById("ctl00_ContentPlaceHolder1_emlClass").value + "==br=="
   
	  //if (document.getElementById("ctl00_ContentPlaceHolder1_class01").checked && document.getElementById("ctl00_ContentPlaceHolder1_class02").checked) {
	   // strBody += "Class 1: " + strSession1 + " -- " + class01 + "==br== ==br=="
	  //  strBody += "Class 2: " + strSession2 + " -- " + class02 + "==br== ==br=="
	  //} else if (document.getElementById("ctl00_ContentPlaceHolder1_class01").checked && !document.getElementById("ctl00_ContentPlaceHolder1_class02").checked) {
	  //  strBody += "Class: " + strSession1 + " -- " + class1 + "==br== ==br=="
	  //} else if (!document.getElementById("ctl00_ContentPlaceHolder1_class01").checked && document.getElementById("ctl00_ContentPlaceHolder1_class02").checked) {
	  //  strBody += "Class: " + strSession2 + " -- " + class2 + "==br== ==br=="
	  //} else {
	  //nothing
	  //}*/
	  
	  if (document.getElementById("ctl00_ContentPlaceHolder1_class01").checked) {
	    strBody += "Class: " + strSession1 + " -- " + class01 + "==br== ==br=="
	  } 
	  
	 /* else if (document.getElementById("ctl00_ContentPlaceHolder1_class02").checked) {
	    strBody += "Class: " + strSession1 + " -- " + class02 + "==br== ==br=="
	  } 
	  else if (document.getElementById("ctl00_ContentPlaceHolder1_class01").checked && document.getElementById("ctl00_ContentPlaceHolder1_class02") {
	    strBody += "Class: " + strSession1 + " -- " + class01 + "==br== ==br==" + "Class: " + strSession2 + " -- " + class02 + "==br== ==br=="
	  }  */
	   
	  else {
	    strBody += "Class: we don't need no stinking class==br== ==br=="  
	  }

	  strBody += "Company: " + document.getElementById("ctl00_ContentPlaceHolder1_emlCompany").value + "==br=="
	  strBody += "Address: " + document.getElementById("ctl00_ContentPlaceHolder1_emlAddress").value + "==br=="
	  strBody += "City/St/Zip: " + document.getElementById("ctl00_ContentPlaceHolder1_emlCity").value + ", " + document.getElementById("ctl00_ContentPlaceHolder1_emlState").value + " " + document.getElementById("ctl00_ContentPlaceHolder1_emlZip").value + "==br=="
	  strBody += "Phone: " + document.getElementById("ctl00_ContentPlaceHolder1_emlPhone").value + "==br=="
	  strFrom = document.getElementById("ctl00_ContentPlaceHolder1_emlEmail").value
	  strFromName = document.getElementById("ctl00_ContentPlaceHolder1_emlFName").value + " " + document.getElementById("ctl00_ContentPlaceHolder1_emlLName").value
  	
  	strJSResponse = "Thank you for contacting us about becoming a beta tester. We will contact with details of your registration if your assistance is still required." // for " + document.getElementById("ctl00_ContentPlaceHolder1_emlClass").value + ". We will contact with details of your registration if your assistance is still required."
		strNoAjax = "Contact Online Education at <p><a href=\"mailto:tbe@appraisalinstitute.org?subject=Beta Tester Inquiry\">tbe@appraisalinstitute.org</a> to register for a class. Please include all of the information inthe form below in your email.</p>"
  	strFormContent = "emlType=beta&emlBody="+escape(strBody)+"&emlFrom="+escape(strFrom)+"&emlFromName="+escape(strFromName)
	  
	  emailSend(strFormContent,strJSResponse,strNoAjax)
	}
}

function emailSend(formContent,jsResponse,noAjax) {
  xmlHttp=GetXmlHttpObject();
  if (xmlHttp==null)
	  {
	  alert ("Your browser cannot send this information!");
	  document.getElementById("ctl00_ContentPlaceHolder1_pnlIntro").innerHTML = noAjax;
	  return;
	  }
  var url="online-ed-emailer.asp";
  xmlHttp.onreadystatechange=emailSent;
  xmlHttp.open("POST",url,true);
  xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  xmlHttp.send(formContent);
}

function emailSent() { 
	if (xmlHttp.readyState==4) { 
	  document.getElementById("ctl00_ContentPlaceHolder1_emailForm").innerHTML = strJSResponse;
	  document.getElementById("ctl00_ContentPlaceHolder1_emailForm").style.color = "#c03";
	} else {
	  document.getElementById("ctl00_ContentPlaceHolder1_emailForm").innerHTML = strWaiting;
	}
}

function showTestimonial() {
  var comment = new String()
  var fullname = new String()
  var title_co = new String()
  var city = new String()
  var crsID = new Number()

  var num = Math.floor(Math.random() * testimonials.length)
  if (testimonials[num]["comment"] != null) {
    document.getElementById("comment").innerHTML = unescape(testimonials[num]["comment"])
    document.getElementById("comment").style.display = "block"
  }

  if (testimonials[num]["fullname"] != null) {
    document.getElementById("fullname").innerHTML = unescape(testimonials[num]["fullname"])
    document.getElementById("fullname").style.display = "block"
  }

  if (testimonials[num]["title_co"] != null) {
    document.getElementById("title_co").innerHTML = unescape(testimonials[num]["title_co"])
    document.getElementById("title_co").style.display = "block"
  }

  if (testimonials[num]["location"] != null) {
    document.getElementById("location").innerHTML = unescape(testimonials[num]["location"])
    document.getElementById("location").style.display = "block"
  }

//  if (testimonials[num]["courseID"] != null) {
    //http://www.appraisalinstitute.org/education/course_descrb/decide.aspx?prgrm_nbr=OL-787
    //document.getElementById("courseID").innerHTML = testimonials[num]["courseID"]
    //document.getElementById("courseID").style.display = "block"
  //}

}

function GetXmlHttpObject() {
	var xmlHttp=null;
	try {
		xmlHttp=new XMLHttpRequest();
	} catch (e) {
		try
			{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); }
		catch (e)
			{ xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); }
	}
	return xmlHttp;
}


var testimonials = new Array()
testimonials[0] = new Array()
testimonials[0]["courseID"] = 1112
testimonials[0]["comment"] = escape("\"I just wanted to let you know I thought the <a href=\"http://www.appraisalinstitute.org/education/course_descrb/decide.aspx?prgrm_nbr=OL-638\">Feasibility - Market Value - Investment Timing: Option Value</a> class was great.  Overall, I have found the Appraisal Institute online education experience great.  My first experience with online education has been the last two months, and I admit I first was attracted by convenience and the need to squeeze in some CE credits.<br /><br />However, I found that I actually get more out of the online experience than the class.  There are some informative and challenging class options.  You must pay attention more closely and actually think, making it time better spent. Some of my associates have expressed similar positive experiences. Thanks for all your efforts.\"")
testimonials[0]["fullname"] = null
testimonials[0]["title_co"] = null
testimonials[0]["location"] = null
testimonials[0]["xlsID"] = null

testimonials[1] = new Array()
testimonials[1]["courseID"] = 1096
testimonials[1]["comment"] = escape("\"It is my opinion that your <a href=\"http://www.appraisalinstitute.org/education/course_descrb/decide.aspx?prgrm_nbr=OL-638\">7-Hour National USPAP Online Equivalent Course</a> is excellent, and any state which has approved this online course for Continuing Education (CE) credit is doing a real service to the real estate appraisers in their state. This was the fourth online real estate appraisal course I have taken from the Appraisal Institute, and each one continues to impress me.<br /><br />As I am handicapped, it is very difficult for me to travel by car or plane for  real estate appraisal courses. Your online courses are exactly what I need to keep up with my continuing education. The online format works great for me, and I look forward to continue taking the Appraisal Institute's online courses as more become available in the future.\"")
testimonials[1]["fullname"] = escape("Ackley Elmer II, SRPA, SRA")
testimonials[1]["title_co"] = null
testimonials[1]["location"] = escape("Somers Point, NJ")
testimonials[1]["xlsID"] = null

testimonials[2] = new Array()
testimonials[2]["courseID"] = null
testimonials[2]["comment"] = escape("\"I just completed the Appraisal Institute course <a href=\"http://www.appraisalinstitute.org/education/course_descrb/decide.aspx?prgrm_nbr=OL-420N\">Business Practices and Ethics</a> which was my first online course or seminar.  I have to admit that until now I was only lukewarm on the online education concept. Now I am a believer.<br /><br />The material was well thought-out and the technology worked flawlessly. I was also surprised by the amount of student interaction.  It was better than the amount in some classroom settings that I've been in. Great work!!\"")
testimonials[2]["fullname"] = escape("Mark Pomykacz, MAI")
testimonials[2]["title_co"] = null
testimonials[2]["location"] = escape("Whitehouse Station, NJ")
testimonials[2]["xlsID"] = null

testimonials[3] = new Array()
testimonials[3]["courseID"] = null
testimonials[3]["comment"] = escape("\"With the hectic schedule that we all have, the Appraisal Institute's online education program offers huge benefits.  It is convenient, offers great content on a variety of subjects, and I can work at my own pace.<br /><br />Even though I have been in this business almost 20 years, I can always learn something new or brush up on certain topics.  Thanks for providing appraisers with a great service.\"")
testimonials[3]["fullname"] = escape("Philip Cadorette, MAI")
testimonials[3]["title_co"] = escape("Director, Cushman & Wakefield, Inc.")
testimonials[3]["location"] = escape("New York, NY")
testimonials[3]["xlsID"] = null


testimonials[4] = new Array()
testimonials[4]["courseID"] = 1108
testimonials[4]["comment"] = escape("\"I just finished the online class <a href=\"http://www.appraisalinstitute.org/education/course_descrb/decide.aspx?prgrm_nbr=OL-648\">Analyzing Operating Expenses</a> and contacted the instructor the same day I finished the class. In the class evaluation, I stated that I had no opinion of the instructor at all because I did not have any contact with him.<br /><br />Well, my opinion has changed. The day after completing the class, the instructor responded to my question via e-mail. Not only did he give me a thorough and understandable response, he gave me his phone number and told me call him if I wanted to talk more about the subject.<br /><br />Once again, I was very pleased with the quality of instruction that I received from the Appraisal Institute's online education program.\"")
testimonials[4]["fullname"] = escape("Scott Miller")
testimonials[4]["title_co"] = null
testimonials[4]["location"] = escape("Allen Park, MI")
testimonials[4]["xlsID"] = null


testimonials[5] = new Array()
testimonials[5]["courseID"] = 1096
testimonials[5]["comment"] = escape("\"I would like to send my thanks to the instructor for the help in finishing <a href=\"http://www.appraisalinstitute.org/education/course_descrb/decide.aspx?prgrm_nbr=OL-4008\">Course 400: 7-hour National USPAP Online Equivalent Course</a>. I enjoyed the class a lot, much more than the last USPAP course I took several years ago. I learned much more this time, and I appreciated the occasional humor and one-liners which were woven into the course as well. They helped keep the class interesting and not so mundane, which can be difficult when discussing USPAP issues. Thanks again!\"")
testimonials[5]["fullname"] = escape("Randy Hollis")
testimonials[5]["title_co"] = null
testimonials[5]["location"] = escape("Roy, UT")
testimonials[5]["xlsID"] = null


testimonials[6] = new Array()
testimonials[6]["courseID"] = 1111
testimonials[6]["comment"] = escape("\"I wanted to let you know how much I enjoyed your <a href=\"http://www.appraisalinstitute.org/education/course_descrb/decide.aspx?prgrm_nbr=OL-733\">Introduction to GIS Applications for Real Estate Appraisal</a> online seminar. Although I may not utilize GIS in my everyday work as a residential appraiser, this seminar has helped in other interests of mine such as GPS, computers, mapping, etc. I took this seminar as part of my continuing education requirement and was happy to find a new and refreshing seminar.<br /><br />I really enjoyed the online format as it allows the student to complete the tasks on his own time and also gives a wide selection of topics. Thank you for an informative class. I'm looking forward to other online offerings by the Appraisal Institute.\"")
testimonials[6]["fullname"] = escape("John McShane")
testimonials[6]["title_co"] = null
testimonials[6]["location"] = escape("Mokena, IL")
testimonials[6]["xlsID"] = null


testimonials[7] = new Array()
testimonials[7]["courseID"] = 1107
testimonials[7]["comment"] = escape("\"I just finished the final quiz for the <a href=\"http://www.appraisalinstitute.org/education/course_descrb/decide.aspx?prgrm_nbr=OL-620\">Using Your HP12C Financial Calculator</a> online seminar. I also recently returned from the Appraisal Institute's <em>Course 310: Basic Income Capitalization</em>.<br /><br />Needless to say, I spent a lot of time on the HP12C during <em>Course 310</em>. Thanks to the familiarity I had with the HP12C from your online program, I was more comfortable with the concepts and word problems, and able to stride more confidently through the course.\"")
testimonials[7]["fullname"] = escape("Paul Rock")
testimonials[7]["title_co"] = null
testimonials[7]["location"] = escape("Pinedale, WY")
testimonials[7]["xlsID"] = null


testimonials[8] = new Array()
testimonials[8]["courseID"] = 1104
testimonials[8]["comment"] = escape("\"The instructor for your <a href=\"http://www.appraisalinstitute.org/education/course_descrb/decide.aspx?prgrm_nbr=OL-642\">Appraisal of Nursing Facilities</a> online seminar did an excellent job interacting with the students. He took the time to respond to each posting I made in the discussion board, and also called me to cover a few more points in detail and provide an update to some of the material that was covered.<br /><br />I would certainly like to see the Appraisal Institute's online education programs succeed as I envision myself (and my staff) taking advantage of them for continuing education opportunities.\"")
testimonials[8]["fullname"] = escape("Steve Barberie")
testimonials[8]["title_co"] = null
testimonials[8]["location"] = escape("Satellite Beach, FL")
testimonials[8]["xlsID"] = null


testimonials[9] = new Array()
testimonials[9]["courseID"] = null
testimonials[9]["comment"] = escape("\"I think the Appraisal Institute's online programs are awesome. They are very well designed and I have learned so much from the three I've taken so far. There are so many great Appraisal Institute seminars that aren't in the online format. I hope many more Appraisal Institute seminars are added to the online format soon.\"")
testimonials[9]["fullname"] = escape("Michael T. Jury, MAI")
testimonials[9]["title_co"] = null
testimonials[9]["location"] = escape("Barrigada, GU")
testimonials[9]["xlsID"] = null

//testimonials[10] = new Array()
//testimonials[10]["courseID"] = null
//testimonials[10]["comment"] = escape("\"FHA is a great course!  The AI course was much more thorough than the McKissock online course I took.\"")
//testimonials[10]["fullname"] = escape("Joe Connelly")
//testimonials[10]["title_co"] = null
//testimonials[10]["location"] = null
//testimonials[10]["xlsID"] = null

//testimonials[11] = new Array()
//testimonials[11]["courseID"] = null
//testimonials[11]["comment"] = escape("\"The 7-hour USPAP Online Course was my first online course.  I learned a lot as I had time to think through the answers.  Thank you for your assistance and leadership.\"")
//testimonials[11]["fullname"] = escape("Irene Merrill, MAI")
//testimonials[11]["title_co"] = null
//testimonials[11]["location"] = null
//testimonials[11]["xlsID"] = null

//testimonials[12] = new Array()
//testimonials[12]["courseID"] = null
//testimonials[12]["comment"] = escape("\"I've learned a ton from the Basic Appraisal Procedures online course, and now I feel confident in the valuation process.\"")
//testimonials[12]["fullname"] = escape("Cecilia McNicoll, MAI")
//testimonials[12]["title_co"] = null
//testimonials[12]["location"] = null
//testimonials[12]["xlsID"] = null

//testimonials[13] = new Array()
//testimonials[13]["courseID"] = null
//testimonials[13]["comment"] = escape("\"I'll use what I've learned from the 7-Hour National USPAP Online Equivalent Course as a stiff reminder of my obligations as an appraiser.  It's a good reminder of all those things we strive to do right.\"")
//testimonials[13]["fullname"] = escape("Susan Ernst, MAI")
//testimonials[13]["title_co"] = null
//testimonials[13]["location"] = null
//testimonials[13]["xlsID"] = null

//testimonials[14] = new Array()
//testimonials[14]["courseID"] = null
//testimonials[14]["comment"] = escape("\"In 24 years of appraising, I got more out of the online USPAP than I ever have before.  Thank you for makting this such a good learning experience!\"")
//testimonials[14]["fullname"] = escape("Doranne Godwin, MAI, SRA")
//testimonials[14]["title_co"] = null
//testimonials[14]["location"] = null
//testimonials[14]["xlsID"] = null

//testimonials[15] = new Array()
//testimonials[15]["courseID"] = null
//testimonials[15]["comment"] = escape("\"The real world applications discussed in the online program really helped me learn USPAP.  All of my questions were answered.\"")
//testimonials[15]["fullname"] = escape("Stephen Phillips, MAI")
//testimonials[15]["title_co"] = null
//testimonials[15]["location"] = null
//testimonials[15]["xlsID"] = null

//testimonials[16] = new Array()
//testimonials[16]["courseID"] = null
//testimonials[16]["comment"] = escape("\"Online training is not only convenient, but can be much more useful.  All the online courses I've taken through AI forced me to be thorough, allowed me to cruise past issues I already understand and helped reveal areas where I need work.\"")
//testimonials[16]["fullname"] = escape("James Strickland")
//testimonials[16]["title_co"] = null
//testimonials[16]["location"] = null
//testimonials[16]["xlsID"] = null

//testimonials[17] = new Array()
//testimonials[17]["courseID"] = null
//testimonials[17]["comment"] = escape("\"This was an excellent course that I found very informative and beneficial.  It gave me the insight I don't receive in my day-to-day work.\"")
//testimonials[17]["fullname"] = escape("Alison Redding")
//testimonials[17]["title_co"] = null
//testimonials[17]["location"] = null
//testimonials[17]["xlsID"] = null

//testimonials[18] = new Array()
//testimonials[18]["courseID"] = null
//testimonials[18]["comment"] = escape("\"Your online format is simple to use, relevant and entertaining.  I take all my CE courses from the Appraisal Institute and always have a little twinge of separation anxiety when a class ends!\"")
//testimonials[18]["fullname"] = escape("Alice Walker, SRA")
//testimonials[18]["title_co"] = null
//testimonials[18]["location"] = null
//testimonials[18]["xlsID"] = null
