function getRadioValue(field) {
	radioValue = 0;
	for (var i=0; i < field.length; i++) {
		if (field[i].checked) {
			var radioValue = field[i].value;
		}
	}
	return radioValue;
}

function popUpWindow(width, height, url) {
	leftPixel = (screen.width / 2) - (width / 2);
	topPixel = (screen.height / 2) - (height / 2);
	window.open (url,"popUpWindow","width="+width+", height="+height+", scrollbars=1,status=no,resizable = 1,left="+leftPixel+",top="+topPixel);
}
function popUpWindowResize(width, height, url) {
	leftPixel = (screen.width / 2) - (width / 2);
	topPixel = (screen.height / 2) - (height / 2);
	window.open (url,"popUpWindow","width="+width+", height="+height+", scrollbars=1,status=no, resizable=yes,,left="+leftPixel+",top="+topPixel);
}