Please put this in the onload event of the CRM Form.
document.getElementById("parentcustomerid").setAttribute("lookuptypes", "1");
it is also an unsupported way.