	//add the click event to #custIdNumberBtn button
				$('#custIdNumberBtn').click(function() {
					var custIdVal = $('#custIdNumber').val();
					if(custIdVal!=""){
						window.location = "getDownloads.php?d=getCustDloads&custID="+custIdVal;
					}
				});
				//add the click event to the #chkTerms checkbox
	 $('#chkTerms').click(function() {									
					if($('#chkTerms:checked').length == 1){
						var confirmStr = "Warning! New installs of RealEasy Appraisals may not work with non-supported supplemental programs since we no longer test for old non-supported applications.";
						confirmStr += "\n\nIf you have any questions concerning your currently installed applications and their compatibility with newer versions, please call 1-800-528-3445.";
						confirmStr += "\n\nDo you wish to continue?";
												
						var accept = confirm(confirmStr);
						if(!accept){
							$('#chkTerms').removeAttr("checked");							
						}	
							
					}				
				});	
	 		//check to see if the eula has been checked when product download links are clicked
			//$('.dloadLink').click(function() {
			function checkEULA(){	
				if($('#chkTerms:checked').length == 1){
					return true;						
				}
				else{
					var termsObj = $('#terms');
						termsObj.css('background','#FAFAD2');
						termsObj.css('border-color','#FF0000');
						termsObj.css('color','#FF0000');
					
					$('#chkTerms').focus();
					
					alert("You must agree to the terms and conditions before downloading.");
						
					return false;
				}
			
			}
			//});
