/***********************************************************************************/

Magic Return 
Copyright 2005, 2006 Randall Goya
rgoya@yahoo.com
http://www.geocities.com/rgoya/

Demo:  http://www.geocities.com/rgoya/mrad.htm

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

GNU GENERAL PUBLIC LICENSE: http://www.gnu.org/licenses/gpl.txt

/***********************************************************************************/

v. 2006_1
Files included in mr.zip source: install.txt, mrad.js, gpl.txt (license)

ABOUT MAGIC RETURN

Magic Return is a JavaScript function developed to provide a way back to your web page.
It opens a small popunder window when your page unloads, with a link back to your site.
Magic Return minimizes itself discreetly, so the viewer can look at the linked page.
Magic Return works even if several links/pages are followed.

Magic Return code contains no spyware, adware, or viruses.
Magic Return does not interfere with ad codes.
The function is only a few lines of JavaScript code and doesn't increase page load time.
Magic Return works with text and banner ads-in fact, it works with any link, button etc.!

Magic Return won't work if pop-ups are blocked.
If the Magic Return window doesn't appear, try holding down the Ctrl key - or if you're using a Mac, hold down the "apple" Command key! 

/***********************************************************************************/

INSTALLATION

Unzip mr.zip to extract files: install.txt, mrad.js, gpl.txt (license)

Edit /* CUSTOMIZE HERE */ section of magicreturn.js to personalize.

Upload magicreturn.js to your web host server.

Link to magicreturn.js in head of web page: <script language="JavaScript" src="magicreturn.js"></script>
OR
Place code from magicreturn.js file in head of web page (between JavaScript <script>...</script> container tags).

/***********************************************************************************/

LAUNCHING MAGIC RETURN

Add onclick event trigger (onclick="MR()") to any link, button etc 
example: <a href="linkurl.htm" onclick="MR()">link text</a>

To launch automatically onunload of page add this code to DIV, SPAN, INPUT etc. tags: onmouseover="adover=1" onmouseout="adover=0"
example: <div align="center" onmouseover="adover=1" onmouseout="adover=0">

/***********************************************************************************/

CODE TO LINK TO MAGIC RETURN DEMO

<a href="http://www.geocities.com/rgoya/mrad.htm" target="_new">Magic Return by netsperience</a>

/***********************************************************************************/

THE LATEST VERSION OF MAGIC RETURN IS AVAILABLE FOR DOWNLOAD FROM
http://www.geocities.com/rgoya/source/mr.zip