The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

The first is that unless I put the full url (e.g. "C://web/page1.html") the document.write doesn't run. I need to be able to test the actual page reference, not it's full path as this is local and will be uploaded.

The second is how to get the changing next button href to essentially be page1.html + 1, page[n].html +1 if you like.

My first guess is that you're using static pages that actually have dynamic content, so the set up is not how I would do it.
If you use dynamic pages (content provided through PHP and MySQL for example), you can use the RewriteEngine (htaccess) to make the urls 'static'.

For example mypage.php?page=2 would become page2.html in your browser.
The file mypage.php contains some PHP to write the content on that page.