


	function vetAnswers21() {
		var yes = 0;
		var no = 0;
		for (var i=1;i<2;i++) {
			if (eval("document.xlaapmform21.answer" + i + ".value") !='') {
				yes++;
			} 
		}
		
		if (yes == 1) {
			return true;
		}
		else {
			alert('Please answer all the questions before submitting');
			return false;
		}
	}
	
	
	
	function xlaapmsubmit21(){
		// Validate data 
		if (vetAnswers21()){
			xlaapm2 = window.open('','xlaapm2','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=350');
			document.xlaapmform21.submit();
			xlaapm2.focus();
			location.href = location.href;
		}
	}
	
	
	
	document.write('<form name=xlaapmform21 method=post target=xlaapm2 action=http:\/\/npnweb.com\/ME2\/Apps\/PollManager\/xlaabsolute2.asp?p=21 style=margin:0;><table width=100% cellspacing=1 cellpadding=2><tr align=left><td colspan=2 valign=top><font face=Arial size=2 color=><b>Do you think the recent oil spill in the Gulf will change government regulation of energy producers? <\/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:xlaapmform21.answer1.value=82\'><\/td><td width=100%><font face=Arial size=2 color=>No.<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans1\' onclick=\'javascript:xlaapmform21.answer1.value=83\'><\/td><td width=100%><font face=Arial size=2 color=>Possibly.<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans1\' onclick=\'javascript:xlaapmform21.answer1.value=84\'><\/td><td width=100%><font face=Arial size=2 color=>Yes.<\/font><\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td align=center colspan=2><input type=button onclick=\"javascript:xlaapmsubmit21()\" name=Submit value=Submit style=\'font-family: Verdana; font-size: 8pt;\'><input type=hidden name=totalquestions value=1><\/td><\/tr><tr><td align=center colspan=2><font face=Arial size=2 color=><a href=\'javascript:xlaviewprevious21()\'>Previous Polls<\/a><\/font><\/td><\/tr><\/table><\/form>');
	
	
	
	
	
	function xlaviewprevious21(){
		xlaapm2 = window.open('http://npnweb.com/ME2/Apps/PollManager/xlalistprevious.asp?p=21','xlaapm2','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=350');
	}
	
	
	