function ref() {
if (document.referrer == 'http://acecontent.apexlearning.com/Live/online/music_sem_1/Unit_3/Lesson_3/Activity_19432/page2.htm')
document.write('<center><div style="width:80%;text-align:left;"><h2 align=center>Welcome, <span style="color:#990000; background-color:white;">Apex Learning</span> visitor!</h2>Check out the on-line course I teach on Music Theory from the <a href="http://lphrc.org">LPH Resource Center</a> on-line classes.<br><a href="http://lphrc.org/courses.html#Music">http://lphrc.org/courses.html#Music</a><br>Only $44 for the full year course!<p>There are a lot of other classes I teach there too. They are recommended for grades 4-8, but students of any age are welcome.<p>Also, you might want to look into any Latin Masses in your area, where you can hear Gregorian Chant in actual use! You can write to me at the email address near the bottom of this page if you would like help in finding one.</div></center>');

if (document.referrer == 'http://www.tarleton.edu/Faculty/boucher/LinksTheoryEducation.htm')
document.write('<center><div style="width:80%;text-align:left;"><h2 align=center>Welcome, visitor from Tarleton State University!</h2><p>If you want to experience actual Gregorian Chant in living use, you might want to look into any Latin Masses in your area where you might be able to find it! You can write to me at the email address near the bottom of this page if you would like help in finding one.<div style="font-size:small;">If you know any homeschoolers, check out the classes I teach on-line for homeschoolers, at <a href="http://lphrc.org">LPH Resource Center</a>.</div></div></center><p>');

if (document.URL == 'http://rickmk.com/Chant/index.html#chant')
document.write('<h2>Thank you</h2>');
}


