<html>
<head>
<title>File Blocking - Import Rule</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">
<!--
// NOTICE: Gina [2004/10/15]
// The <SPAN> element just can be used to ReOrder label on this page to avoid the NN's problem.

var curOrder = "Up";
var curStatus="enable";  
//var platformE14E2K7="$$E14_E2K7$$";   //if platformE14E2K7=1 means E14 or E2K7.
// the two vars of below are for Attachmentblocking_Add_Policy_htm
var policy_list = "$$POLICY_LIST_FORCHECK$$";
var policy_num  = $$POLICY_LIST_NUMBER$$;

var oOrderIndex = -1;
var vRecordCount = 0;
var vRecordPerPage = 10; // Use even number to avoid table color inconsistence when switch the odd and even pages.
var vPageNum = 0;
var vPageCount = 0;

function jsInitPage() {
	vRecordCount = document.getElementById("tabList").rows.length - 1;
	vPageCount = (Math.ceil(vRecordCount/vRecordPerPage)==0)?1:Math.ceil(vRecordCount/vRecordPerPage);
	var vPage = "10,20,50,100,All";
	if(document.fmMain.optRecordPerPage.length == 0){
	    setOptionValue(document.fmMain.optRecordPerPage,vPage,false);
	    //document.fmMain.optRecordPerPage.options[4].selected = true;
	}	
	for (var i=1;i<document.getElementById("tabList").rows.length;i++) {
		document.getElementById("tabList").rows[i].style.display = "none";
	}
	jsPage(1);

	jsSetFunction();
	jsServerRoleDependency("scan/Attachmentblocking_Exception_List.htm");
    
    
	if ($$IS_IMPORT_FINISHED$$)
    {
        window.opener.jsImportRefresh();
        window.close();
    }
}

function jsSetFunction() {
	var nCount = 0;
	if (document.fmMain.chkItems == null) {
		nCount = -1;
	} else if (document.fmMain.chkItems.length == null) {
		if(document.fmMain.chkItems.checked) nCount++;
	} else {
    	    for(var i=0;i<document.fmMain.chkItems.length;i++) {
      		if(document.fmMain.chkItems[i].checked) nCount++;
    	    }
  	}
  	if (nCount!=1 && oOrderIndex>-1) {
  		jsReorder(false);
  	}
  	setUIFunctionLink((nCount>0),"cmdDelItem1");
  	setUIFunctionLink((nCount>0),"cmdDelItem2");
  	setUIFunctionLink((nCount==1 && document.fmMain.chkItems.length>1),"cmdReorder1");
  	setUIFunctionLink((nCount==1 && document.fmMain.chkItems.length>1),"cmdReorder2");
  	
  	//if(window.location.search.indexOf("&",window.location.search.indexOf("Subject=")+8)>-1){
	//    winSubject = window.location.search.substring((window.location.search.indexOf("Subject=")+8),window.location.search.indexOf("&",window.location.search.indexOf("Subject=")+8));
	//}
	//else{
	//    winSubject = window.location.search.substring((window.location.search.indexOf("Subject=")+8),window.location.search.length);
	//}
    //document.getElementById("SaveBtn").value = (winSubject.indexOf("SS") == -1 && winSubject.indexOf("MS") == -1)?"Save":"< Back";
}
function jsImport() {
    var nCount = 0;
	if (document.fmMain.chkItems == null) {
		nCount = -1;
	} else if (document.fmMain.chkItems.length == null) {
		if(document.fmMain.chkItems.checked) nCount++;
	} else {
    	    for(var i=0;i<document.fmMain.chkItems.length;i++) {
      		if(document.fmMain.chkItems[i].checked) nCount++;
    	    }
  	}

    if (nCount <= 0)  // no item checked
    {
        window.close();
    }
    else
    {
	    document.fmMain.FormAction.value = "save";
	    jsAddCSRFToken(document.fmMain);
      document.fmMain.submit();
    }
}
function jsCancel() {
	window.close();
}
function jsReorder(nFlag) {
	if (document.getElementById("cmdReorder1").disabled) {return;}
	
	if (document.fmMain.chkItems.length == null) {
		document.getElementsByTagName("span").style.display = (nFlag)?"none":"";
		document.fmMain.txtOrder.style.display = (nFlag)?"":"none";
		oOrderIndex = 0;
	} else {
		if (nFlag) {
			document.fmMain.HiddenReorder.value = "true";
			if (document.fmMain.chkItems.length > 0) {
    			for(var i=0;i<document.fmMain.chkItems.length;i++) {
    				if(document.fmMain.chkItems[i].checked) break;
    			}
    			oOrderIndex = i;
    		}
    	}
    	else document.fmMain.HiddenReorder.value = "false";
    	document.getElementsByTagName("span")[oOrderIndex].style.display = (nFlag)?"none":"";
    		document.fmMain.txtOrder[oOrderIndex].value = "";
		document.fmMain.txtOrder[oOrderIndex].style.display = (nFlag)?"":"none";
  	}
  	document.getElementById("tabBtnSave").style.display = (nFlag)?"none":"";
  	document.getElementById("tabBtnSaveReorder").style.display = (nFlag)?"":"none";
}
function jsSelectAll() {
//	setUIChecked(document.fmMain.chkSelectAll.checked, document.fmMain.chkItems);
    var table = document.getElementById('tabList');
    var row=table.getElementsByTagName('tr');
	for (var i=1*(document.getElementById("labRecordS2").innerHTML);i<=1*(document.getElementById("labRecordE2").innerHTML) && i>0;i++){
                if (document.fmMain.chkItems!=null&&document.fmMain.chkItems.length==null) document.fmMain.chkItems.checked = document.fmMain.chkSelectAll.checked;
		else{
		    if(document.getElementById("labTotalRec2").innerHTML>document.getElementById("txtPageNum2").value*document.getElementById("labRecordE2").innerHTML){
		        //document.fmMain.chkItems[i-1].checked = document.fmMain.chkSelectAll.checked;
				 row[i].cells[0].firstChild.checked  = document.fmMain.chkSelectAll.checked;
		    }
		    else{
		        if(i<=1*(document.getElementById("labRecordE2").innerHTML))
				    row[i].cells[0].firstChild.checked  = document.fmMain.chkSelectAll.checked;
		          //  document.fmMain.chkItems[i-1].checked = document.fmMain.chkSelectAll.checked;
		    }
		} 
		
	}
	jsSetFunction();
}
function jsItems_Click(oAll,oItems,bFlag) {
//	setUIItemsChecked(oAll,oItems,bFlag);
	var bAll = true;
	for (var i=1*(document.getElementById("labRecordS2").innerHTML);i<=1*(document.getElementById("labRecordE2").innerHTML) && i>0;i++){
		if (oItems.length==null) {
			if (!oItems.checked) {bAll = false; break;}
		} else {
			if (i<=1*(document.getElementById("labRecordE2").innerHTML)&&!oItems[i-1].checked) {bAll = false; break;}
		}
	}
	oAll.checked = bAll;
	jsSetFunction();
}
function jsPage(nPage) {
	if (nPage < 1) { nPage=1; }
	if (nPage > vPageCount) { nPage = vPageCount; }	
	if (!checkNumberRange(nPage,vPageCount,1,STR_ERR_INVALID_LOG_PAGE_NUM)){return;}
	
	for (var i=1*(document.getElementById("labRecordS2").innerHTML);i<=1*(document.getElementById("labRecordE2").innerHTML) && i>0;i++){
		if(document.getElementById("labTotalRec2").innerHTML==1)
		{  
		    if(document.fmMain.chkItems!=null)
		         document.fmMain.chkItems.checked = false;
		}
		else
		{
		    document.getElementById("tabList").rows[i].style.display = "none";
		    if (i>0&&i<=document.getElementById("labTotalRec2").innerHTML) 
		    {	
		        if(document.fmMain.chkItems.length==null)
		        {   
		            //when there is only one check box left,the length of the checkbox will be null
		            document.fmMain.chkItems.checked = false;
		        }
		        else
		        {
		             document.fmMain.chkItems[i-1].checked = false;
		        }
		        
		        
		    }
		}
	}
	vPageNum = nPage;
	document.getElementById("labRecordS2").innerHTML = (((vPageNum-1)*vRecordPerPage+1>vRecordCount)?vRecordCount:((vPageNum-1)*vRecordPerPage+1));
	document.getElementById("labRecordE2").innerHTML = ((vPageNum*vRecordPerPage>vRecordCount)?vRecordCount:vPageNum*vRecordPerPage);
	document.getElementById("labTotalRec2").innerHTML = vRecordCount;
	document.getElementById("labTotalPage2").innerText = vPageCount;
	document.getElementById("txtPageNum2").value = vPageNum;
	for (var i=1*(document.getElementById("labRecordS2").innerHTML);i<=1*(document.getElementById("labRecordE2").innerHTML);i++){
		document.getElementById("tabList").rows[i].style.display = "";
	}
	document.fmMain.chkSelectAll.checked = false;
	jsSetFunction();
}
function jsChgRate(nRate,nIndex){
    if(nRate == "All"){nRate = vRecordCount;}
   document.fmMain.optRecordPerPage.options[nIndex].selected = true;
   vRecordPerPage = nRate;
   jsInitPage();
  // document.cookie = "AttachmentBlockingRecordPerPage=" + nRate; 
}
function jsKeyPressEvent(e,nValue){
    var key = window.event ? e.keyCode : e.which;
    if(key == 13)
        jsPage(nValue);

}
function jsReset(){
    if(!confirm(STR_ALR_RESET_SETTING))
	    return false;
	    
	document.getElementById("SaveBtn").disabled = true;
	document.getElementById("ResetBtn").disabled = true;
	
	// submit page
	document.fmMain.FormAction.value = "Reset";
	jsAddCSRFToken(document.fmMain);
    document.fmMain.submit();
}
function jsRestore()
{
	var CookieIndex = "AttachmentBlockingRecordPerPage" + "=";
	var offset = document.cookie.indexOf(CookieIndex);
	var RecordPerPage = -1;
	if(offset != -1)
	{
		offset += CookieIndex.length;
		var end = document.cookie.indexOf(";", offset);
		if (end == -1) end = document.cookie.length;
		RecordPerPage = parseInt(unescape(document.cookie.substring(offset, end)));
	}
	
	if(RecordPerPage != -1)
	{
	    var RecordIndex = -1;
		for(var i = 0; i < document.fmMain.optRecordPerPage.length; i++)
		{
			if(document.fmMain.optRecordPerPage.options[i].value == RecordPerPage)
			{
				RecordIndex = i;
				break;
			}
		}
		if (RecordIndex == -1)
		{
		    RecordPerPage = "All";
		    RecordIndex = document.fmMain.optRecordPerPage.length - 1;
		}
		jsChgRate(RecordPerPage, RecordIndex);
	}
}

function jsSortPriority()
{
    curOrder = (curOrder == "Down")?"Up":"Down";
    document.getElementById("sortImgP_icon").src = (curOrder == "Down")?"images/arrow_down.gif":"images/arrow_up.gif";
     
    var oTable=document.getElementById('tabList');
    var row=oTable.getElementsByTagName('tr');
    var rLen=row.length;
    var cLen=row[0].getElementsByTagName('td').length;    
    
    //Bubble sort, as the first line of oTable is description, not data, so we start from line 1.
    for(var i=rLen; i>1; i--)
    {
        for(var j=1; j<i-1; j++)
        {
            if(cLen=="6")//have "account" column
            {
                var order=Number(row[j].cells[4].firstChild.innerHTML);   //priority column            
                var order_next=Number(row[j+1].cells[4].firstChild.innerHTML);
            }
            if(cLen=="5")//have "account" column
            {
                var order=Number(row[j].cells[3].firstChild.innerHTML);   //priority column            
                var order_next=Number(row[j+1].cells[3].firstChild.innerHTML);
            }
            
            //sort acsend
            if(curOrder=="Up")
            {
               if(order > order_next)
               {     
                    var oRow = oTable.insertRow(j);
                    for(var t=0;t<cLen;t++)
                    {   
                       var oCell=oRow.insertCell(t);                      
                       oCell.innerHTML = row[j+2].cells[t].innerHTML;
                       oRow.onmouseover = row[j+2].onmouseover;
					   oRow.onmouseout = row[j+2].onmouseout;					   
                    } 
                            
                    oTable.deleteRow(j+2);                      
                }
             }
                
             //sort descend
            if(curOrder=="Down")
            {
               if(order < order_next)
               {
                  var oRow = oTable.insertRow(j);
                  for(var t=0;t<cLen;t++)
                  {   
                       var oCell=oRow.insertCell(t);                      
                       oCell.innerHTML = row[j+2].cells[t].innerHTML;
                       oRow.onmouseover = row[j+2].onmouseover;
					   oRow.onmouseout = row[j+2].onmouseout;					   
                  } 
                            
                    oTable.deleteRow(j+2);                      
               }
               
            }
                
        }
    } //end of bubble sort
    
    //add the css to the sorted table
    for(var i=1;i<rLen;i++)
    {
        var style;
        if(i%2==1)
           style="data1b";
        else 
           style="data2b";     
       
        for(var j=0;j<cLen;j++)
        {
           var oCell=row[i].cells[j];
           oCell.className=style;
           if(cLen=="6")//have "account" column
           {   
             if(j=="4")
                oCell.align="center";
             if(j=="5")
                oCell.align="center";  
           }
           if(cLen=="5") //don't have "account" column     
           {   
             if(j=="3")
                oCell.align="center";
             if(j=="4")
                oCell.align="center";  
           } 
        }                    
    }
    jsInitPage();
    jsRestore();
   
}
function jsSortStatus()
{
    curStatus=(curStatus=="enable")?"disable":"enable";   
    document.getElementById("sortImgS_icon").src = (curStatus == "enable")?"images/arrow_down.gif":"images/arrow_up.gif";
     
    //enable: img src="images/enable_button.gif"   disable: src="images/disable_button.gif" 
     
    var oTable=document.getElementById("tabList");    
    var row=oTable.getElementsByTagName("tr");      
    var rLen=row.length-1;
    var cLen=row[0].getElementsByTagName("td").length;
    
    var hiddenTable=document.getElementById("hiddenList");      
    var h=0;  //record hidden table item number
    
    //move disable item to hidden table
    for(var n=1; n<row.length-1;n++)
    {  
        if(cLen=="6")
        {          
            var status_img=row[n].cells[5].firstChild.src;
        } 
        if(cLen=="5")
        {
            var status_img=row[n].cells[4].firstChild.src;
        }
        var status;
        
        if(status_img.match("images/enable_button.gif"))
             status="enable";
        if(status_img.match("images/disable_button.gif"))
             status="disable";
        
        
        if(curStatus==status)
        {            
            var oRow=hiddenTable.insertRow(h++);
            for(var t=0;t<cLen;t++)
            {   
                 var oCell=oRow.insertCell(t);           
                 oCell.innerHTML = row[n].cells[t].innerHTML; 
                 oRow.onmouseover = row[n].onmouseover;
				 oRow.onmouseout = row[n].onmouseout;						 
            }
            oTable.deleteRow(n); 
            n--;
        }
    }
    
    //sort origin table, bubble sort 
    for(var i=rLen-h; i>1; i--)
    {
        for(var j=1; j<i-1; j++)
        {
             if(cLen=="6")
             {
                 var order=Number(row[j].cells[4].firstChild.innerHTML);               
                 var order_next=Number(row[j+1].cells[4].firstChild.innerHTML);
             }
             if(cLen=="5") 
             {
                 var order=Number(row[j].cells[3].firstChild.innerHTML);               
                 var order_next=Number(row[j+1].cells[3].firstChild.innerHTML);
             }     
                
            //sort acsend                
            if(order > order_next)
            {
               var oRow = oTable.insertRow(j);
               for(var t=0;t<cLen;t++)
               {   
                   var oCell=oRow.insertCell(t);                      
                   oCell.innerHTML = row[j+2].cells[t].innerHTML; 
				   oRow.onmouseover = row[j+2].onmouseover;
				   oRow.onmouseout = row[j+2].onmouseout;
               }                             
               oTable.deleteRow(j+2);                      
             }
               
         }
     }
    
    //sort hidden table, bubble sort
    var hrow=hiddenTable.getElementsByTagName("tr");   
    for(var i=h; i>0; i--)
    {
        for(var j=0; j<i-1; j++)
        {
            if(cLen=="6")
            {
                 var order=Number(hrow[j].cells[4].firstChild.innerHTML);                  
                 var order_next=Number(hrow[j+1].cells[4].firstChild.innerHTML); 
            }
            if(cLen=="5")
            {
                var order=Number(hrow[j].cells[3].firstChild.innerHTML);                  
                var order_next=Number(hrow[j+1].cells[3].firstChild.innerHTML); 
            }
                
            //sort acsend                
            if(order > order_next)
            {
               var oRow = hiddenTable.insertRow(j);
               for(var t=0;t<cLen;t++)
               {   
                   var oCell=oRow.insertCell(t);                      
                   oCell.innerHTML = hrow[j+2].cells[t].innerHTML; 
				   oRow.onmouseover = hrow[j+2].onmouseover;
				   oRow.onmouseout = hrow[j+2].onmouseout;
               }                             
               hiddenTable.deleteRow(j+2);                      
             }
               
         }
     }
    
    //insert hidden table to origin table, and clear hidden table
    var newLine=rLen-h+1;
    
    for(var x=0; x<h; x++)
    {
        var oRow = oTable.insertRow(newLine+x);
        for(var t=0;t<cLen;t++)
        {   
             var oCell=oRow.insertCell(t);                      
             oCell.innerHTML = hrow[x].cells[t].innerHTML; 
			 oRow.onmouseover = hrow[x].onmouseover;
		     oRow.onmouseout = hrow[x].onmouseout;
        }                               
    }
    //clear hiddenTable
    for(var x=0; x<hrow.length;)
    { 
        hiddenTable.deleteRow(x);  
    } 
    
    //add the css to the sorted table
    for(var i=1;i<=rLen;i++)
    {
        var style;
        if(i%2==1)
           style="data1b";
        else 
           style="data2b";    
       
        for(var j=0;j<cLen;j++)
        {
           var oCell=row[i].cells[j];
           oCell.className=style;
           if(cLen=="6")//have "account" column
           {   
             if(j=="4")
                oCell.align="center";
             if(j=="5")
                oCell.align="center";  
           }
           if(cLen=="5") //don't have "account" column     
           {   
             if(j=="3")
                oCell.align="center";
             if(j=="4")
                oCell.align="center";  
           } 
        }                    
    }
    
    jsInitPage();
    jsRestore();
        
}
function jsStoreLevelCheck(obj)
{
    if(platformE14E2K7&&obj.checked) 
        alert(STR_ERR_AB_STORE_LEVEL_CHECK);
}


//-->
</script>
</head>
<body onLoad="jsInitPage();jsRestore();" onclick="checkPageStatus(event);">
<form name="fmMain" action="$$FORM_ACTION$$" method=post onKeyPress="if(event.keyCode==13){return false;}">
<!--Hidden Field-->
<input type=hidden id="txtInitOrder" name="txtInitOrder">
<input type=hidden id="txtNewOrder" name="txtNewOrder">
<input type=hidden id="txtRuleEnabled" name="txtRuleEnabled">
<input type=hidden id="txtPageNum" name="txtPageNum">
<input type=hidden id="txtActionPass" name="txtActionPass">
<input type=hidden id="txtActionDelete" name="txtActionDelete">
<input type=hidden id="txtActionQuarantineAll" name="txtActionQuarantineAll">
<input type=hidden id="txtActionQuarantineItem" name="txtActionQuarantineItem">
<input type=hidden id="txtActionReplace" name="txtActionReplace">
<input type=hidden id="txtActionArchive" name="txtActionArchive">
<input type=hidden id="txtActionUnknown" name="txtActionUnknown">
<input type=hidden id="HiddenReorder" name="HiddenReorder">
<input type="hidden" id="txtSSTaskName" name="txtSSTaskName" value="$$SS_TASK_NAME$$" />
<input type="hidden" id="txtSSTaskBehavior" name="txtSSTaskBehavior" value="$$SS_TASK_BEHAVIOR$$" />
<table id="hiddenList" style="display:none"> </table>
<!--/Hidden Field-->

<!--Page Title-->
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr><td class="content-title">Import from Real-time File Blocking Policy</td>
	<td align="right" valign="bottom">
		<a href="javascript:jsMapOnlineHelp('scan\Attachmentblocking_Import_Rule_List.htm');" class="moretestblue">
		<img src="images/question.gif" border="0" class="vAlignMid"> 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-->
<!--Global Setting --> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!--Page Description--><!--/Page Description-->
<!--Page Content-->
<tr><td valign="top" width="64%">
  <table width="100%">
  <tr><td>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="border">
		 <tr><td>
             <table width="100%" border="0" cellpadding="0" cellspacing="0" id="tabList" name="tabList">				
			 <tr><td class="grey2" width="20"><input type="checkbox" name="chkSelectAll" onClick="javascript:jsSelectAll();"></td>
		  	     <td class="grey2">Policy</td>
		   		 <td class="grey2" width="20%">Action</td>
		   		 <td class="grey2" width="10%" align="center">Priority<img id="sortImgP_icon" src="/images/arrow_down.gif" width="7" height="9" class="vAlignMid" onClick="jsSortPriority();"/></td>
		   		 <td class="grey2-end" width="10%" align="center">Status<img id="sortImgS_icon" src="/images/arrow_down.gif" width="7" height="9" class="vAlignMid" onClick="jsSortStatus();" /></td></tr>
				<!--||TABLE DATA||-->
				$$AB_EXIST_POLICY_LIST$$
				<!--||TABLE DATA||-->
                
		     </table>
         </td></tr>
		 <tr><td class="border3">
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
			 <tr><td class="data2">
                </td>
				<td class="data2" align="right">
                <table border="0" cellspacing="0" cellpadding="0">
				<tr><td nowrap align="right">
					<font id="labRecordS2" name="labRecordS2">0</font> - <font id="labRecordE2" name="labRecordE2">0</font> of <font id="labTotalRec2" name="labTotalRec2">0</font>
					&nbsp;&nbsp;
					<img src="images/pagination-beginning.gif" style="cursor:pointer" onClick="jsPage(1);" class="vAlignMid">
					<img src="images/pagination-previous.gif" style="cursor:pointer" onClick="jsPage(parseInt(vPageNum)-1);" class="vAlignMid">
					Page
					<input type="text" size="3" class="text" id="txtPageNum2" name="txtPageNum2" value="0" onKeyPress="jsKeyPressEvent(event,this.value);" />
					of
					<font id="labTotalPage2" name="labTotalPage2">0</font>
					<img src="images/pagination-next.gif" style="cursor:pointer" onClick="jsPage(parseInt(vPageNum)+1);" class="vAlignMid">
					<img src="images/pagination-end.gif" style="cursor:pointer" onClick="jsPage(vPageCount);" class="vAlignMid">
                </td></tr>
				</table>
            </td></tr>	
			</table>
        </td></tr>
		<tr><td class="data2c" align="right">Rows per page: 
		    <select id="optRecordPerPage" name="optRecordPerPage" class="text" onChange="jsChgRate(this.options[this.selectedIndex].text,this.selectedIndex);"></select>
        </td></tr>
		</table>
    </td></tr>
    <tr><td height="10" align="top"></td></tr>
    <tr id="tabBtnSave" align="top"><td>
        <input type="button" class="text" id="SaveBtn" value="Import" onClick="jsImport();"><input type="hidden" name="FormAction" value="save">
        <input type="button" class="text" id="ResetBtn" value="Cancel" onClick="jsCancel();"></td></tr>
    <tr id="tabBtnSaveReorder" style="display:none"><td><input type="button" class="text" value="Save Reorder" onClick="jsSubmitReorder();">&nbsp;<input type="button" class="text" value="Cancel" onClick="jsReorder(false);"></td></tr>
  </table>
  </td>
    <td width="1%" rowspan="2">&nbsp;</td> 
    <TD width="35%" rowspan="2" vAlign=top  > 
	<table><tbody>
    <tr><td id="padding_head_snapshot">
    </td></tr>
    <tr><td>
     $$RULE_SNAPSHOT$$ 
     </td></tr>
     </tbody></table> 
    </TD>
    </tr>
    
    
</table>

</form>
</body>
</html>
