function vetAnswers2_(){
var yes = 0;
var no = 0;
	for (var i=1;i<7;i++) {
		if (eval('document.xlaapmform2_.answer' + i + '.value') !='') {
			yes++;
		} 
	}
		if (yes == 6) {
		return true;
		}
		else {
			alert('Please answer all the questions before submitting');
			return false;
		}
	}
function xlaapmsubmit2_(){
		if (vetAnswers2_()){
		xlaapmxe = window.open('','xlaapmxe','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=350');
		document.xlaapmform2_.submit();
		xlaapmxe.focus();
	}
}
	document.write('<form name=xlaapmform2_ method=post target=xlaapmxe action=http:\/\/www.hay-on-wye.co.uk\/polls\/xlaabsolute2.asp?p=2 style=margin:0;><table width=100% cellspacing=1 cellpadding=2><tr align=left><td colspan=2 valign=top><font  style=\"font-family:verdana;font-size:10;color:#000000;\"><b>Are you intending to visit Hay in:<\/b><\/font><\/td><\/tr><tr><td><\/td><td><input type=hidden name=answer1 value=\'\'><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans1\' onclick=\'javascript:xlaapmform2_.answer1.value=21\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">The next month<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans1\' onclick=\'javascript:xlaapmform2_.answer1.value=22\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">The next 3 months<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans1\' onclick=\'javascript:xlaapmform2_.answer1.value=23\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">The next 6 months<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans1\' onclick=\'javascript:xlaapmform2_.answer1.value=24\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">The next year<\/font><\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr align=left><td colspan=2 valign=top><font  style=\"font-family:verdana;font-size:10;color:#000000;\"><b>Why have you chosen Hay?<\/b><\/font><\/td><\/tr><tr><td><\/td><td><input type=hidden name=answer2 value=\'\'><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans2\' onclick=\'javascript:xlaapmform2_.answer2.value=25\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Because of the Books<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans2\' onclick=\'javascript:xlaapmform2_.answer2.value=26\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Because of its Leisure Activities<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans2\' onclick=\'javascript:xlaapmform2_.answer2.value=27\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Because it is a good holiday location<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans2\' onclick=\'javascript:xlaapmform2_.answer2.value=28\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Other<\/font><\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr align=left><td colspan=2 valign=top><font  style=\"font-family:verdana;font-size:10;color:#000000;\"><b>How long do you plan to stay in Hay?<\/b><\/font><\/td><\/tr><tr><td><\/td><td><input type=hidden name=answer3 value=\'\'><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans3\' onclick=\'javascript:xlaapmform2_.answer3.value=29\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">A weekend<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans3\' onclick=\'javascript:xlaapmform2_.answer3.value=30\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Two to Three days<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans3\' onclick=\'javascript:xlaapmform2_.answer3.value=31\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">About one week<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans3\' onclick=\'javascript:xlaapmform2_.answer3.value=32\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Two weeks<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans3\' onclick=\'javascript:xlaapmform2_.answer3.value=33\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">More than two weeks<\/font><\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr align=left><td colspan=2 valign=top><font  style=\"font-family:verdana;font-size:10;color:#000000;\"><b>Are you aged<\/b><\/font><\/td><\/tr><tr><td><\/td><td><input type=hidden name=answer4 value=\'\'><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans4\' onclick=\'javascript:xlaapmform2_.answer4.value=34\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">U16<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans4\' onclick=\'javascript:xlaapmform2_.answer4.value=35\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">17-25<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans4\' onclick=\'javascript:xlaapmform2_.answer4.value=36\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">26-35<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans4\' onclick=\'javascript:xlaapmform2_.answer4.value=37\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">36-45<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans4\' onclick=\'javascript:xlaapmform2_.answer4.value=38\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">46-55<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans4\' onclick=\'javascript:xlaapmform2_.answer4.value=39\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">56-65<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans4\' onclick=\'javascript:xlaapmform2_.answer4.value=40\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">66 or over<\/font><\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr align=left><td colspan=2 valign=top><font  style=\"font-family:verdana;font-size:10;color:#000000;\"><b>Are you aware of the Hay Festival of Literature and the arts?<\/b><\/font><\/td><\/tr><tr><td><\/td><td><input type=hidden name=answer5 value=\'\'><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans5\' onclick=\'javascript:xlaapmform2_.answer5.value=41\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Yes<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans5\' onclick=\'javascript:xlaapmform2_.answer5.value=42\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">No<\/font><\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr align=left><td colspan=2 valign=top><font  style=\"font-family:verdana;font-size:10;color:#000000;\"><b>Where are you visiting from?<\/b><\/font><\/td><\/tr><tr><td><\/td><td><input type=hidden name=answer6 value=\'\'><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans6\' onclick=\'javascript:xlaapmform2_.answer6.value=43\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Wales<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans6\' onclick=\'javascript:xlaapmform2_.answer6.value=44\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Rest of UK<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans6\' onclick=\'javascript:xlaapmform2_.answer6.value=45\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Europe<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans6\' onclick=\'javascript:xlaapmform2_.answer6.value=46\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:10;color:#000000;\">Outside Europe<\/font><\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td align=center colspan=2><input type=button onclick=\"javascript:xlaapmsubmit2_()\" name=Submit value=\'Submit\' style=\"font-family:verdana;font-size:10;color:#000000;\"\'><input type=hidden name=totalquestions value=6><\/td><\/tr><\/table><input type=hidden name=dopoll value=2><input type=hidden name=z value=\'\'><\/form>');
