A friend told me you could preload pages using java script...

Can anyone show me or give me a link where i could find out how this is done and how to impliment it on a website..

Thanks