//BLINK - IE does not understand the blink css
var text_timer;
var text_visible = 1;
var text_tmp;

function blink()
{
   if (text_visible)
	 {
	    text_tmp = document.email_form.email.value;
			document.email_form.email.value = '';
			text_visible = false;
	 }
   else
	 {
	    document.email_form.email.value = text_tmp;
			text_visible = true;
	 }
								  }

function start_blink()
{
   if (document.email_form.email.value=='@')
	 {
	    text_timer = setInterval('blink()', 500);
	 }
}

function stop_blink()
{
   if (text_timer)
	 {
	    clearInterval(text_timer);
	 }
								  }

function email_focus()
{
   stop_blink();
	 e = document.email_form.email;
	 if (e.value == '@') e.value = '';
}

function email_blur()
{
   e = document.email_form.email;
	 if (e.value == '@' || e.value == '')
	 {
	    e.value = '@';
	    start_blink();
	 }
}

if (window.addEventListener) window.addEventListener("load", start_blink, false);
else if (window.attachEvent) window.attachEvent("onload", start_blink);
else if (document.getElementById) window.onload=start_blink;
