function switcher(id) {
 switch (id) {
  case 'validation': var j = 'Form Validation Key (see sidebar)';break;
  case 'client': var j = 'Client';break;
  case 'company': var j = 'Company Name';break;
  case 'street': var j = 'Street Address';break;
  case 'city': var j = 'City, State, ZIP';break;
  case 'pm': var j = 'Project Manager';break;
  case 'keycontact': var j = 'Name of Key Contact(s)';break;
  case 'email': var j = 'eMail Address';break;
  case 'telephone': var j = 'Telephone';break;
  case 'projectname': var j = 'Project Name';break;
  case 'description': var j = 'Project Description and Specifications';break;
  case 'firstproof': var j = 'First Proof Required By (mm/dd)';break;
  case 'deadline': var j = 'Delivery Deadline (mm/dd)';break;
  case 'comments': var j = 'Comments and Questions';break;
  case 'file': var j = 'Have a file to upload? Describe it here. ZIP multiple files together.';break;
  default: '';break;
 }
 return j;
}

function focused(id) {
 var j = switcher(id);
 if(document.getElementById(id).value == j) {
  document.getElementById(id).value = "";
 }
 document.getElementById(id).style.backgroundColor = "#fbfbfb";
 document.getElementById(id).style.border = "#005da3 dotted 1px";
 document.getElementById(id).style.color = "#333333";
}

function blurred(id) {
 var j = switcher(id);
 if(document.getElementById(id).value =='') {
  document.getElementById(id).style.backgroundColor = "#ffffff";
  document.getElementById(id).style.border = "#cccccc dotted 1px";
  document.getElementById(id).style.color = "#005da3";
  document.getElementById(id).value = j;
 }
 else if(document.getElementById(id).value == j) {
  document.getElementById(id).style.backgroundColor = "#fbfbfb";
  document.getElementById(id).style.border = "#005da3 dotted 1px";
  document.getElementById(id).style.color = "#333333";
 }
 else{
  document.getElementById(id).style.backgroundColor = "#ffffff";
  document.getElementById(id).style.border = "#005da3 dotted 1px";
  document.getElementById(id).style.color = "#333333";
 }
}
