in reply to problem with form_id

To add a wee bit of big-picture to the comments here ... if you looked (say, with the Firebug debugger, or most browsers in “Developer” mode) at the HTML-source of any page at all which contains a <frame>, you would see the tag ... but nothing of what the tag refers to.   This is because it’s not there:   frames are separately-fetched.   They are very much like “pages within pages,” because the browser initiates a separate HTML turn-around to get them, and more-or-less manages them in isolation from the “host” page.   And, basically, that’s what your script has to do, too:   it must find the frame-references, determine what they call for, and then fetch what they call for.   (As the FAQ somewhat tersely explains.)