Since Hype scenes cannot be separated into discrete 'Divs' which are pre-rendered, this technique probably won't work without a lot of modification unfortunately. If you could separate each page into a Hype export, this might work. Can you share where you downloaded this code?