<!--


function popup()
{
	if ("divorcechoicepopup" == window.name)
	   return true ;

	var width = 500 ;
	var height = 520 ;
	var x = 0;
	var y = 0 ;

	x = (screen.availWidth - width) / 2 ;
	y = (screen.availHeight - height) / 2 ;

	var oWin = window.open(	"", 
		"divorcechoicepopup",
		"location=0,toolbar=0,menubar=0,scrollbars=0" 
		+ ",width=" + width
		+ ",height=" + height
		+ ",scrollbars=yes")
		
		/* "toolbar=" + toolbar
		+ ",status=" + status
		+ ",menubar=" + menubar
		+ ",width=" + width
		+ ",height=" + height
		+ ",location=no,directories=no,scrollbars=yes,resizable=no"); */

	oWin.moveTo(x,y) ;
	oWin.focus();
	oWin.document.open();
	oWin.document.write("<title>Loading ...</title><p>Loading ...");
	oWin.document.close() ;
	return true ;
}

function submitPoll()
{
	if ("dcpopuppoll" == window.name)
	   return true ;
	
	if(! window.focus)
		return true;
		
	var width = 400;
	var height = 200;
	var x = 0;
	var y = 0;
	x = (screen.availWidth - width) / 2 ;
	y = (screen.availHeight - height) / 2 ;
		
	var oForm = document.getElementById("PollForm");
	if(oForm != null) {
		var oWin = window.open("", 
			"dcpopuppoll",
			"location=0,toolbar=0,menubar=0,scrollbars=0,statusbar=0" 
			+ ",width=" + width
			+ ",height=" + height)
		
		oForm.target = "dcpopuppoll";
		
		oWin.moveTo(x,y) ;
		oWin.focus();
		oWin.document.open();
		oWin.document.write("<title>Loading ...</title><p>Loading ...");
		oWin.document.close() ;
	}
	return true;
}
//-->

//-->