 
<!--#include file="includes\Connect.asp"-->
<!--#include file="includes\mail.asp"-->
<!--#include file="includes\chklogin.asp"-->


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Web Control Panel - Match - Findyourfate </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="includes/style.css" rel="stylesheet" type="text/css">
<link href="https://matrimonial.findyourfate.com/includes/style1.css" rel="stylesheet">

<script language="JavaScript">var linkPath="";</script>
<script language="JavaScript" src="includes/scripts.js"></script>	
<script language="JavaScript" type="text/javascript">var linkPath="";</script>
<SCRIPT language="javascript" src="https://matrimonial.findyourfate.com/includes/mc.js"></SCRIPT>
<script language="JavaScript">
function UtilBeginScript()
{
return String.fromCharCode(60, 115, 99, 114, 105, 112, 116, 62);
}

function UtilEndScript()
{
return String.fromCharCode(60, 47, 115, 99, 114, 105, 112, 116, 62);
}
</SCRIPT>
<SCRIPT>
function IDGenerator(nextID)
{
	this.nextID = nextID;
	this.GenerateID = IDGeneratorGenerateID;
}

function IDGeneratorGenerateID()
{
	return this.nextID++;
}
</SCRIPT>
<SCRIPT>
var BUTTON_IMAGE_PREFIX = "buttonImage";
var BUTTON_DIV_PREFIX = "buttonDiv";
var BUTTON_PAD1_PREFIX = "buttonPad1";
var BUTTON_PAD2_PREFIX = "buttonPad2";
var buttonMap = new Object();

function Button
(
	idGenerator,
	caption,
	action,
	image
)
{
	this.idGenerator = idGenerator;
	this.caption = caption;
	this.action = action;
	this.image = image;
	this.enabled = true;
	this.Instantiate = ButtonInstantiate;
	this.Enable = ButtonEnable;
}

function ButtonInstantiate()	{
	this.id = this.idGenerator.GenerateID();
	buttonMap[this.id] = this;
	var html = "";
	html += '<div id="';
	html += BUTTON_DIV_PREFIX;
	html += this.id;
	html += '" class="ButtonNormal"';
	html += ' onselectstart="ButtonOnSelectStart()"';
	html += ' ondragstart="ButtonOnDragStart()"';
	html += ' onmousedown="ButtonOnMouseDown(this)"';
	html += ' onmouseup="ButtonOnMouseUp(this)"';
	html += ' onmouseout="ButtonOnMouseOut(this)"';
	html += ' onmouseover="ButtonOnMouseOver(this)"';
	html += ' onclick="ButtonOnClick(this)"';
	html += ' ondblclick="ButtonOnDblClick(this)"';
	html += '>';
	html += '<table cellpadding=0 cellspacing=0 border=0><tr><td><img id="';
	html += BUTTON_PAD1_PREFIX;
	html += this.id;
	html += '" width=2 height=2></td><td></td><td></td></tr><tr><td></td><td>';
	html += '<img id="';
	html += BUTTON_IMAGE_PREFIX;
	html += this.id;
	html += '" src="';
	html += this.image;
	html += '" title="';
	html += this.caption;
	html += '" class="Image"';
	html += '>';
	html += '</td><td></td></tr><tr><td></td><td></td><td><img id="';
	html += BUTTON_PAD2_PREFIX;
	html += this.id;
	html += '" width=2 height=2></td></tr></table>';
	html += '</div>';
	document.write(html);
}

function ButtonEnable(enabled){
	this.enabled = enabled;
	if (this.enabled)
	{
		document.all[BUTTON_DIV_PREFIX + this.id].className = "ButtonNormal";
	}
	else
	{
		document.all[BUTTON_DIV_PREFIX + this.id].className = "ButtonDisabled";
	}
}

function ButtonOnSelectStart(){
	window.event.returnValue = false;
}
function ButtonOnDragStart(){
	window.event.returnValue = false;
}

function ButtonOnMouseDown(element)	{
	if (event.button == 1)	{
		var id = element.id.substring(BUTTON_DIV_PREFIX.length, element.id.length);
		var button = buttonMap[id];
		if (button.enabled){
			ButtonPushButton(id);
		}
	}
}

function ButtonOnMouseUp(element){
	if (event.button == 1){
		var id = element.id.substring(BUTTON_DIV_PREFIX.length, element.id.length);
		var button = buttonMap[id];
		if (button.enabled){
			ButtonReleaseButton(id);
		}
	}
}

function ButtonOnMouseOut(element)	{
	var id = element.id.substring(BUTTON_DIV_PREFIX.length, element.id.length);
	var button = buttonMap[id];
	if (button.enabled)
	{
		ButtonReleaseButton(id);
	}
}

function ButtonOnMouseOver(element)	{
	var id = element.id.substring(BUTTON_DIV_PREFIX.length, element.id.length);
	var button = buttonMap[id];
	if (button.enabled)
	{
		ButtonReleaseButton(id);
		document.all[BUTTON_DIV_PREFIX + id].className = "ButtonMouseOver";
	}
}

function ButtonOnClick(element)	{
	var id = element.id.substring(BUTTON_DIV_PREFIX.length, element.id.length);
	var button = buttonMap[id];
	if (button.enabled){
		eval(button.action);
	}
}

function ButtonOnDblClick(element){
	ButtonOnClick(element);
}

function ButtonPushButton(id){
	document.all[BUTTON_PAD1_PREFIX + id].width = 3;
	document.all[BUTTON_PAD1_PREFIX + id].height = 3;
	document.all[BUTTON_PAD2_PREFIX + id].width = 1;
	document.all[BUTTON_PAD2_PREFIX + id].height = 1;
	document.all[BUTTON_DIV_PREFIX + id].className = "ButtonPressed";
}

function ButtonReleaseButton(id)
{
	document.all[BUTTON_PAD1_PREFIX + id].width = 2;
	document.all[BUTTON_PAD1_PREFIX + id].height = 2;
	document.all[BUTTON_PAD2_PREFIX + id].width = 2;
	document.all[BUTTON_PAD2_PREFIX + id].height = 2;
	document.all[BUTTON_DIV_PREFIX + id].className = "ButtonNormal";
}
</SCRIPT>
<SCRIPT>
var IMAGE_CHOOSER_DIV_PREFIX = "imageChooserDiv";
var IMAGE_CHOOSER_IMG_PREFIX = "imageChooserImg";
var IMAGE_CHOOSER_ICON_PREFIX = "imageChooserIcon";
var imageChooserMap = new Object();

function ImageChooser
(
	idGenerator,
	numRows,
	numCols,
	images,
	callback
)
{
	this.idGenerator = idGenerator;
	this.numRows = numRows;
	this.numCols = numCols;
	this.images = images;
	this.callback = callback;
	this.Instantiate = ImageChooserInstantiate;
	this.Show = ImageChooserShow;
	this.Hide = ImageChooserHide;
	this.IsShowing = ImageChooserIsShowing;
	this.SetUserData = ImageChooserSetUserData;
}

function ImageChooserInstantiate()  {
	this.id = this.idGenerator.GenerateID();
	imageChooserMap[this.id] = this;
	var html = '';
	html += '<div id="' + IMAGE_CHOOSER_DIV_PREFIX + this.id + '" style="display:none;position:absolute;background-color:#F9EBCA;border-left:buttonhighlight solid 1px;border-top:buttonhighlight solid 1px;border-right:buttonshadow solid 1px;border-bottom:buttonshadow solid 1px">';
	html += '<table>';
	for (var i = 0; i < this.numRows; i++) {
		html += '<tr>';
		for (var j = 0; j < this.numCols; j++) {
			html += '<td>';
			var k = i * this.numCols + j;
			html += '<div id="' + IMAGE_CHOOSER_ICON_PREFIX + this.id + '_' + k + '" style="border:buttonface solid 1px">';
			html += '<img src="' + this.images[k] + '" id="' + IMAGE_CHOOSER_IMG_PREFIX + this.id + '_' + k + '" onmouseover="ImageChooserOnMouseOver()" onmouseout="ImageChooserOnMouseOut()" onclick="ImageChooserOnClick()">';
			html += '</div>';
			html += '</td>';
		}
		html += '</tr>';
	}
	html += '</table>';
	html += '</div>';
	document.write(html);
}

function ImageChooserShow(x, y) {
	eval(IMAGE_CHOOSER_DIV_PREFIX + this.id).style.left = x;
	eval(IMAGE_CHOOSER_DIV_PREFIX + this.id).style.top = y;
	eval(IMAGE_CHOOSER_DIV_PREFIX + this.id).style.display = "block";
}

function ImageChooserHide() {
	eval(IMAGE_CHOOSER_DIV_PREFIX + this.id).style.display = "none";
}

function ImageChooserIsShowing() {
	return eval(IMAGE_CHOOSER_DIV_PREFIX + this.id).style.display == "block";
}

function ImageChooserSetUserData(userData){
this.userData = userData;
}

function ImageChooserOnMouseOver()
{
	if (event.srcElement.tagName == "IMG") {
		var underscore = event.srcElement.id.indexOf("_");
		if (underscore != -1) {
			var id = event.srcElement.id.substring(IMAGE_CHOOSER_IMG_PREFIX.length, underscore);
			var index = event.srcElement.id.substring(underscore + 1);
			eval(IMAGE_CHOOSER_ICON_PREFIX + id + "_" + index).style.borderColor = "black";
		}
	}
}

function ImageChooserOnMouseOut()
{
	if (event.srcElement.tagName == "IMG") {
		var underscore = event.srcElement.id.indexOf("_");
		if (underscore != -1) {
			var id = event.srcElement.id.substring(IMAGE_CHOOSER_IMG_PREFIX.length, underscore);
			var index = event.srcElement.id.substring(underscore + 1);
			eval(IMAGE_CHOOSER_ICON_PREFIX + id + "_" + index).style.borderColor = "buttonface";
		}
	}
}

function ImageChooserOnClick()
{
	if (event.srcElement.tagName == "IMG") {
		var underscore = event.srcElement.id.indexOf("_");
		if (underscore != -1) {
			var id = event.srcElement.id.substring(IMAGE_CHOOSER_IMG_PREFIX.length, underscore);
			var imageChooser = imageChooserMap[id];
			imageChooser.Hide();
			var index = event.srcElement.id.substring(underscore + 1);
			if (imageChooser.callback) {
				imageChooser.callback(imageChooser.images[index], imageChooser.userData);
			}
		}
	}
}
</SCRIPT>
<SCRIPT>
var EDITOR_COMPOSITION_PREFIX = "editorComposition";
var EDITOR_PARAGRAPH_PREFIX = "editorParagraph";
var EDITOR_LIST_AND_INDENT_PREFIX = "editorListAndIndent";
var EDITOR_TOP_TOOLBAR_PREFIX = "editorTopToolbar";
var EDITOR_BOTTOM_TOOLBAR_PREFIX = "editorBottomToolbar";
var EDITOR_SMILEY_BUTTON_PREFIX = "editorSmileyButton";
var EDITOR_IMAGE_CHOOSER_PREFIX = "editorImageChooser";
var editorMap = new Object();
var editorIDGenerator = null;

function Editor(idGenerator)
{
	this.idGenerator = idGenerator;
	this.textMode = false;
	this.brief = false;
	this.instantiated = false;
	this.Instantiate = EditorInstantiate;
	this.GetText = EditorGetText;
	this.SetText = EditorSetText;
	this.GetHTML = EditorGetHTML;
	this.SetHTML = EditorSetHTML;
	this.GetBrief = EditorGetBrief;
	this.SetBrief = EditorSetBrief;
}

function EditorInstantiate()
{
	if (this.instantiated) {
		return;
	}
	this.id = this.idGenerator.GenerateID();
	editorMap[this.id] = this;
	editorIDGenerator = this.idGenerator;

	var html = "";
	html += "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"350\">";
	html += "<tr>";
	html += "<td id=\"" + EDITOR_TOP_TOOLBAR_PREFIX + this.id + "\" class=\"Toolbar\">";
	html += "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" >";
	html += "<tr>";
	html += "<td>";
	html += "<div class=\"Space\"></div>";
	html += "</td>";
	html += "<td>";
	html += "<div class=\"Swatch\"></div>";
	html += "</td>";
	html += "<td>";
	html += "<span id=\"" + EDITOR_PARAGRAPH_PREFIX + this.id + "\" style=\"display:" + (this.brief ? "none" : "inline") + "\">";
	html += "<select class=\"List\" onchange=\"EditorOnParagraph(" + this.id + ", this)\">";
	html += "<option class=\"Heading\">Paragraph</option>";
	html += "<option value=\"Normal\">Normal</option>";
	html += "<option value=\"Heading 1\">Heading 1 &lt;H1&gt;</option>";
	html += "<option value=\"Heading 2\">Heading 2 &lt;H2&gt;</option>";
	html += "<option value=\"Heading 3\">Heading 3 &lt;H3&gt;</option>";
	html += "<option value=\"Heading 4\">Heading 4 &lt;H4&gt;</option>";
	html += "<option value=\"Heading 5\">Heading 5 &lt;H5&gt;</option>";
	html += "<option value=\"Heading 6\">Heading 6 &lt;H6&gt;</option>";
	html += "<option value=\"Address\">Address &lt;ADDR&gt;</option>";
	html += "<option value=\"Formatted\">Formatted &lt;PRE&gt;</option>";
	html += "</select>";
	html += "</span>";
	html += "</td>";
	html += "<td>";
	html += "<select class=\"List\" onchange=\"EditorOnFont(" + this.id + ", this)\">";
	html += "<option class=\"Heading\">Font</option>";
	html += "<option value=\"Arial\">Arial</option>";
	html += "<option value=\"Arial Black\">Arial Black</option>";
	html += "<option value=\"Arial Narrow\">Arial Narrow</option>";
	html += "<option value=\"Comic Sans MS\">Comic Sans MS</option>";
	html += "<option value=\"Courier New\">Courier New</option>";
	html += "<option value=\"System\">System</option>";
	html += "<option value=\"Times New Roman\">Times New Roman</option>";
	html += "<option value=\"Verdana\">Verdana</option>";
	html += "<option value=\"Wingdings\">Wingdings</option>";
	
	html += "</select>";
	html += "</td>";
	html += "<td>";
	html += "<select class=\"List\" onchange=\"EditorOnSize(" + this.id + ", this)\">";
	html += "<option class=\"Heading\">Size</option>";
	html += "<option value=\"1\">1</option>";
	html += "<option value=\"2\">2</option>";
	html += "<option value=\"3\">3</option>";
	html += "<option value=\"4\">4</option>";
	html += "<option value=\"5\">5</option>";
	html += "<option value=\"6\">6</option>";
	html += "<option value=\"7\">7</option>";
	html += "</select>";
	html += "</td>";
	html += "<td>";
	html += "<div class=\"Divider\"></div>";
	html += "</td>";
	html += "<td class=\"Text\">";
	html += "<input type=\"checkbox\" onclick=\"EditorOnViewHTMLSource(" + this.id + ", this.checked)\">";
	html += "View HTML";
	html += "</td>";
	html += "</tr>";
	html += "</table>";
	html += "</td>";
	html += "</tr>";
	html += "<tr>";
	html += "<td id=\"" + EDITOR_BOTTOM_TOOLBAR_PREFIX + this.id + "\" class=\"Toolbar\">";
	html += "<table cellpaddin=\"0\" cellspacing=\"0\" border=\"0\">";
	html += "<tr>";
	html += "<td>";
	html += "<div class=\"Space\"></div>";
	html += "</td>";
	html += "<td>";
	html += "<div class=\"Swatch\"></div>";
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var cutButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Cut\",";
	html += "\"EditorOnCut(" + this.id + ")\",";
	html += "\"./imgcompose/cut.gif\"";
	html += ");";
	html += "cutButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var copyButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Copy\",";
	html += "\"EditorOnCopy(" + this.id + ")\",";
	html += "\"./imgcompose/copy.gif\"";
	html += ");";
	html += "copyButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var pasteButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Paste\",";
	html += "\"EditorOnPaste(" + this.id + ")\",";
	html += "\"./imgcompose/paste.gif\"";
	html += ");";
	html += "pasteButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += "<div class=\"Divider\"></div>";
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var boldButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Bold\",";
	html += "\"EditorOnBold(" + this.id + ")\",";
	html += "\"./imgcompose/bold.gif\"";
	html += ");";
	html += "boldButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var italicButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Italic\",";
	html += "\"EditorOnItalic(" + this.id + ")\",";
	html += "\"./imgcompose/italic.gif\"";
	html += ");";
	html += "italicButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var underlineButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Underline\",";
	html += "\"EditorOnUnderline(" + this.id + ")\",";
	html += "\"./imgcompose/uline.gif\"";
	html += ");";
	html += "underlineButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += "<div class=\"Divider\"></div>";
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var foregroundColorButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Foreground Color\",";
	html += "\"EditorOnForegroundColor(" + this.id + ")\",";
	html += "\"./imgcompose/tpaint.gif\"";
	html += ");";
	html += "foregroundColorButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var backgroundColorButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Background Color\",";
	html += "\"EditorOnBackgroundColor(" + this.id + ")\",";
	html += "\"./imgcompose/parea.gif\"";
	html += ");";
	html += "backgroundColorButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += "<div class=\"Divider\"></div>";
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var alignLeftButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Align Left\",";
	html += "\"EditorOnAlignLeft(" + this.id + ")\",";
	html += "\"./imgcompose/aleft.gif\"";
	html += ");";
	html += "alignLeftButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var centerButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Center\",";
	html += "\"EditorOnCenter(" + this.id + ")\",";
	html += "\"./imgcompose/center.gif\"";
	html += ");";
	html += "centerButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var alignRightButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Align Right\",";
	html += "\"EditorOnAlignRight(" + this.id + ")\",";
	html += "\"./imgcompose/aright.gif\"";
	html += ");";
	html += "alignRightButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += "<div class=\"Divider\"></div>";
	html += "</td>";
	html += "<td id=\"" + EDITOR_LIST_AND_INDENT_PREFIX + this.id + "\" style=\"display:" + (this.brief ? "none" : "inline") + "\">";
	html += "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">";
	html += "<tr>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var numberedListButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Numbered List\",";
	html += "\"EditorOnNumberedList(" + this.id + ")\",";
	html += "\"./imgcompose/blist.gif\"";
	html += ");";
	html += "numberedListButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var bullettedListButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Bulletted List\",";
	html += "\"EditorOnBullettedList(" + this.id + ")\",";
	html += "\"./imgcompose/nlist.gif\"";
	html += ");";
	html += "bullettedListButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += "<div class=\"Divider\"></div>";
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var decreaseIndentButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Decrease Indent\",";
	html += "\"EditorOnDecreaseIndent(" + this.id + ")\",";
	html += "\"./imgcompose/ileft.gif\"";
	html += ");";
	html += "decreaseIndentButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var increaseIndentButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Increase Indent\",";
	html += "\"EditorOnIncreaseIndent(" + this.id + ")\",";
	html += "\"./imgcompose/iright.gif\"";
	html += ");";
	html += "increaseIndentButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td>";
	html += "<div class=\"Divider\"></div>";
	html += "</td>";
	html += "</tr>";
	html += "</table>";
	html += "</td>";
	html += "<td>";
	html += UtilBeginScript();
	html += "var createHyperlinkButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Create Hyperlink\",";
	html += "\"EditorOnCreateHyperlink(" + this.id + ")\",";
	html += "\"./imgcompose/wlink.gif\"";
	html += ");";
	html += "createHyperlinkButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "<td id=\"" + EDITOR_SMILEY_BUTTON_PREFIX + this.id + "\">";
	html += UtilBeginScript();
	html += "var insertSmileyButton = new Button(";
	html += "editorIDGenerator,";
	html += "\"Insert Smiley\",";
	html += "\"EditorOnStartInsertSmiley(" + this.id + ")\",";
	html += "\"./imgcompose/smiley.gif\"";
	html += ");";
	html += "insertSmileyButton.Instantiate();";
	html += UtilEndScript();
	html += "</td>";
	html += "</tr>";
	html += "</table>";
	html += "</td>";
	html += "</tr>";
	html += "<tr>";
	html += "<td>";
	html += "<iframe id=\"" + EDITOR_COMPOSITION_PREFIX + this.id + "\" src='"+document.all.plainmsg.contentWindow.location.href+"' width=\"450\" height=\"200\">";
	html += "</iframe>";
	html += "</td>";
	html += "</tr>";
	html += "</table>";
	html += UtilBeginScript();
	html += "var " + EDITOR_IMAGE_CHOOSER_PREFIX + this.id + " = new ImageChooser(";
	html += "editorIDGenerator,";
	html += "5, 5,";
	html += "[";
	html += "\"./imgCompose/Emoticons/1.gif\",";
	html += "\"./imgCompose/Emoticons/2.gif\",";
	html += "\"./imgCompose/Emoticons/3.gif\",";
	html += "\"./imgCompose/Emoticons/4.gif\",";
	html += "\"./imgCompose/Emoticons/5.gif\",";
	html += "\"./imgCompose/Emoticons/6.gif\",";
	html += "\"./imgCompose/Emoticons/7.gif\",";
	html += "\"./imgCompose/Emoticons/8.gif\",";
	html += "\"./imgCompose/Emoticons/9.gif\",";
	html += "\"./imgCompose/Emoticons/a.gif\",";
	html += "\"./imgCompose/Emoticons/b.gif\",";
	html += "\"./imgCompose/Emoticons/c.gif\",";
	html += "\"./imgCompose/Emoticons/d.gif\",";
	html += "\"./imgCompose/Emoticons/e.gif\",";
	html += "\"./imgCompose/Emoticons/f.gif\",";
	html += "\"./imgCompose/Emoticons/g.gif\",";
	html += "\"./imgCompose/Emoticons/h.gif\",";
	html += "\"./imgCompose/Emoticons/i.gif\",";
	html += "\"./imgCompose/Emoticons/j.gif\",";
	html += "\"./imgCompose/Emoticons/k.gif\",";
	html += "\"./imgCompose/Emoticons/l.gif\",";
	html += "\"./imgCompose/Emoticons/m.gif\",";
	html += "\"./imgCompose/Emoticons/n.gif\",";
	html += "\"./imgCompose/Emoticons/o.gif\",";
	html += "\"./imgCompose/Emoticons/p.gif\"";
	html += "],";
	html += "EditorOnEndInsertSmiley";
	html += ");";
	html += EDITOR_IMAGE_CHOOSER_PREFIX + this.id + ".SetUserData(" + this.id + ");";
	html += EDITOR_IMAGE_CHOOSER_PREFIX + this.id + ".Instantiate();";
	html += UtilEndScript();
	document.write(html);

	html = '';
	/*html += '<body style="font:10pt arial">';
	html += '</body>';
	eval(EDITOR_COMPOSITION_PREFIX + this.id).document.open();
	eval(EDITOR_COMPOSITION_PREFIX + this.id).document.write(html);
	eval(EDITOR_COMPOSITION_PREFIX + this.id).document.close();*/
	eval(EDITOR_COMPOSITION_PREFIX + this.id).document.designMode = "on";
	eval(EDITOR_COMPOSITION_PREFIX + this.id).document.onclick = new Function("EditorOnClick(" + this.id + ")");

	editorIDGenerator = null;
	this.instantiated = true;
}

function  EditorGetText(){
	return eval(EDITOR_COMPOSITION_PREFIX + this.id).document.body.innerText;
}

function  EditorSetText(text){
	text = text.replace(/\n/g, "<br>");
	eval(EDITOR_COMPOSITION_PREFIX + this.id).document.body.innerHTML = text;
}

function  EditorGetHTML(){
	if (this.textMode) {
		return eval(EDITOR_COMPOSITION_PREFIX + this.id).document.body.innerText;
	}
	EditorCleanHTML(this.id);
	EditorCleanHTML(this.id);
	return eval(EDITOR_COMPOSITION_PREFIX + this.id).document.body.innerHTML;
}

function  EditorSetHTML(html){
	//eval(EDITOR_COMPOSITION_PREFIX + this.id).src=html;
	}

function EditorGetBrief(){
	return this.brief;
}

function EditorSetBrief(brief){
	this.brief = brief;
	var display = this.brief ? "none" : "inline";
	if (this.instantiated) {
		eval(EDITOR_PARAGRAPH_PREFIX + this.id).style.display = display;
		eval(EDITOR_LIST_AND_INDENT_PREFIX + this.id).style.display = display;
	}
}

function EditorOnCut(id){
	EditorFormat(id, "cut");
}

function EditorOnCopy(id)	{
	EditorFormat(id, "copy");
}

function EditorOnPaste(id)	{
	EditorFormat(id, "paste");
}

function EditorOnBold(id){
	EditorFormat(id, "bold");
}

function EditorOnItalic(id)	{
	EditorFormat(id, "italic");
}

function EditorOnUnderline(id){
	EditorFormat(id, "underline");
}

function EditorOnForegroundColor(id){
	if (!EditorValidateMode(id)) {
		return;
	}
	var color = showModalDialog("https://matrimonial.findyourfate.com/includes/ColorPicker.htm", "", "font-family:Verdana;font-size:12;dialogWidth:17em;dialogHeight:25em");
	if (color) {
		EditorFormat(id, "forecolor", color);
	}
	else {
		eval(EDITOR_COMPOSITION_PREFIX + id).focus();
	}
}

function EditorOnBackgroundColor(id){
	if (!EditorValidateMode(id)) {
		return;
	}
	var color = showModalDialog("https://matrimonial.findyourfate.com/includes/ColorPicker.htm", "", "font-family:Verdana;font-size:12;dialogWidth:17em;dialogHeight:25em");
	if (color) {
		EditorFormat(id, "backcolor", color);
	}
	else {
		eval(EDITOR_COMPOSITION_PREFIX + id).focus();
	}
}

function EditorOnAlignLeft(id)	{
	EditorFormat(id, "justifyleft");
}

function EditorOnCenter(id)	{
	EditorFormat(id, "justifycenter");
}

function EditorOnAlignRight(id)	{
	EditorFormat(id, "justifyright");
}

function EditorOnNumberedList(id){
	EditorFormat(id, "insertOrderedList");
}

function EditorOnBullettedList(id){
	EditorFormat(id, "insertUnorderedList");
}

function EditorOnDecreaseIndent(id)	{
	EditorFormat(id, "outdent");
}

function EditorOnIncreaseIndent(id)	{
	EditorFormat(id, "indent");
}

function EditorOnCreateHyperlink(id){
	if (!EditorValidateMode(id)) {
		return;
	}
	var anchor = EditorGetElement("A", eval(EDITOR_COMPOSITION_PREFIX + id).document.selection.createRange().parentElement());
	var link = prompt("enter link location (eg. https://www.findyourfate.com):", anchor ? anchor.href : "https://");
	if (link && link != "https://") {
		if (eval(EDITOR_COMPOSITION_PREFIX + id).document.selection.type == "None") {
			var range = eval(EDITOR_COMPOSITION_PREFIX + id).document.selection.createRange();
			range.pasteHTML('<A HREF="' + link + '"></A>');
			range.select();
		}
		else {
			EditorFormat(id, "CreateLink", link);
		}
	}
}

function EditorOnStartInsertSmiley(id){
	var ie=(document.all)?1:0;
	var hide=-1;
	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;
	opera=window.opera?1:0;
	if (eval(EDITOR_IMAGE_CHOOSER_PREFIX + id).IsShowing()) {
		eval(EDITOR_IMAGE_CHOOSER_PREFIX + id).Hide();
	}
	else {
		var editor = editorMap[id];
		editor.selectionRange = eval(EDITOR_COMPOSITION_PREFIX + id).document.selection.createRange();
		//eval(EDITOR_IMAGE_CHOOSER_PREFIX + id).Show(eval(EDITOR_SMILEY_BUTTON_PREFIX + id).offsetLeft - 124, eval(EDITOR_BOTTOM_TOOLBAR_PREFIX + id).offsetTop + eval(EDITOR_BOTTOM_TOOLBAR_PREFIX + id).offsetHeight - 124);
		if(ie) var menu_x=(screen.width == 800)?eval(EDITOR_IMAGE_CHOOSER_PREFIX + id).Show(625,420):eval(EDITOR_IMAGE_CHOOSER_PREFIX + id).Show(735,450);	
	}
}

function EditorOnEndInsertSmiley(image, id){
	if (!EditorValidateMode(id)) {
	return;
	}
	var imgTag = '<img src="' + image + '">';
	var editor = editorMap[id];
	var bodyRange = eval(EDITOR_COMPOSITION_PREFIX + id).document.body.createTextRange();
	if (bodyRange.inRange(editor.selectionRange)) {
	editor.selectionRange.pasteHTML(imgTag);
	eval(EDITOR_COMPOSITION_PREFIX + id).focus();
	}
	else {
	eval(EDITOR_COMPOSITION_PREFIX + id).document.body.innerHTML += imgTag;
	editor.selectionRange.collapse(false);
	editor.selectionRange.select();
	}
}

function EditorOnParagraph(id, select){
	EditorFormat(id, "formatBlock", select[select.selectedIndex].value);
	select.selectedIndex = 0;
}

function EditorOnFont(id, select){
	EditorFormat(id, "fontname", select[select.selectedIndex].value);
	select.selectedIndex = 0;
}

function EditorOnSize(id, select){
	EditorFormat(id, "fontsize", select[select.selectedIndex].value);
	select.selectedIndex = 0;
}

function EditorOnViewHTMLSource(id, textMode){
	var editor = editorMap[id];
	editor.textMode = textMode;
	if (editor.textMode) {
		EditorCleanHTML(id);
		EditorCleanHTML(id);
		eval(EDITOR_COMPOSITION_PREFIX + id).document.body.innerText = eval(EDITOR_COMPOSITION_PREFIX + id).document.body.innerHTML;
	}
	else {
		eval(EDITOR_COMPOSITION_PREFIX + id).document.body.innerHTML = eval(EDITOR_COMPOSITION_PREFIX + id).document.body.innerText;
	}
	eval(EDITOR_COMPOSITION_PREFIX + id).focus();
}

function EditorOnClick(id){
	eval(EDITOR_IMAGE_CHOOSER_PREFIX + id).Hide();
}
	
function EditorValidateMode(id){
	var editor = editorMap[id];
	if (!editor.textMode) {
		return true;
	}
	alert("Please uncheck the \"View HTML Source\" checkbox to use the toolbars.");
	eval(EDITOR_COMPOSITION_PREFIX + id).focus();
	return false;
}

function EditorFormat(id, what, opt){
	if (!EditorValidateMode(id)) {
		return;
	}
	if (opt == "removeFormat") {
		what = opt;
		opt = null;
	}
	if (opt == null) {
		eval(EDITOR_COMPOSITION_PREFIX + id).document.execCommand(what);
	}
	else {
		eval(EDITOR_COMPOSITION_PREFIX + id).document.execCommand(what, "", opt);
	}
}

function EditorCleanHTML(id){
	var fonts = eval(EDITOR_COMPOSITION_PREFIX + id).document.body.all.tags("FONT");
	for (var i = fonts.length - 1; i >= 0; i--) {
		var font = fonts[i];
		if (font.style.backgroundColor == "#ffffff") {
			font.outerHTML = font.innerHTML;
		}
	}
}

function EditorGetElement(tagName, start){
	while (start && start.tagName != tagName) {
		start = start.parentElement;

	}
	return start;
}
</SCRIPT>
<SCRIPT>
<!-- 

fName = new String();
function fnAttach(){
	var features = "dialogHeight:300px; dialogWidth: 400px; edge: Raised;center: Yes; help: No; resizable: No; status: No;"
	var tFName = window.showModalDialog("frameattach.html","",features);
	try{
	if (tFName.length>0){
		
	if (fName.length>0) fName = fName+","+tFName;
	else fName = tFName;
		
	var temp = fName.split(",");
	nTdAttachments.innerHTML="<b>"+fName+"&nbsp - "+temp.length+"&nbsp; File(s) Attached</b>";  
	thisForm.txtAttachMents.value = fName;
	} }
	catch(Exception){} 
}
function SetVals() {
document.Compose.Body.value = editor.GetHTML();
}
var remote=null;
function rs(n,u,w,h,x) {
args="width=height="+h+",resizable=yes,scrollbars=yes,status=0";
remote=window.open(u,n,args);
if (remote != null) {
if (remote.opener == null)
remote.opener = self;
}
if (x == 1) { return remote; }
}
var awnd=null;
var sigAttMap = [false];

function fnValidateData()
{
if (fnValidate(thisForm))fnSaveMsg('SEND');
//fnSaveMsg();

}

function  fnSave(Option)
{
var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerText;

if (!(editor.textMode))
{
var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerText;
}
else
{
var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerHTML;
}	

var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerHTML;

if (sMsg.length<=0) return false;
thisForm.txtOption.value =Option;
thisForm.txtDescription.value = sMsg;
return true;
}
function fnprint(arg)
{
var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerText;

if (!(editor.textMode))
{
var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerText;
}
else
{
var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerHTML;
}	

var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerHTML;

document.thisForm.txtDescription.value = sMsg;
document.thisForm.action="contactpersonprint.asp?mode=submit&pid="+document.thisForm.sendmail.value+"&sid="+document.thisForm.txtDescription.value;
document.thisForm.submit(); 
// sMsg.print();
}
// -->

</script>

<script language="JavaScript">
 function check()
 {
 	if(document.thisForm.newcontent.value=="")
	{
		eval(EDITOR_COMPOSITION_PREFIX + editor.id).focus();
		return false;
	}
	return true;
	}	
	
	function fnprint(arg)
{
var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerText;
if (!(editor.textMode))
{
var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerText;
}
else
{
var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerHTML;
}	

var sMsg=eval(EDITOR_COMPOSITION_PREFIX + editor.id).document.body.innerHTML;
document.thisForm.txtDescription.value = sMsg;
	if(thisForm.txtDescription.value=="")
		{
			alert("Enter the Description");
		
			eval(EDITOR_COMPOSITION_PREFIX + editor.id).focus();
			return false;
		}	
stropen=window.open("sendmailtomembers.asp?sendmail="+document.thisForm.sendmail.value+"&txtDescription="+document.thisForm.txtDescription.value+"&txtlocation="+document.thisForm.txtlocation.value+"&subject="+document.thisForm.subject.value,"","width=500,height=300,scrollbars=yes,status=no,toolbar=no,top=0,left=0'");
}
</script>


<link href="includes/style1.css" rel="stylesheet">
<%'if session("username")<>"" then popup()%>
</head>
<%if request.QueryString("Mode")="Address" then%>
<body topmargin=0 leftmargin=0 onLoad="javascript:check();<%if session("username")<>"" then response.write " onload='init();'"%>">
<%else%>
<body topmargin="0" leftmargin="0">
<%end if%>
<tr><td width="100%" height="20" colspan="3" align="center"><img src="images/spacer.gif" border="0" height="20"></td></tr>
<tr>
	<td width="20" height="100%"><img src="images/spacer.gif" border="0" width="20"></td>
	<td width="100%" height="100%" valign="top">
		<table cellpadding="0" cellspacing="0" border="1" width="100%" height="100%" class="tmain" bordercolor="#000000" style="border:thin;">
			<td>
				<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
				<tr><td><script language="JavaScript">fnHeader();</script></td></tr>
				
				<!-- Start : Menu -->
				<tr><td><script language="JavaScript">fnMenu();</script></td></tr>
				<!-- End : Menu -->
				
				<!-- Start : Title -->
				<tr class="titlebg"><td height="22">
					<table cellpadding="0" cellspacing="0" border="0" width="98%" height="22" align="center">
					<tr>
						<td class="title">Welcome <font class="session"><%=session("UID")%></font></td>
						  <td align="right" class="session"><b><%=Session("Msg")%></b></td>
						  <%session("Msg")=""%>
					</tr>
					</table>
				</td></tr>
				<!-- End : Title -->
				
				<tr><td><img src="images/spacer.gif" border="0" width="1" height="1"></td></tr>
				
				<!-- Start : Sub Title -->
				<tr class="subtitlebg"><td height="22">
					<table cellpadding="0" cellspacing="0" border="0" width="98%" height="22" align="center">
					<tr>
						  <td class="subtitle">Members<%'response.write request("sendmail")%></td>
						 <%if request.QueryString("id") <> "" then%>
						 	<td align="right"> <a href="members.asp">Go Back</a></td>
			 			<% end if %>			
					  </tr>
					</table>
				</td></tr>
			
				
				<tr>
				<td width="724" height="100%" valign="top" lass="contentbg">

					<table width="556" align="center" border="0" cellpadding="3" cellspacing="1" class="tableborder" bgcolor="#815C32">
					<form name="thisForm" method="post">
						
						<input type="hidden" name="sendmail" value="<%=request.QueryString("sendmail")%>">
						<input type="hidden" name="txtlocation" value="<%=request.QueryString("txtlocation")%>"><br>
						<br><tr class="tablebg" bgcolor="#FFFFFF">
							<td class="tdbg"> 
							<table cellpadding="2" cellspacing="1"  border="0" width="300" align="center"><tr class="tablebg"><td width="550">
							Subject 
							    <input type="text" name="subject"  size="75">
							</td></tr>
								<tr><td gcolor="#D7BF8A">
								<% If NewsLetterContent <> "" then %>
								<iFrame id="plainmsg"  style="visibility:hidden;width:0;height:5" src="../<%=NewsLetterContent%>">
								</iFrame>
								<%Else%>
								<iFrame id="plainmsg" style="visibility:hidden;width:0;height:5"></iFrame>
								<%End If%>
								<input type="hidden" name="newcontent" value="<%=NewsLetterContent%>">
								<SCRIPT>
								var idGenerator = new IDGenerator(0);
								var editor = new Editor(idGenerator);
								editor.Instantiate();
								//function document.body.onload() {editor.SetHTML(document.all.plainmsg.contentWindow.location.href);}
								</SCRIPT>
								</td></tr>
								<tr><td colspan="2" align="right">
							<!--	<input type="button" class="butten" value="Print" onClick="fnprint(document.thisForm.txtDescription.value);"> -->
								
								 </td></tr>
								<tr><td colspan="2" class="tablebg1"  align="right">
									<input type="button" class="button" value="Send" onClick="fnprint(document.thisForm.txtDescription.value);"> 
								</td></tr>
							</table>	
							<input type="hidden" name="txtOption"> <input type="hidden" name="txtDescription">
							
					
							
						
						
							</td>
						</tr>
						</table>
						
						
						
						
						</form>
						</td></tr>
						
						
						
						
						
                
	<td width="20" height="100%"><img src="images/spacer.gif" border="0" width="20"></td>
</tr>
<tr><td height="20" colspan="3" align="center"><img src="images/spacer.gif" border="0" height="20"></td>
</tr>
</table>
 
</body>
</html>