/* ő */

function enter()
{
	if (window.event && window.event.keyCode == 13)
	{
		alert("na");
		searchSubmit();
	}
	else
	{
		return true;
	}
}

function red(nb)
{
	if(nb==1) document.getElementById('red').style.color='black';
	if(nb==0) document.getElementById('red').style.color='red';
}

function searchSubmit()
{
	var str=document.getElementById('skw').value;
	str = str.replace(/á/,"&aacute;");
	str = str.replace(/é/,"&eacute;");
	str = str.replace(/í/,"&Iacute;");
	str = str.replace(/ó/,"&oacute;");
	str = str.replace(/ú/,"&uacute;");
	str = str.replace(/ö/,"&ouml;");
	document.getElementById('skeyword').value = str.replace(/ü/,"&uuml;");
	
	document.search.submit();
}

function calcHeight()
{
	//find the height of the internal page
	var the_height=
	document.getElementById('the_iframe').contentWindow.document.body.scrollHeight;
	//change the height of the iframe
	document.getElementById('the_iframe').height=the_height;
}