creating a pop up dialog box when site opened and a website link in the dialog box which opens in a new tab

creating a pop up dialog box when site opened and a website link in the dialog box which opens in a new tab

Hi I would like to create a dialog box that opens when u launch the site or when someone opens the home page. right now I have a dialog box that u click on in the home page but I can't find code to do the above. this is what I have for the current dialog box. I also found it weird that the script part went below it and before  </body>
</html>
This is the code I am using, the first line beginning with 5% reads on the page and then the balance is read in a dialog box with a cancel or ok. I would also link to add a link to the organization's site with a blank_target. (site www.calis-way.com, just in case). Can u help me? Thanks M


5% of all Dr. Jana's earning <br />
will be donated to Puppies behind bars<br />
<button onclick="myFunction()">read more</button>
<p id="demo"></p>


</p>

  </div>
  <div class="plugfloats">.</div>
  <div class="footer">
    <p class="footleft"><a href="mailto:drjana@calis-way.com" style="color:#FFF">Contact drjana@calis-way.com</a></p>
    <p class="footright"><script type="text/javascript">var pageTitle = document.title; document.write(pageTitle)</script> </p>
  </div>
</div>
<script>
function myFunction()
{
alert("In honor of Cali's memory and all the pets I have helped pass on\n5% of all proceeds will be donated to Puppies behind bars\nPuppies behind bars trains prison inmates to raise service dogs\nfor wounded war veterans and explosive detection canines for law enforcement");
}
</script>