function obfuscate(userid, subject, domain) {
    var email = domain + '@' + userid;
    var TempBefore = '';
    var TempAfter = '';
    var NewString = '';
    var Start = 0;
	
    var WhereHash = email.indexOf ('@');
    for (Count = 1; Count <= WhereHash; Count ++)
    {
        TempBefore += email.substring(Start, Count);
        Start++;
    }
    Start = WhereHash;
    Start++;
    WhereHash +=2;
    for (Count = WhereHash; Count <=email.length; Count++)
    {
        TempAfter += email.substring(Start, Count);
        Start++;
    }
    NewString = TempAfter + '@' + TempBefore;
    parent.location = 'mailto:' + NewString + '?subject=' + subject;
}

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-19436461-2']);
_gaq.push(['_trackPageview']);

(function() {
    var ga = document.createElement('script');
    ga.type = 'text/javascript';
    ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(ga, s);
})();
