function init()
{
 var v = window.location.search;
 if (v.search(/firstName/) != -1)
  document.Full_Estimate_Form.First_Name.value = getParam('firstName');
 if (v.search(/lastName/) != -1)
  document.Full_Estimate_Form.Last_Name.value = getParam('lastName');
 if (v.search(/email/) != -1)
  document.Full_Estimate_Form.SubmitterEmail.value = getParam('email');
 if (v.search(/phone/) != -1)
  document.Full_Estimate_Form.Phone.value = getParam('phone');
 if (v.search(/movingDate/) != -1)
  document.Full_Estimate_Form.Moving_Date.value = getParam('movingDate');
 if (v.search(/typeOfHome/) != -1)
  document.Full_Estimate_Form.Type_of_home.value = getParam('typeOfHome');
}

function getParam(pname)
{
 var v = window.location.search;
 var start = v.indexOf('=', v.indexOf(pname)) + 1;
 var end = v.indexOf('&', v.indexOf(pname));
 if (end != -1)
  param = v.substring(start, end);
 else
  param = v.substring(start);
 return param.replace(/%20/, " ");
}