$polls_header1 = $cfg['doctype']."<html><head>
<title>".$cfg['maintitle']."</title>".sed_htmlmetas()."
<script type=\"text/javascript\">
<!--
function pfs(id,c1,c2) {
	var l = 'pfs.php?userid=_ID_&c1=_C1_&c2=_C2_';
	l = l.replace('_ID_', id);
	l = l.replace('_C1_', c1);
	l = l.replace('_C2_', c2);
	window.open(l,'PFS','status=1, toolbar=0,location=0,directories=0,menuBar=0,resizable=1,scrollbars=yes,width=754,height=512,left=32,top=16');
}

function help(rcode) {
	var l = 'plug.php?h=_RCODE_';
	l = l.replace('_RCODE_', rcode);
	window.open(l,'Help','toolbar=0,location=0,directories=0,menuBar=0,resizable=0,scrollbars=yes,width=480,height=512,left=32,top=16');
}

function help(rcode,c1,c2) {
	var l = 'plug.php?h=_RCODE_&c1=_C1_&c2=_C2_';
	l = l.replace('_RCODE_', rcode);
	l = l.replace('_C1_', c1);
	l = l.replace('_C2_', c2);
	window.open(l,'Help','toolbar=0,location=0,directories=0,menuBar=0,resizable=0,scrollbars=yes,width=480,height=512,left=32,top=16');
}

function comments(rcode) {
	var l = 'plug.php?id=_RCODE_';
	l = l.replace('_RCODE_', rcode);
	window.open(l,'Comments','toolbar=0,location=0,directories=0,menuBar=0,resizable=0,scrollbars=yes,width=480,height=512,left=16,top=16');
}
//-->
</script>";