I tried this with the onLoad script and cannot get it to work.  I get a javascript error when the record producer loads