This is a cross-browser script that will highlight all the text on a page - without it needing to be in a text box:
http://4umi.com/web/javascript/select.php

I'd like to modify it so that instead of working using the form/select option, it will automatically highlight all the script on a page by body onload when the page opens (in a popup). (There's a good reason for this - to then pass a page description to the likes of Pinterest and Stumbleupon.)

Thanks if anyone knows how to make the change

Best wishes

Tony