function vetAnswers1013_1(){
var yes = 0;
var no = 0;
	for (var i=1;i<2;i++) {
		if (eval('document.xlaapmform1013_1.answer' + i + '.value') !='') {
			yes++;
		} 
	}
		if (yes == 1) {
		return true;
		}
		else {
			alert('Please answer all the questions before submitting');
			return false;
		}
	}
function xlaapmsubmit1013_1(){
		if (vetAnswers1013_1()){
		xlaapmxe = window.open('','xlaapmxe','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=600');
		document.xlaapmform1013_1.submit();
		xlaapmxe.focus();
	}
}
function xlaviewresults1013_1(){
xlaapmxe = window.open('http://www.kmaland.com/absolutepm/xlaapmview.asp?p=1013&view=1','xlaapmxe','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=600');
}
function xlaviewcomments1013_1(){
xlaapmxe = window.open('http://www.kmaland.com/absolutepm/xlacomments.asp?p=1013','xlaapmxe','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=600');
}
function xlaviewprevious1013_1(){
xlaapmxe = window.open('http://www.kmaland.com/absolutepm/xlalistprevious.asp?z=1','xlaapmxe','toolbar=0,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=600');
}
var count = '250';
function checkNumChar(posNum, posWhere){
var txtArea = document.getElementById(posNum).value;
var txtAreaLen = txtArea.length;
if(txtAreaLen > count){
txtArea = txtArea.substring(0,count);
document.getElementById(posNum).value = txtArea;alert('You have reached the maximum amount of characters.');
return false;
}
document.getElementById(posWhere).innerHTML = 'Characters remaining: ' + (count - txtAreaLen);
}
	document.write('<form name=xlaapmform1013_1 method=post target=xlaapmxe action=absolutepm\/xlaagreement.asp?p=1013 style=margin:0;><table width=100% cellspacing=1 cellpadding=2><input type=hidden name=pollid value=1013 \/><input type=hidden name=uid value=_1 \/><tr align=left><td colspan=2 valign=top><font  style=\"font-family:verdana;font-size:12;color:#000000;\"><b>Because the British government pays 146 million pounds\/year for about 100,000 children admitted to hospitals annually due to home injuries, health and safety inspectors are to be given unprecedented access into family homes to ensure parents are protecting their children from household accidents.  Do you think government safety inspectors should be allowed into your home?<\/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:xlaapmform1013_1.answer1.value=3774\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:12;color:#000000;\">Absolutely, if it\'s for the sake of children\'s safety!<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans1\' onclick=\'javascript:xlaapmform1013_1.answer1.value=3775\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:12;color:#000000;\">Over my dead body.<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans1\' onclick=\'javascript:xlaapmform1013_1.answer1.value=3776\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:12;color:#000000;\">Who cares?<\/font><\/td><\/tr><tr><td width=0 valign=top align=left><input type=\'radio\' name=\'ans1\' onclick=\'javascript:xlaapmform1013_1.answer1.value=3777\'><\/td><td width=100%><font  style=\"font-family:verdana;font-size:12;color:#000000;\">other<\/font><\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td align=center colspan=2><font  style=\"font-family:verdana;font-size:12;color:#000000;\">Your Comments: The opinions expressed here are not the opinions of KMA Broadcasting, L.P. or its management.<\/font><br><textarea name=comment id=\'comment\' cols=20 rows=4 onKeyUp=\"checkNumChar(\'comment\', \'numChar1\');\" style=\'width:98%\'><\/textarea><br><div name=\'numChar1\' id=\'numChar1\'>Max characters = 250<\/div><br>&nbsp;<\/td><\/tr><tr><td align=center colspan=2><input type=button onclick=\"javascript:xlaapmsubmit1013_1()\" name=Submit value=\'Submit Vote\' style=\"font-family:verdana;font-size:12;color:#000000;\"\'><input type=hidden name=totalquestions value=1><\/td><\/tr><tr><td align=center colspan=2><font style=\"font-family:verdana;font-size:12;color:#000000;\"><a href=\'javascript:xlaviewresults1013_1()\' target=_self style=\"font-family:verdana;font-size:12;color:#000000;\">View Results<\/a><\/font><\/td><\/tr><tr><td align=center colspan=2><font  style=\"font-family:verdana;font-size:12;color:#000000;\"><a href=\'javascript:xlaviewcomments1013_1()\' target=_self style=\"font-family:verdana;font-size:12;color:#000000;\">View Comments<\/a><\/font><\/td><\/tr><\/table><input type=hidden name=dopoll value=1013><input type=hidden name=z value=\'1\'><\/form>');
