<html>
<head>
<title>Content Filtering - Rule Edit Content</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--base href="$$BASE_URL$$"-->
<link href="css/trend-style-new.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="javascripts/localization.js"></script>
<script language="JavaScript" src="javascripts/trend-ui-new.js"></script>
<script language="JavaScript" src="javascripts/OLH_Mapping.js"></script>
<script language="JavaScript" src="javascripts/prototype.js"></script>
<script language="JavaScript" src="javascripts/Server_Role_Dependency.js"></script>
<script language="JavaScript" src="cgiDispatcher.exe?Page=administration/ServerRoleInfo.htm"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
CANCEL_EVENT = true;
var sCheckExpressionResult = "$$CHECK_EXPRESSION_RESULT$$"; // result of checking expression
function jsInitPage() {

	var bCheckExpression = true;
	var bCheckNoError = false;
	var sCheckAlertMsg;
	var oErrorOn;
	var oForm = document.fmMain;
	//set UI dependency
	jsServerRoleDependency("scan/Contentfiltering_Edit_Antispam.htm");
	
	if(sCheckExpressionResult == "from") // error on expression of 'from' field
	{
		oErrorOn = oForm.txtEmailFrom;
		sCheckAlertMsg = STR_ALR_WARN_INVALID_FROM_EXPRESSION;
	}
	else if(sCheckExpressionResult == "to") // error on expression of 'to' field
	{
		oErrorOn = oForm.txtEmailTo;
		sCheckAlertMsg = STR_ALR_WARN_INVALID_TO_EXPRESSION;
	}
	else if(sCheckExpressionResult == "cc") // error on expression of 'cc' field
	{
		oErrorOn = oForm.txtEmailCc;
		sCheckAlertMsg = STR_ALR_WARN_INVALID_CC_EXPRESSION;
	}
	else if(sCheckExpressionResult == "subject") // error on expression of 'subject' field
	{
		oErrorOn = oForm.txtEmailSubject;
		sCheckAlertMsg = STR_ALR_WARN_INVALID_SUBJECT_EXPRESSION;
	}
	else if(sCheckExpressionResult == "attachment name") // error on expression of 'attachment name' field
	{
		oErrorOn = oForm.txtEmailAttachmentName;
		sCheckAlertMsg = STR_ALR_WARN_INVALID_ATTACHMENT_NAME_EXPRESSION;
	}
	else if(sCheckExpressionResult == "no error")
		bCheckNoError = true;
	else
		bCheckExpression = false;

	if(bCheckExpression && !bCheckNoError)
	{
		alert(sCheckAlertMsg);
		oErrorOn.focus();
		oErrorOn.select();
	}
	else
	{
		oForm.txtRuleName.focus();
		oForm.txtRuleName.select();	// highlighted the rule name
	}
		
	//jsCheckTarget(oForm.chkHeader);
	//jsCheckTarget(oForm.chkSubject);
	
	if($$SHOW_QUARANTINE_DIR1$$ == false) {
			//document.getElementById("radioReplace").style.display="none";
			document.getElementById("QuaratineEntire").style.display="none";
			//document.getElementById("txtQuarantine1").style.display="none";
			//document.getElementById("QuarantineDirectory").style.display="none";
			//document.getElementById("radioDeleteAll").style.display="none";
			//document.getElementById("txtDeleteAll").style.display="none";
			//document.getElementById("radioArchive").style.display="none";
	}
	setOptionValueEx(oForm.optAdminMessageType,STR_CF_NOTIFY_MSG,STR_CF_NOTIFY_MSG);
	setOptionValueEx(oForm.optInSenderMessageType,STR_CF_NOTIFY_MSG,STR_CF_NOTIFY_MSG);
	setOptionValueEx(oForm.optExSenderMessageType,STR_CF_NOTIFY_MSG,STR_CF_NOTIFY_MSG);
	setOptionValueEx(oForm.optInRecipientMessageType,STR_CF_NOTIFY_MSG,STR_CF_NOTIFY_MSG);
	setOptionValueEx(oForm.optExRecipientMessageType,STR_CF_NOTIFY_MSG,STR_CF_NOTIFY_MSG);
	setOptionValueEx(oForm.optSNMPMessageType,STR_CF_NOTIFY_MSG,STR_CF_NOTIFY_MSG);
	
	// set max length
	oForm.txtRuleName.maxLength	 = INT_LMAX_CF_RULENAME;
	oForm.txtEmailFrom.maxLength = INT_LMAX_CF_EMAIL;
	oForm.txtEmailTo.maxLength	 = INT_LMAX_CF_EMAIL;
	oForm.txtEmailCc.maxLength	 = INT_LMAX_CF_EMAIL;
	oForm.txtEmailSubject.maxLength 	 = INT_LMAX_CF_EMAIL;
	oForm.txtEmailAttachmentSize.maxLength	 = INT_LMAX_CF_FILESIZE;
	oForm.txtEmailAttachmentName.maxLength 	 = INT_LMAX_CF_EMAIL;
	oForm.txtQuarantineDir.maxLength	 = INT_LMAX_PATH_DIR;
	oForm.txtArchiveDir.maxLength		 = INT_LMAX_PATH_DIR;
	oForm.txtSNMPCommunity.maxLength	 = INT_LMAX_SNMP;
	oForm.txtNotifyAdminSettingsPeriod.maxLength	 = INT_LMAX_NOTI_PERIOD;
	oForm.txtNotifyAdminSettingsOccurence.maxLength	 = INT_LMAX_NOTI_OCCUR;
	oForm.txtNotifyAdminTo1.maxLength	 = INT_LMAX_EM_ADDR_M;
	var ntf_email_subject_array = new Array(document.fmMain.txtNotifyAdminSubject,
											document.fmMain.txtNotifyInSenderSubject,
											document.fmMain.txtNotifyExSenderSubject,
											document.fmMain.txtNotifyInRecipientSubject,
											document.fmMain.txtNotifyExRecipientSubject);
	
	for (var i=0;i<ntf_email_subject_array.length;i++) {
		ntf_email_subject_array[i].maxLength = INT_LMAX_EM_SUBJECT;
	}
	// release event capture
	CANCEL_EVENT = false;
	
	jsUIDependency();
}

function jsSubmit() {
	// add some checking
	var txtRuleName_value = jsTrim(document.fmMain.txtRuleName);
	if (txtRuleName_value.length == 0 || document.fmMain.txtRuleName.value.length < INT_CF_RULE_NAME_MIN || document.fmMain.txtRuleName.value.length > INT_CF_RULE_NAME_MAX) {
		alert(STR_ERR_CHECK_RULENAME);
		jsFocus(document.fmMain.txtRuleName);
		return false;
	}
	if (document.fmMain.txtEmailFrom.value=="" && document.fmMain.txtEmailTo.value=="" && document.fmMain.txtEmailCc.value=="" && document.fmMain.txtEmailSubject.value=="" && document.fmMain.txtEmailAttachmentSize.value=="" && document.fmMain.txtEmailAttachmentName.value=="") {
			alert(STR_ERR_CHECK_ANTISPAM);
			return false;
		}
	if (document.fmMain.txtEmailFrom.value.length > INT_LMAX_CF_EMAIL || document.fmMain.txtEmailTo.value.length > INT_LMAX_CF_EMAIL || document.fmMain.txtEmailCc.value.length > INT_LMAX_CF_EMAIL) {
			alert(STR_WARN_CF_MAXEMAIL);
			return false;
		}
	if (document.fmMain.txtEmailSubject.value.length > INT_LMAX_CF_EMAIL || document.fmMain.txtEmailAttachmentName.value.length > INT_LMAX_CF_EMAIL) {
			alert(STR_WARN_CF_MAXEMAIL);
			return false;
	}
	//$$SHOW_QUARANTINE_DIR2$$
	if (!checkPathFormat(document.fmMain.txtQuarantineDir.value,"",false)) {
		alert(STR_ERR_INVALID_DIR);
		setUITagDisplay(2,3,'Action');
		if(document.getElementById("tabDirectory_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabDirectory"));
		jsFocus(document.fmMain.txtQuarantineDir);
		return false;
	}
	if (!checkPathFormat(document.fmMain.txtArchiveDir.value,STR_ERR_INVALID_DIR,false)) {
		setUITagDisplay(2,3,'Action');
		if(document.getElementById("tabDirectory_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabDirectory"));
		jsFocus(document.fmMain.txtArchiveDir);
		return false;
	}
	if (!checkFileNameFormat(document.fmMain.txtReplacementFile.value,STR_ERR_INVALID_REPLACEMENT_FILE_NAME, INT_REPLACEMENT_FILE_NAME_MAX, INT_REPLACEMENT_FILE_NAME_MIN, false)) {
		setUITagDisplay(2,3,'Action');
		if(document.getElementById("tabReplacement_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabReplacement"));
		jsFocus(document.fmMain.txtReplacementFile);
		return false;
	}
	if (!checkNumberRange(document.fmMain.txtReplacementText.value.length,INT_LMAX_REPLACEMENT,0,STR_WARN_REPLACEMENT)) {
		setUITagDisplay(2,3,'Action');
		if(document.getElementById("tabReplacement_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabReplacement"));
		jsFocus(document.fmMain.txtReplacementText);
		return false;
	}
	
	//check if the entered is number and less than 2147483648
	if(!checkNumberNSize(document.fmMain.txtEmailAttachmentSize.value, INT_LMAX_FILESIZE_CF, STR_WARN_FILESIZE)) return false;
	
	// notification
	if(document.getElementById("chkNotifyAdmin").checked){
	    if(document.fmMain.txtNotifyAdminTo1.value == ""){
	        alert(STR_ERR_NOTIFY_ADMIN_ACCOUNT);
	        setUITagDisplay(3,3,'Notification');
	        if(document.getElementById("tabNotifyAdmin_items").style.display=="none")
	                document.getElementById("tabNotifyAdmin").onclick();
		    jsFocus(document.fmMain.txtNotifyAdminTo1);
		    return false;
	    }
	}
	if(document.getElementById("chkNotifySNMP").checked){
	    if (!checkIPAddressFormat(document.fmMain.txtSNMPIP.value,STR_ERR_INVALID_IPADDRESS,false)) {
		    setUITagDisplay(3,3,'Notification');
		    if (document.getElementById("tabSNMP_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabSNMP"));
		    jsFocus(document.fmMain.txtSNMPIP);
		    return false;
	    }
	    if (!checkNumberRange(document.fmMain.txtSNMPCommunity.value.length,INT_NMIN_SNMP,INT_NMAX_SNMP,STR_WARN_SNMP,false)) {
		    setUITagDisplay(3,3,'Notification');
		    if (document.getElementById("tabSNMP_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabSNMP"));
		    jsFocus(document.fmMain.txtSNMPCommunity);
		    return false;	
	    }
	}
	if (!checkNumberRange(document.fmMain.txtNotifyAdminSettingsPeriod.value,1,9999,STR_ERR_ALERT_NUMBER_RANGE,false)) {
		setUITagDisplay(3,3,'Notification');
		if (document.getElementById("tabNotifyAdmin_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabNotifyAdmin"));
		jsFocus(document.fmMain.txtNotifyAdminSettingsPeriod);
		return false;	
	}
	if (!checkNumberRange(document.fmMain.txtNotifyAdminSettingsOccurence.value,1,1000,STR_ERR_ALERT_NUMBER_RANGE,false)) {
		setUITagDisplay(3,3,'Notification');
		if (document.getElementById("tabNotifyAdmin_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabNotifyAdmin"));
		jsFocus(document.fmMain.txtNotifyAdminSettingsOccurence);
		return false;	
	}
	if (!checkMultiEmailPatternFormat(document.fmMain.txtNotifyAdminTo1.value,STR_ERR_INVALID_EMAIL) ||
		!checkNumberRange(document.fmMain.txtNotifyAdminTo1.value.length,1,INT_LMAX_EM_ADDR_M,STR_WARN_EM_ADDR_M)) {
		setUITagDisplay(3,3,'Notification');
		if (document.getElementById("tabNotifyAdmin_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabNotifyAdmin"));
		jsFocus(document.fmMain.txtNotifyAdminTo1);
		return false;
	}
	var ntf_email_subject_array = new Array(document.fmMain.txtNotifyAdminSubject,
											document.fmMain.txtNotifyInSenderSubject,
											document.fmMain.txtNotifyExSenderSubject,
											document.fmMain.txtNotifyInRecipientSubject,
											document.fmMain.txtNotifyExRecipientSubject);
	for (var i=0;i<ntf_email_subject_array.length;i++) {
		if (!checkNumberRange(ntf_email_subject_array[i].value.length,0,INT_LMAX_EM_SUBJECT,STR_WARN_EM_SUBJECT)) {
			setUITagDisplay(3,3,'Notification');
			if (i == 0) {
				if (document.getElementById("tabNotifyAdmin_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabNotifyAdmin"));
			} else if (i == 1 || i == 2) {
				if (document.getElementById("tabNotifySender_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabNotifySender"));
			} else if (i == 3 || i == 4) {
				if (document.getElementById("tabNotifyRecipient_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabNotifyRecipient"));
			}
			jsFocus(ntf_email_subject_array[i]);
			return false;
		}
	}
	var ntf_email_message_array = new Array(document.fmMain.txtNotifyAdminMessage,
											document.fmMain.txtInSenderMessage,
											document.fmMain.txtExSenderMessage,
											document.fmMain.txtInRecipientMessage,
											document.fmMain.txtExRecipientMessage);
	for (var i=0;i<ntf_email_message_array.length;i++) {
		if (!checkNumberRange(ntf_email_message_array[i].value.length,0,INT_LMAX_EM_CONTENT,STR_WARN_EM_CONTENT)) {
			setUITagDisplay(3,3,'Notification');
			if (i == 0) {
				if (document.getElementById("tabNotifyAdmin_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabNotifyAdmin"));
			} else if (i == 1 || i == 2) {
				if (document.getElementById("tabNotifySender_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabNotifySender"));
			} else if (i == 3 || i == 4) {
				if (document.getElementById("tabNotifyRecipient_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabNotifyRecipient"));
			}
			jsFocus(ntf_email_message_array[i]);
			return false;
		}
	}
	if (!checkNumberRange(document.getElementById("txtSNMPMessage").value.length,0,INT_LMAX_EM_CONTENT,STR_WARN_EM_CONTENT)) {
		setUITagDisplay(3,3,'Notification');
		if (document.getElementById("tabSNMP_items").style.display == "none") setUIMoreDisplay(document.getElementById("tabSNMP"));
		jsFocus(document.getElementById("txtSNMPMessage"));
		return false;
	}
	setOption2Selected(document.fmMain.lstMatch);
	// cancel event capture
	CANCEL_EVENT = true;
	document.fmMain.btnSubmit.disabled = true;
	document.fmMain.btnCancel.disabled = true;
	// submit page
	jsAddCSRFToken(document.fmMain);
    document.fmMain.submit();
}
function jsCancel() {
	document.location.href = "$$FILTER_CF_PAGE$$";
}
function jsAddSemicolon(oFiled) {
	// delete all blank space and add Semicolon at the back of String
	oFiled.value = jsTrim(oFiled);
	oFiled.value = oFiled.value.replace(/;+/g,";");
	oFiled.value = oFiled.value.replace(/^;*/,"");
	if (!oFiled.value.length == 0){
		if(oFiled.value.charAt(oFiled.value.length-1) != ";")
			oFiled.value += ";"
	}
}
function jsUIDependency(){
    //TIP_REPLACEHEADER_TITLE = TIP_ANTISPAM_REPLACEHEADER_TITLE;
    //TIP_REPLACEHEADER_CONTENT = TIP_ANTISPAM_REPLACEHEADER_CONTENT;
    //TIP_QSINGLEHEADER_TITLE = TIP_ANTISPAM_QSINGLEHEADER_TITLE;
    //TIP_QSINGLEHEADER_CONTENT = TIP_ANTISPAM_QSINGLEHEADER_CONTENT; 
    document.getElementById("optReplaceTipIcon").style.display = (document.getElementById("rdoActionReplace").checked)?"":"none";
    document.getElementById("optQuarantineSingleTipIcon").style.display = (document.getElementById("rdoActionQuarantineItem").checked)?"":"none";
    document.getElementById("optQuarantineEntireTipIcon").style.display = (document.getElementById("rdoQuarantineEntire").checked && vPlatform=="Ex2007" && vBridgeHead_MailBox)?"":"none";
    document.getElementById("DeleteAllTipIcon").style.display = (document.getElementById("rdoDeleteAll").checked && vEx2000_2003=="EX2000")?"":"none"; 
    //document.getElementById("optArchiveEntireTipIcon").style.display = (document.getElementById("rdoArchiveEntire").checked)?"":"none";
   
    //Notification
	document.getElementById("txtSNMPIP").disabled = (!document.getElementById("chkNotifySNMP").checked);
	document.getElementById("txtSNMPCommunity").disabled = (!document.getElementById("chkNotifySNMP").checked);
	//document.getElementById("optSNMPMessageType").disabled = (!document.getElementById("chkNotifySNMP").checked);
	//document.getElementById("txtSNMPMessage").disabled = (!document.getElementById("chkNotifySNMP").checked); 
}
-->
</script>
</head>
<body onload="jsInitPage();" onclick="checkPageStatus(event);">
<form id="fmMain" name="fmMain" action="$$FORM_ACTION$$" method=post>
<!--Hidden Field-->
<input type="hidden" name="FormAction" value="Finish">
<input type="hidden" name="idRule" value="$$RULE_ID$$">
<input type="hidden" name="CfgRedirect" value="$$REDIRECT_TO_PAGE$$"/>
<!--/Hidden Field-->


<!--Page Title-->
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr><td class="content-title">$$CF_CONTENT_TITLE$$ &gt; Match All Conditions Rule &gt Edit Rule</td>
	<td align="right" valign="bottom">
		<a href="javascript:jsMapOnlineHelp('scan\Contentfiltering_Edit_Antispam.htm');" class="moretestblue">
		<img src="images/question.gif" border="0"> Help</a></td></tr>
<tr><td colspan="2" height="4"></td></tr>
<tr><td colspan="2" height="1" background="images/dot.gif"></td></tr>
<tr><td colspan="2" height="10"></td></tr>
</table>
<!--/Page Title-->
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<!--Page Description--><!--/Page Description-->
<!--Page Content-->
<tr><td><table border="0" cellpadding="0" cellspacing="0">
		<!--||Global Setting||-->
		<tr><td width="20"><input type=checkbox name="chkEnable" value="on" $$RULE_ENABLED$$></td>
			<td><b>Enable this rule</b></td></tr>
		<tr><td></td>
			<td>Rule name:&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" class="text" name="txtRuleName" id="txtRuleName" value="$$RULE_NAME$$"></td></tr>
		</table></td></tr>
<tr height="10"><td></td></tr>
<tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0">
		<!--||TABS(First active)||-->
		<tr><td background="images/tab_background_cui.gif">
			<table border="0" cellpadding="0" cellspacing="0">
			<tr><td width="11"><img id="Tag1_imgS" src="images/tab_active1_left_cui.gif" style="vertical-align:top"></td>
				<td width="50" valign="top" nowrap id="Tag1" style="background-image:url(images/tab_active_background_cui.gif)" class="tabactive">Target</td>
				<td width="23"><img id="Tag1_imgE" src="images/tab_active_right_cui.gif" style="vertical-align:top"></td>
				<td width="11"><img id="Tag2_imgS" src="images/tab_inactive2_left_cui.gif" style="vertical-align:top"></td>
				<td width="50" valign="top" nowrap id="Tag2" style="background-image:url(images/tab_inactive_background_cui.gif)" class="tabinactive"><a class="subnavselect" href="javascript:setUITagDisplay(2,3,'Action');">Action</a></td>
				<td width="23"><img id="Tag2_imgE" src="images/tab_inactive_right_cui.gif" style="vertical-align:top"></td>
				<td width="11"><img id="Tag3_imgS" src="images/tab_inactive2_left_cui.gif" style="vertical-align:top"></td>
				<td width="90" valign="top" nowrap id="Tag3" style="background-image:url(images/tab_inactive_background_cui.gif)" class="tabinactive"><a class="subnavselect" href="javascript:setUITagDisplay(3,3,'Notification');">Notification</a></td>
				<td width="23"><img id="Tag3_imgE" src="images/tab_inactive_right_cui.gif" style="vertical-align:top"></td></tr>
			</table></td>      
			<td width="13" align="right" background="images/tab_background_cui.gif"><img src="images/tab_right_corner_cui.gif" style="vertical-align:top"></td></tr>
		</table></td></tr>
<tr><td><table id="Tag1_items" width="100%" border="0" cellpadding="0" cellspacing="0" class="border">
		<!--||Select Target||-->
		<tr><td width="100%" class="tableheadergreyS">Scan the following</td></tr>
		<tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0">
				$$SECTION_BEGIN$$
				<tr><td width="130" class="data1">From:</td>
					<td class="data1"><input type="text" class="text" id="txtEmailFrom" name="txtEmailFrom" value="$$FROM_LIST$$" style="width:250" onblur="jsAddSemicolon(this);">
					    <input type="checkbox" id="chkEmailFromMatchCase" name="chkEmailFromMatchCase" value="on" $$FROM_LIST_MATCH_CASE$$>Case-sensitive</td></tr>
				<tr><td width="130" class="data1">To:</td>
					<td class="data1"><input type="text" class="text" id="txtEmailTo" name="txtEmailTo" value="$$TO_LIST$$" style="width:250" onblur="jsAddSemicolon(this);">
					    <input type="checkbox" id="chkEmailToMatchCase" name="chkEmailToMatchCase" value="on" $$TO_LIST_MATCH_CASE$$>Case-sensitive</td></tr>
				<tr><td width="130" class="data1">CC:</td>
					<td class="data1"><input type="text" class="text" id="txtEmailCc" name="txtEmailCc" value="$$CC_LIST$$" style="width:250" onblur="jsAddSemicolon(this);">
					    <input type="checkbox" id="chkEmailCcMatchCase" name="chkEmailCcMatchCase" value="on" $$CC_LIST_MATCH_CASE$$>Case-sensitive</td></tr>
				<tr><td width="130" class="data1">Subject:</td>
					<td class="data1"><input type="text" class="text" id="txtEmailSubject" name="txtEmailSubject" value="$$SUBJECT_LIST$$" style="width:250" onblur="jsAddSemicolon(this);">
					    <input type="checkbox" id="chkEmailSubjectMatchCase" name="chkEmailSubjectMatchCase" value="on" $$SUBJECT_LIST_MATCH_CASE$$>Case-sensitive</td></tr>
				<tr><td width="130" class="data1">Size:</td>
					<td><select class="text" id="optEmailAttachmentSizeComparison" name="optEmailAttachmentSizeComparison">
									<option value="greater_than" $$ATTACHMENT_SIZE_COMPARISON_GT_CHECKED$$>greater than</option>
									<option value="less_than"    $$ATTACHMENT_SIZE_COMPARISON_LT_CHECKED$$>less than</option>
									<option value="equal_to"     $$ATTACHMENT_SIZE_COMPARISON_EQ_CHECKED$$>equal to</option>
									<option value="not_equal_to" $$ATTACHMENT_SIZE_COMPARISON_NE_CHECKED$$>not equal to</option>
									</select>
									<input type="text" class="text" id="txtEmailAttachmentSize" name="txtEmailAttachmentSize" value="$$ATTACHMENT_SIZE$$" size="8">
									<span class="data1">bytes (Message body or attachment size)</span>
					</td></tr>
				<tr><td width="130" class="data1">Attachment file Name:</td>
					<td class="data1"><input type="text" class="text" id="txtEmailAttachmentName" name="txtEmailAttachmentName" value="$$ATTACHMENT_NAME_LIST$$" style="width=250" onblur="jsAddSemicolon(this);">
					    <input type="checkbox" id="chkEmailAttachmentNameMatchCase" name="chkEmailAttachmentNameMatchCase" value="on" $$ATTACHMENT_NAME_LIST_MATCH_CASE$$>Case-sensitive</td></tr>
				$$SECTION_END$$
				$$NON_RS_SECTION_BEGIN$$
				<tr><td colspan="2"><input type=hidden id="chkHeader" name="chkHeader">
					<input type=hidden name="chkHeaderItem" id="chkHeaderItem">
					<input type=hidden name="chkHeaderItem" id="chkHeaderItem">
					<input type=hidden name="chkHeaderItem" id="chkHeaderItem">
					<input type=hidden name="chkSubject" id="chkSubject">
					</td></tr>
				$$NON_RS_SECTION_END$$
				</table></td></tr>
		</table>
		<table id="Tag2_items" style="display:none" width="100%" border="0" cellpadding="0" cellspacing="0" class="border">
		<!--Contentfiltering_Action.htm_partial-->
		$$ACTION_PAGE$$
		</table>
		<table id="Tag3_items" style="display:none" width="100%" border="0" cellpadding="0" cellspacing="0" class="border">
		<!--Notification.htm_partial-->
		$$NOTIFICATION_PAGE$$
		</table>
		</td></tr>
<!--/Page Content-->
<!--Page Button-->
<tr><td height="10"></td></tr>
<tr><td><table border="0" cellpadding="0" cellspacing="0">
		<tr><td id="tab_btnSubmit"><input type="button" class="text" name="btnSubmit" value="Save" onclick="jsSubmit();">&nbsp;</td>
			<td id="tab_btnCancel"><input type="button" class="text" name="btnCancel" value="Cancel" onclick="jsCancel();">&nbsp;</td></tr>
		</table></td></tr>
<!--/Page Button-->
</table>
</form>

<iframe id="ifmToolTip" name="ifmToolTip" src="html/ToolTip.htm" frameborder="0" style="z-index:10000;position:absolute;width:0;height:0;scrolling:no"/>
</body>
</html>
