<!--
function windowOpen(url,windowName,windowWidth,windowHeight)
{
html = window.open(url,windowName,"resizeable=0,scrollbars=0,width="+windowWidth+",height="+windowHeight);
//html.document.belepesForm.referrer.value=window.location;
}
//---------------------------------------------------------
function onFormListChange(formList)
{
formList.options[formList.selectedIndex].style.backgroundColor='#FFCC00';
}
//---------------------------------------------------------
function scrollWindowOpen(url,windowName,windowWidth,windowHeight)
{
html = window.open(url,windowName,"resizeable=0,scrollbars=1,width="+windowWidth+",height="+windowHeight);
}
//---------------------------------------------------------
function checkForm(formName)
{
var formOk=true;
var f=document.getElementById(formName);
var fe=f.elements;
var a,b;
for (a=0;a<fe.length;a++)
	{
	if (fe[a].className=='mustBeFilled')
		{
		if (fe[a].tagName=='INPUT')
			{
			if (fe[a].type=='radio')
				{
				var radioChecked=false;
				for (b=0;b<fe.length;b++)
					{
					if ((fe[b].checked)&&(fe[a].name==fe[b].name))
						{
						radioChecked=true;
						}
					}
				if (!radioChecked)formOk=false;
				}
			}
		else
			{
			if (fe[a].value=='')formOk=false;
			}
		}
	}
if (!formOk)
	{
	alert('Kérem, mindegyik kötelező mezőt töltse ki!');
	}
return formOk;
}
//-->

