<!--
function format_keyword(obj)
{
	var keyword = obj.value.replace(/[^0-9A-Za-zάΦΔόφδί\_]/g, '_');
	keyword = keyword.replace (/_{2,}/, '_');
	keyword = keyword.replace (/^\_/, '');
	keyword = keyword.replace (/\_$/, '');
	obj.value = keyword;	
	return escape(keyword); 
}
function trim(obj)
{s
	obj.value = obj.value.replace (/^\s+/, '');
	obj.value = obj.value.replace (/\s+$/, '');
	return obj.value;
}
function popup (url, title, w, h, t, l, s)
{
	var scroll = (typeof(s) == 'undefined') || !s ? 0 : 1;
	if (typeof(t) == 'undefined') t=10;
	if (typeof(l) == 'undefined') l=10;
	if (t==-1) t = (screen.height-h)/2;
	if (l==-1) l = (screen.width-w)/2;	

	title = title.replace("-", "");

	var x = window.open(url, title,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=" + scroll + ",resizable=1,width=" + w + ",height=" + h + ",top=" + t + ",left=" + l);

	x.focus();
	return x; 
}
function jm_help(page_id, section_id)
{
	var L = (screen.width-670);
	if (typeof(section_id) == 'undefined')
	{
		section_id='';
	} 
	else
	{
		section_id='#' + section_id;
	}
	m=window.open("/cgi-bin/help.pl?page_id=" + page_id + section_id,"Help","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=597,left="+L+",top=0"); 
	m.focus();
}
function email_valid(email)
{
	var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	return filter.test(email);
}
-->