enigma1 - 8:59 pm on Jan 9, 2012 (gmt 0)
When you move from static pages to a dynamic web package, you should keep the original HTML links exactly as they are. If your links change, it will obviously cause significant loss of page rank.
then later that redirect is removed and the content on the old URL restored
If you plan to restore the page at some point you should be doing a 302 or 307 not 301.
Theoretically restoring the old page will regain the rank if you have external links pointing to it. But I don't know how search engines will perceive it. IMO if the page had no external links, a 301 for sometime and then a 404 for sometime, could be better before restoring the original page.
Another way instead of restoring the exact same link (since you have a 301 in place now) you could setup the old page under a new link.