The solution works great with a master list I have in my top site. I have all the lookup value lists defined at the top site also along with a custom content type for the list. However, when setting up a list exactly the same way in a sub-site, the lookups do not function as they should and the web page reports "a problem with the request".
Attempts at debugging the script are not giving very good indicators as to what the issue is but I think it might be due to the cross site nature of the lookup lists vs. the operational list. Has anyone else experienced this type of scenario with similar issues?