function add_event(object, event_type, func)
{
	try
	{
		object.addEventListener(event_type, func, true); 
	}
	catch(error)
	{
		return object.attachEvent("on"+event_type, func);
	}
}

function i_hate_spam()
{
	var a_tags=document.getElementsByTagName('a');
	
	for (i=0; i<a_tags.length; i++)
	{
		a_tags[i].href=a_tags[i].href.replace('[kukac_helye]', '@');
    	a_tags[i].href=a_tags[i].href.replace('[pont_helye]', '.');
	}
}

try {document.execCommand('BackgroundImageCache', false, true);} catch(error) {}

add_event(window, 'load', i_hate_spam);

function close_greybox()
{
	alert('s');
	document.getElementById('GB_overlay').style.display='none';
	document.getElementById('GB_window').style.display='none';
	
	return false;
}