<!-- REFER PAGE --> <!-- This goes in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2001, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- function sendURL() { URL = document.URL; title = document.title; email = window.prompt("Please type in the email/s of the recepient/s below:",""); if (email == "null" || email == "") return; name = window.prompt("Please type in your first name below:",""); if (name == "null" || name == "") return; location.href="mailto: "+email+"?Subject=Check this out - "+name+" &Body=Check out this page: "+title+" - "+URL+" -- "+name; } // --> </script> <!-- This goes into the BODY of the file --> <form> <input type="button" value="Refer Page" onClick="sendURL()" /> </form> </div>