// JavaScript Document

function validateform(form2check)
{

// other validation code here - Scott has it if you want it.

	if (!ValidBotBoot()){
		alert("Your answer on the math problem is incorrect - please re-try.");
		return false;
	}

return(true);	// valid

}

// simple captcha

function DrawBotBoot()
{
	document.write("What is "+ a + " + " + b +"? ");
	document.write("<input id='BotBootInput' type='text' maxlength='2' size='2'/>");

}    
function ValidBotBoot(){

	var d = document.getElementById('BotBootInput').value;
	if (d == c) return true;        
	return false;
	
}

