You are right javascript redirects are not a good option to redirect your web page or web site when you move a document or move to a new domain. It's not search engine or google friendly for one thing. For another, Javascript is very unreliable. About 10% of the surfers browse the internet turning their javascript off. For those javascript redirect won't work. The php or asp option is more reliable in this sense,
php:
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: [http://www.domain.com]" );
asp:
Response.Status = "301 Moved Permanently"
Call Response.AddHeader ("Location","http://www.domain.com")
Response.End
btw, the javascript redirect is like this:
<SCRIPT>
location.href = "http://www.quantumcloud.com/"
</SCRIPT>
(this way you can redirect all your traffics to quantumcloud. :d)
And yes, google does respect a 301 redirect and will pass the page's PR accordingly.
You can perhaps, also use .htaccess on an apache server to do a domain or page redirect. I am not sure, I will look that up. If you can then perhaps, it would be the most reliable and preferable way to do this.
_________________
Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.