function ClearMe(hasFocus, field, string)
{
	if (hasFocus)
	{
		if (field.value == '' || field.value == string)
		{
			field.value = string;
		}
	} 
	else 
	{
		if (field.value == string)
		{
			field.value = '';
		}
	}
}

function DeleteJob(jobRef)
{
  if (confirm("Are you sure you want to delete this job (ref: " + jobRef + ")?"))
  {
    document.location = "admin_deletejob.php?ref=" + jobRef;
  }
}

function GetMail(root, domain, name)
{
  var address = name + "@" + domain + "." + root;
  document.write('<a href="mailto:' + address + '">' + address + '</a>');
}