I assume you're doing a mileage run.
You will not be able to check-in through and connect via London from LAX to DTW. For this flight you will need to collect your luggage at LGW and re-check in again for the DTW flight. This is due to security reasons and passport checks done at the UK side.
However if you don't have luggage...then follow this procedure -
Check in for your LGW flight only. Upon arrival in LGW, proceed to "TRANSIT and FLIGHT CONNECTIONS". You do not have to pass through customs and immigration. Then recheck in for your return flight to DTW.
[This message has been edited by Guy Betsy (edited 10-11-2000).]