/*********************************************
Try Me Lucky Charms: It's magically encrypted!
----------------------------------------------
Special email encryption to keep away the bad guys. Dan wrote this, modified from http://joemaller.com/js-mailer.shtml
The default example uses OBFUSCATED letters for most things. This provides more security.
To obfuscate things go to http://alicorna.com/obfuscator.html and type in whatever you want to obfuscate. (Can be your full email, or just chunks of text.)
*********************************************/

/***********
Instructions
------------

1) In the <head> area, paste in:

	<script type="text/javascript" src="../shared/js/tmlc2.js"></script>

(Note: Be sure to adjust the SRC to reflect where your HTML page is at in the site.)

2) Where you want the email to show up, paste in:

	<script type="text/javascript">tMLC('','','');</script>

3) Fill in the three ''s.
	FIRST is your username (REQUIRED),
	SECOND is an OPTIONAL email subject line,
	THIRD is an OPTIONAL domain name (defaults to ignatius.com).
	
	example:	<script type="text/javascript">tMLC('dan','Website Stuff - ','');</script>
	gives:		<a href="mailto:dan@ignatius.com?subject=Website Stuff - ">dan@ignatius.com</a>

**********/

function tMLC(t1,t2,t3) {
	if ( t2 ) {
		t2 = '&#63;&#115;ub&#106;e&#99;&#116;&#61;' + t2;
	}
	if ( !t3 ) {
		t3 = '&#105;&#103;&#110;&#97;&#116;&#105;&#117;&#115;&#46;&#99;&#111;m'
	}
	t3 = t1 + '&#64;' + t3;
	document.write(' <a href="&#109;&#97;&#105;&#108;&#116;o&#58;' + t3 + t2 + '">' + t3 + '</a> ');
}
