function submit_email(myfield,e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;

if (keycode == 13)
   {
   location.href = '/registration/subscribe.php?email=' + myfield.value;
   return false;
   }
else
   return true;
}

function display_text_input()
{
	return "<input class=\"inputtext\" type=\"text\" name=\"email\" value=\"your@email.address\" style=\"width:150px; background: white url(../include/images/email.png) 2px 2px no-repeat; padding-left:24px;\" onfocus=\"if (this.value=='your@email.address') {this.value=''; this.style.color='#000000';}\" onblur=\"if (this.value=='') {this.value='your@email.address'; this.style.color='#a0a0a0';}\" onkeypress=\"return submit_email(this,event);\" />\n";
}