AlexG wrote:
...

> The source for the frame I want includes this Javascript at the top:
> 
> <script language="JavaScript">
> <!--
> if (parent.location.href == self.location.href)
>     window.location.href = 'result_flat.php4?ecno=1.1.1.1';
> //-->
> </script>
> 
> I don't know enough Javascript to know if this reveals anything, but it
> seemed like it might mess with the way the browser loads the frame in
> some way.

Your browser is executing that code and reloading the fully-framed set. 
Disable JavaScript in your browser and see what happens.

I was able to fetch the single 'flat' page using wget, and Mechanize or 
open-uri should be able to do so also, since they will not be executing 
any JavaScript.

James

-- 

http://www.ruby-doc.org       - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com      - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com     - Playing with Better Toys
http://www.30secondrule.com   - Building Better Tools