function sendTo(tsOriginalName,tsPage)
{
    tsSubject = "[GSM ONLINE] Web Contact";
    gbDebugMode = 'F';
    if (gbDebugMode == 'T')
    {
	document.write ('<TABLE Border=1><TR><TD>Original Name :' + tsOriginalName + ':</TD></TR></TABLE>');
	document.write ('<TABLE Border=1><TR><TD>Position :' + tsPage + ':</TD></TR></TABLE>');
    }
    if (tsPage == null)
    {
	tsPage = '';
    }
    else
    {
	tsPage = tsPage.toLowerCase();
	tnPosBR = tsPage.indexOf("<br>");
	if (tnPosBR > -1)
	{
	    tsPage = tsPage.substring(0, tnPosBR);
	}
	tnPosCom = tsPage.indexOf(",");
	if (tnPosCom > -1)
	{
	    tsPage = tsPage.substring(0, tnPosCom);
	}
	tnPosDot = tsPage.indexOf(".");
	if (tnPosDot > -1)
	{
	    tsPage = tsPage.substring(tnPosDot + 2, 9999);
	}
    }
    if(!mie)
    {
	pageX=window.pageXOffset;
	pageW=window.innerWidth;
	pageY=window.pageYOffset;
	pageH=window.innerHeight;
    }
    else
    {
	pageX=window.document.body.scrollLeft;
	pageW=window.document.body.offsetWidth-8;
	pageY=window.document.body.scrollTop;
	pageH=window.document.body.offsetHeight;
    } 
    //document.write ("(" + pageX + " x " + pageY + ")" + mie + "<BR>");
    //document.write ("(" + pageW + " x " + pageH + ")" + mie + "<BR>");

     //document.write ("<BR>&lt;" + tsOriginalName + "&gt;");
    // 00000000001111
    // 01234567890123
    // Foster, Michael

    // INITIAL -->M
    tsFirstInitial = tsOriginalName.substring(0,1);

    // LOWER CASE FIRST NAME/INITIAL
    // -->m
    // -->michael
    tsFirstInitial = tsFirstInitial.toLowerCase();

    ///////////////////////////////////////////////////////////////
    // FULL NAME IN LOWER CASE
    tsNameFull = tsOriginalName.toLowerCase();
    tnLenFull = tsNameFull.length;
    // -->0000000000111111
    // -->0123456789012345
    // -->michael foster[]
    //OLD
    tnPosSpc = tsPage.indexOf(" ");
    while (tnPosSpc > -1)
    {
	tsTmpPage = tsPage.substring(0, tnPosSpc) + '_' + tsPage.substring(tnPosSpc+1, 9999); 
	tsPage = tsTmpPage;
	tnPosSpc = tsPage.indexOf(" ");
    }

    tnPosComma = tsNameFull.indexOf(",");

    //OLD
    //tnLenFirst = tsNameFirst.length;
    tsLastName = tsNameFull.substring(0, tnPosComma); 
    tnLenLast = tsLastName.length;
    tnPosBracket = tsOriginalName.indexOf("[");
    tnNameEnd = tnLenFull - tnPosBracket;
    //OLD
    //tsLastName = tsNameFull.substring(tnPosSpace + 1, tnLenFull - tnLenFirst - tnNameEnd - 1);
    tsNameFirst = tsNameFull.substring(tnPosComma + 1, tnLenFull - tnLenLast - tnNameEnd - 1);

    gnLenPage = tsPage.length;

    gnPos1 = tsOriginalName.indexOf("[");
    gnLenName = tsOriginalName.length - (tsOriginalName.length - gnPos1);

    // -->7
    //tsLastFirst = tsOriginalName;
    tsLastFirst = tsOriginalName.substring(0, gnLenName);
    tnPosSpc = tsLastFirst.indexOf(" ");
    while (tnPosSpc > -1)
    {
	//tsLastFirst = tsOriginalName.substring(gnPos + 1, tsOriginalName.length);
	tsLastFirst = tsLastFirst.substring(0, tnPosSpc - 1) + '.' + tsLastFirst.substring(tnPosSpc + 1, 9999);
	tnPosSpc = tsLastFirst.indexOf(" ");
	// -->Foster
    }

    // IF INITIAL PASSED
    if ((tsOriginalName.length - gnPos1) > 2)
    {
	tsMailName = tsFirstInitial + tsOriginalName.substring(gnPos1 + 1, 1) + tsLastFirst;
    }
    else
    {
	tsMailName = tsFirstInitial + tsLastFirst;
    }
    tnPosDot = tsLastFirst.indexOf('.');
    tsFirstName = tsLastFirst.substring(tnPosDot + 1, 9999);
    //tsMailName = tsLastFirst + '.' + tsLastName;
    tsMailName = tsFirstName + '.' + tsLastName;
    tsMailName = tsMailName.toLowerCase();
    //tnPosSpace = tsMailName.indexOf(" ");
    // -->foster

    // -->mfoster


    tsName4 = tsOriginalName.substring(0, gnPos1);
    if (gbDebugMode == 'T')
    {
	document.write ('<TABLE Border=1><TR><TD>First Initial :' + tsFirstInitial + ':</TD></TR></TABLE>');
	document.write ('<TABLE Border=1><TR><TD>LastFirst :' + tsLastFirst + ':</TD></TR></TABLE>');
	document.write ('<TABLE Border=1><TR><TD>MailName :' + tsMailName + ':</TD></TR></TABLE>');
	document.write ('<TABLE Border=1><TR><TD>Name4 :' + tsName4 + ':</TD></TR></TABLE>');
	document.write ('<TABLE Border=1><TR><TD>Position :' + tsPage + ':</TD></TR></TABLE>');
    }
    gsDomain = "guildofstmichael.org";
    gnLeft = (pageW / 2) - 100;
    gnTop = (pageH / 2) - 75;

    newWindow ('', 'Contact', '300', '200', 'yes');
    ndoc = aPopUp.document;

    astr = '<HTML><HEAD><BR><TITLE>Contact</TITLE>';
    astr += '</HEAD>';
    astr += '<SCRIPT>';
    astr += 'function closeNote(which)';
    astr += '{';
    astr += 'self.close()';
    astr += '}';
    astr += '</SCRIPT>';
    astr += '<BODY BackGround=/images/parchtan.jpg>';
    astr += '<CENTER>';
    astr += '<B>e-Mail:  ' + tsName4 + '</B><BR><BR>';
    astr += '<TABLE>';
    astr += '<TR>';
    astr += '<TD>';
    // astr += '<A Href=\"mailto:' + tsMailName + '@' + gsDomain + '?subject=' + tsSubject + '\" onClick=\"closeNote()\">';
    astr += '<A Href=\"mailto:' + tsMailName + '@' + gsDomain + '?subject=' + tsSubject + '\">';
    astr += '<IMG Src=\"/images/btn_member.gif\" Border=0></A>';
    astr += '</TD>';
    astr += '<TD>';
    // astr += '<A Href=\"mailto:' + tsPage + '@' + gsDomain + '?subject=' + tsSubject + '\" onClick=\"closeNote()\">';
    astr += '<A Href=\"mailto:' + tsPage + '@' + gsDomain + '?subject=' + tsSubject + '\">';
    astr += '<IMG Src=\"/images/btn_position.gif\" Border=0></A>';
    astr += '</TD>';
    astr += '</TR>';
    astr += '</TABLE>';
    astr += '<BR>';
    astr += '<A Href="#close" onClick=\"self.close()\"><IMG Src=\"/images/btn_close.gif\" Border=0></A>';
    astr += '</CENTER></BODY></HTML>';
    ndoc.write(astr);
    if (gbDebugMode == 'T')
    {
	document.write ('<TABLE Border=1><TR><TD>Position :' + tsPage + ':</TD></TR></TABLE>');
    }
    ndoc.close();
    self.aNoteWin = aPopUp;

    return;
}
