function vetAnswers2_1(){
var yes = 0;
var no = 0;
	for (var i=1;i<4;i++) {
		if (eval('document.xlaapmform2_1.answer' + i + '.value') !='') {
			yes++;
		} 
	}
		if (yes == 3) {
		return true;
		}
		else {
			alert('Please answer all the questions before submitting');
			return false;
		}
	}
function xlaapmsubmit2_1(){
		if (vetAnswers2_1()){
		xlaapmxe = window.open('','xlaapmxe','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=350');
		document.xlaapmform2_1.submit();
		xlaapmxe.focus();
location.href = location.href;
	}
}
function xlaviewresults2_1(){
xlaapmxe = window.open('http://www.complementarymedicinecentre.com/errapm/xlaapmview.asp?p=2&view=1','xlaapmxe','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=350');
}
function xlaviewcomments2_1(){
xlaapmxe = window.open('http://www.complementarymedicinecentre.com/errapm/xlacomments.asp?p=2','xlaapmxe','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=350');
}
function xlaviewprevious2_1(){
xlaapmxe = window.open('http://www.complementarymedicinecentre.com/errapm/xlalistprevious.asp?z=1','xlaapmxe','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=350');
}
	document.write('<form name=xlaapmform2_1 method=post target=xlaapmxe action=http:\/\/www.complementarymedicinecentre.com\/errapm\/xlaabsolute2.asp?p=2 style=margin-top:-12px><table class=table width=162 cellspacing=1 cellpadding=2><tr align=left><td colspan=2 valign=top><font  class=\"pmzonehp\"><b>1) Do you think complementary medicine would be helpful to your healthcare programme?<\/b><\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'checkbox\' value=\'11\' name=\'answer1\'><\/td><td width=100%><font class=\"pmzonehp\">Yes, it would be of a great assistance<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'checkbox\' value=\'12\' name=\'answer2\'><\/td><td width=100%><font class=\"pmzonehp\">No, it would not make a difference<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'checkbox\' value=\'13\' name=\'answer3\'><\/td><td width=100%><font class=\"pmzonehp\">Not sure, I would like someone to contact me regards this.<\/font><\/td><\/tr><br \/><tr><td align=left colspan=2><font  class=\"pmzonehp\"><b>Your Comments :<\/b><\/font><br><textarea name=comment cols=20 rows=4 style=\'width:98%\'><\/textarea><br>&nbsp;<\/td><\/tr><tr><td align=center colspan=2><input class=formbutton type=button onclick=\"javascript:xlaapmsubmit2_1()\" name=Submit value=\'Submit Vote\' class=\"pmzonehp\"\'><input type=hidden name=totalquestions value=3><\/td><\/tr><tr><td align=center colspan=2><font class=\"pmzonehp\"><a href=\'javascript:xlaviewresults2_1()\' target=_self class=\"pmzonehp\">View Results<\/a><\/font><\/td><\/tr><tr><td align=center colspan=2><font  class=\"pmzonehp\"><a href=\'javascript:xlaviewprevious2_1()\' target=_self  class=\"pmzonehp\">Previous Polls<\/a><\/font><\/td><\/tr><\/table><input type=hidden name=dopoll value=2><input type=hidden name=z value=\'1\'><\/form>');
