var text_timer;
var text_visible = 1;
var text_tmp;

function blink()
{
	if (text_visible)
	{
		text_tmp = document.catcher.email.value;
		document.catcher.email.value = '';
		text_visible = false;
	}
	else
	{
		document.catcher.email.value = text_tmp;
		text_visible = true;
	}
}

function start_blink()
{
	if (document.catcher.email.value=='@')
	{
		text_timer = setInterval('blink()', 500);
	}
}

function stop_blink()
{
	if (text_timer)
	{
		clearInterval(text_timer);
	}
}

function email_focus()
{
	stop_blink();
	e = document.catcher.email;
	if (e.value == '@') e.value = '';
}

function email_blur()
{
	e = document.catcher.email;
	if (e.value == '@' || e.value == '')
	{
		e.value = '@';
		start_blink();
	}
}

if (document.all && document.body)
{
	document.body.onload = new Function("start_blink();");
}
