<%--
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%-- Site.jsp --%>

<%@page info="Site" language="java"%>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@taglib uri="/WEB-INF/console.tld" prefix="console"%>
<%@taglib uri="/WEB-INF/searchadmin.tld" prefix="searchadmin"%>

<jato:useViewBean className="com.sun.portal.search.admin.SiteViewBean" > 
<jsp:useBean id="viewBean" type="com.sun.portal.search.admin.SiteViewBean" />
<HTML>


<SCRIPT LANGUAGE="JavaScript">

<!-- Hide script

function swapFilter(id1, id2) {
    var x, y;
    var doc = document.forms["Site"];
    var oldMatch = "Site.FilterList[" + id1 + "].match";
    var oldRule = "Site.FilterList[" + id1 + "].rule";
    var newMatch = "Site.FilterList[" + id2 + "].match";
    var newRule = "Site.FilterList[" + id2 + "].rule";
    var f1 = doc.elements[oldMatch];
    var f2 = doc.elements[newMatch];
    if (!f1 || !f2) {
	return;
    }
    x = doc.elements[oldMatch].selectedIndex;
    y = doc.elements[newMatch].selectedIndex;
    //alert("x=" + x);
    //alert("y=" + y);
    doc.elements[oldMatch].selectedIndex = y;
    doc.elements[oldMatch].options[y].selected = true;
    doc.elements[newMatch].selectedIndex = x;
    doc.elements[newMatch].options[x].selected = true;
    x = doc.elements[oldRule].selectedIndex;
    y = doc.elements[newRule].selectedIndex;
    //alert("x=" + x);
    //alert("y=" + y);
    doc.elements[oldRule].selectedIndex = y;
    doc.elements[oldRule].options[y].selected = true;
    doc.elements[newRule].selectedIndex = x;
    doc.elements[newRule].options[x].selected = true;
}


function moveDown(id) {
	swapFilter(id, id+1);
}
function moveUp(id) {
	swapFilter(id, id-1);
}

function changeOrder(order) {
    var doc = document.forms["Site"];
    i=0;
    for (;;i++){
	var orderCheck = "Site.FilterList[" + i + "].Delete";
	var e=doc.elements[orderCheck];
	if (!e) {
	    break;
	}
	if (e.checked) {
	    if (i > 0 && order == 'up') {
		moveUp(i);
	    }
	    else if (order == 'down') {
		moveDown(i);
	    }
	    e.checked=false;
	}
    }
}

function checkIsUnique(f, listname, itemname,matchname, fr) {
    var form = document.forms[f];
    if (fr.selectedIndex == -1 || fr.selectedIndex == 0) {
	return;
    }
    i=0;
    sel = -1;
    dup = -1;
    for (;;i++) {
	var name = f + "." + listname + "[" + i + "]" + "." + itemname;
	var item = form.elements[name]; 
	if (!item) break;
	if ( item == fr ) {
	    sel = i;
	    //alert("Got Myself");
	}
	else {
	    if ( item.selectedIndex == fr.selectedIndex ) {
		alert('<searchadmin:text key="site.dup.warning"/>');
		dup = i;
	    }
	}
    }
    if (dup < 0 ) {
	return;
    }
    var mymatch = form.elements[f + "." + listname + "[" + sel + "]" + "." + matchname];
    var dupmatch = form.elements[f + "." + listname + "[" + dup + "]" + "." + matchname];

    if (sel > dup) {
	mymatch.selectedIndex = dupmatch.selectedIndex;
    }
    else {
	dupmatch.selectedIndex = mymatch.selectedIndex;
    }


    
    
	    
}

    

// End script hiding -->

</SCRIPT>

<%@include file="/ps/searchadmin/CSHeader.jsp"%>
<script language="javascript" src="../ps/searchadmin/js/searchadmin.js"></script>
<script language="javascript" src="../ps/searchadmin/js/urlmagic.js"></script>
<script language="javascript">
if (parent.headerFrame) {
    parent.headerFrame.helpDocURL = "<jato:text name="helpDocURL"/>";
    parent.headerFrame.helpPage = "<searchadmin:text key="help.robot.sites"/>";
}
</script>
<searchadmin:AdminMenu selected="Sites" images="../ps/searchadmin/images"/>


<console:form name="Site">
<jato:hidden name="SiteID"/>

  <TABLE border="0" cellpadding="0" cellspacing="10" width="100%">
    <TR> 
      <TD width="50%" height="2"> </TD>
      <TD align="right" width="50%" height="2"> 
        <TABLE border="0" cellpadding="0" cellspacing="0">
          <TR> 
            <TD> 
		   <console:button name="SubmitButton" />
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
	    <console:button name="CancelButton"  href="Sites"/>
	    </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
		   <console:button name="ResetButton" />
            </TD>
            <TD><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD>  </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
    <TR>
	<TD colspan="2" height="2">
	<DIV class="help-text"><searchadmin:text key="robot.site.desc"/></DIV>
	</TD>
    </TR>

    <!-- Nick Name Section -->
    <TR> 
      <TD colspan="2" height="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
          <TR> 
            <TD nowrap> 
              <DIV class="properties-level1-label-text"><searchadmin:text key="site.nickname.sect"/></DIV>
            </TD>
            <TD valign="bottom" width="99%"> 
		<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
		    <TR> 
		    <TD valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></TD>
		    </TR>
		</TABLE>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
    <TR> 
	<TD colspan=2>
	<DIV class="properties-level3-label-text"><searchadmin:text key="nick.name" label="nickname"/>&nbsp;:&nbsp;<jato:textField name="Nickname" elementId="nickname" size="40" /></DIV>
	</td>
    </TR>
   


    <jato:content name="ServersSection">
    <!-- Server Section -->
    <TR> 
      <TD colspan="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
          <TR> 
            <TD nowrap> 
              <DIV class="properties-level1-label-text"><searchadmin:text key="site.server.sect"/></DIV>
            </TD>
            <TD valign="bottom" width="99%"> 
		<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
		    <TR> 
		    <TD valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></TD>
		    </TR>
		</TABLE>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
    
    <TR> 
      <TD colspan="2"> 

        <!-- Table Title -->
        <table border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td colspan=5><img alt="" border="0" height="10" width="1" src="../ps/searchadmin/images/blank.gif"></td>
          </tr>
          <tr> 
            <td><console:button name="addServer"/></TD>
            <td><img src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></td>
            <td><console:button name="delServer" /></TD>
            <td><img src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></td>
            <td><console:button name="dnsResolve" /></TD> 
          </tr>
          <tr> 
            <td colspan=5><img alt="" border="0" height="5" width="1" src="../ps/searchadmin/images/blank.gif"></td>
          </tr>
        </table>
        <!-- End table containing Save and Cancel Buttons -->
	
        <!-- Begin outer table -->
        <table class="table-frame" border="0" cellspacing="0" cellpadding="1">
          <tr> 
            <td> 
              <!-- Begin inner table -->
              <table class="table-content" border="0" cellspacing="0" cellpadding="0">
                <!-- Top row containing the column headers --> 
                <tr class="table-header-row"> 
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
		  <td align="center"> 
			<table width="100%" border="0" cellspacing="3" cellpadding="0">
			<tr> 
			    <td><a href="javascript:SelectAll('Site', 'ServerList', 'Delete', true);"><img src="../ps/searchadmin/images/select-all-small.gif" width="11" height="13" alt="<searchadmin:text key='select.all'/>" border="0"></a></td>
			    <td><a href="javascript:SelectAll('Site', 'ServerList', 'Delete', false);"><img src="../ps/searchadmin/images/deselect-all-small.gif" width="11" height="13" alt="<searchadmin:text key='deselect.all'/>" border="0"></a></td>
			</tr>
			</table>
		  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                  <td> 
                    <div class="table-header-text"><searchadmin:text key="site.servergroup.name" label="servergroup"/></div>
                  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                  <td> 
                    <div class="table-header-text"><searchadmin:text key="port.text" label="serverport"/></div>
                  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                  <td> 
                    <div class="table-header-text"><searchadmin:text key="type.text" label="servertype"/></div>
                  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                  <td> 
                    <div class="table-header-text"><searchadmin:text key="site.verify.status"/></div>
                  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                </tr>
                <!-- Row containing the sort graphisc --> <!-- Rows containing the data --> 
		<div class="table-normal-text"> 
		<jato:tiledView name="ServerList">
                <tr valign=baseline>
                  <td>&nbsp;</td>
		  <TD><jato:checkbox name="Delete" elementId="del"/></TD>
                  <td>&nbsp;</td>
                  <td nowrap> 
                      <jato:textField name="ServerAlias" elementId="servergroup" size="20"/>
                      <br>
                      <font size="-1"><searchadmin:text key="site.realname"/>&nbsp;:&nbsp;<jato:text name="RealNameText"/></font>
                  </td>
                  <td>&nbsp;</td>
                  <td> 
                    <jato:textField name="ServerPort" elementId="serverport" size="4" onChange="var i = this.form.ServerType.options.selectedIndex; this.value=validatePort(this.value,this.form.ServerType.options[i].value)"/>
                  </td>
                  <td>&nbsp;</td>
                  <td>
		    <jato:combobox name="TypeCombo" elementId="servertype"/>
		  </td>
                  <td>&nbsp;</td>
                  <td>&nbsp;<font color="<jato:text name="VerifiedColor"/>"><jato:text name="VerifiedText" escape="false"/></font></td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td class="table-separator-row" colspan="11" ><img src="../ps/searchadmin/images/blank.gif" alt="" width="1" height="1" border="0"></td>
                </tr>
		</jato:tiledView>
		</div>
              </table>
              <!--End inner table -->
            </td>
          </tr>
        </table>
        <!-- End outer table -->
      </td>
    </tr>

    </jato:content>




    <jato:content name="DomainsSection">
    <!-- Domain Section -->
    <TR> 
      <TD colspan="2" height="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
          <TR> 
            <TD nowrap> 
              <DIV class="properties-level1-label-text"><searchadmin:text key="site.domain.sect"/></DIV>
            </TD>
            <TD valign="bottom" width="99%"> 
		<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
		    <TR> 
		    <TD valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></TD>
		    </TR>
		</TABLE>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>

    <TR> 
      <TD colspan="2"> 

        <!-- Table Title -->
        <table border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td colspan=5><img alt="" border="0" height="10" width="1" src="../ps/searchadmin/images/blank.gif"></td>
          </tr>
          <tr> 
            <td><console:button name="addDomain" /></TD>
            <td><img src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></td>
            <td><console:button name="delDomain" /></TD>
            <td><img src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></td>
          </tr>
          <tr> 
            <td colspan=5><img alt="" border="0" height="5" width="1" src="../ps/searchadmin/images/blank.gif"></td>
          </tr>
        </table>
        <!-- End table containing Save and Cancel Buttons -->
	
        <!-- Begin outer table -->
        <table class="table-frame" border="0" cellspacing="0" cellpadding="1">
          <tr> 
            <td> 
              <!-- Begin inner table -->
              <table class="table-content" border="0" cellspacing="0" cellpadding="0">
                <!-- Top row containing the column headers --> 
                <tr class="table-header-row"> 
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
		  <td align="center"> 
			<table width="100%" border="0" cellspacing="3" cellpadding="0">
			<tr> 
			    <td><a href="javascript:SelectAll('Site', 'DomainList', 'Delete', true);"><img src="../ps/searchadmin/images/select-all-small.gif" width="11" height="13" alt="<searchadmin:text key='select.all'/>" border="0"></a></td>
			    <td><a href="javascript:SelectAll('Site', 'DomainList', 'Delete', false);"><img src="../ps/searchadmin/images/deselect-all-small.gif" width="11" height="13" alt="<searchadmin:text key='deselect.all'/>" border="0"></a></td>
			</tr>
			</table>
		  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                  <td> 
                    <div class="table-header-text"><searchadmin:text key="site.domainsuffix" label="domainsuffix"/></div>
                  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                </tr>
                <!-- Row containing the sort graphisc --> <!-- Rows containing the data --> 
		<jato:tiledView name="DomainList">
                <tr>
                  <td>&nbsp;</td>
		  <TD><jato:checkbox name="Delete" elementId="del"/></TD>
                  <td>&nbsp;</td>
                  <td nowrap> 
                    <div class="table-normal-text"> 
                      <jato:textField name="DomainAlias" elementId="domainsuffix" size="20"/>
		    </div>
                  </td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td class="table-separator-row" colspan="7" ><img src="../ps/searchadmin/images/blank.gif" alt="" width="1" height="1" border="0"></td>
                </tr>
		</jato:tiledView>
              </table>
              <!--End inner table -->


            </td>
          </tr>
        </table>
        <!-- End outer table -->
	<BR>
	      <table border="0" cellspacing="0" cellpadding="0">
		<TR>
		    <td>
		    <DIV class="properties-level3-label-text"><searchadmin:text key="site.domain.port" label="domainport"/>&nbsp;:&nbsp;</DIV>
		    </td>
		    <td><jato:textField name="Ports" elementId="domainport" size="30" onChange=" this.value=validatePortList(this.value)"/>  </TD>
		    <TD>&nbsp;</td>
		</tr>
		<tr valign=top>
		    <td> 
		    <DIV class="properties-level3-label-text"><searchadmin:text key="site.allowproto" label="allowproto"/>&nbsp;:&nbsp;</DIV>
		    </td>
		    <td>
		    <jato:checkbox name="http" elementId="allowproto" onClick="vrfyProtocols(this)"/><searchadmin:text key="site.protocol.http"/>
		    <jato:checkbox name="file" elementId="allowproto" onClick="vrfyProtocols(this)"/><searchadmin:text key="site.protocol.file"/>

		    <jato:checkbox name="ftp" elementId="allowproto" onClick="vrfyProtocols(this)"/><searchadmin:text key="site.protocol.ftp"/>

		    <jato:checkbox name="https" elementId="allowproto" onClick="vrfyProtocols(this)"/><searchadmin:text key="site.protocol.https"/>
		    </TD>
		    <TD>&nbsp;</td>
		</tr>
	      </TABLE>
      </td>
    </tr>
    
    </jato:content>


    <!-- Starting Points Section -->
    <TR> 
      <TD colspan="2" height="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
          <TR> 
            <TD nowrap> 
              <DIV class="properties-level1-label-text"><searchadmin:text key="site.starting.sect"/></DIV>
            </TD>
            <TD valign="bottom" width="99%"> 
		<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
		    <TR> 
		    <TD valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></TD>
		    </TR>
		</TABLE>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
 
    <TR>
	<TD colspan=2>

        <!-- Table Title -->
        <table border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td colspan=3><img alt="" border="0" height="10" width="1" src="../ps/searchadmin/images/blank.gif"></td>
          </tr>
          <tr> 
            <td><console:button name="addStarting" /></TD>
            <td><img src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></td>
            <td><console:button name="delStarting" /></TD>
          </tr>
          <tr> 
            <td colspan=3><img alt="" border="0" height="5" width="1" src="../ps/searchadmin/images/blank.gif"></td>
          </tr>
        </table>
	
        <!-- Begin outer table -->
        <table class="table-frame" border="0" cellspacing="0" cellpadding="1">
          <tr> 
            <td> 
              <!-- Begin inner table -->
              <table class="table-content" border="0" cellspacing="0" cellpadding="0">
                <!-- Top row containing the column headers --> 
                <tr class="table-header-row"> 
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
		  <td align="center"> 
			<table width="100%" border="0" cellspacing="3" cellpadding="0">
			<tr> 
			    <td><a href="javascript:SelectAll('Site', 'StartingList', 'Delete', true);"><img src="../ps/searchadmin/images/select-all-small.gif" width="11" height="13" alt="<searchadmin:text key='select.all'/>" border="0"></a></td>
			    <td><a href="javascript:SelectAll('Site', 'StartingList', 'Delete', false);"><img src="../ps/searchadmin/images/deselect-all-small.gif" width="11" height="13" alt="<searchadmin:text key='deselect.all'/>" border="0"></a></td>
			</tr>
			</table>
		  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                  <td> 
                    <div class="table-header-text"><searchadmin:text key="url.text" label="urltext"/></div>
                  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                  <td> 
                    <div class="table-header-text"><searchadmin:text key="depth.text" label="depthtext"/></div>
                  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                </tr>
                <!-- Row containing the sort graphisc --> <!-- Rows containing the data --> 
		<jato:tiledView name="StartingList">
                <tr>
                  <td>&nbsp;</td>
		  <TD><jato:checkbox name="Delete" elementId="del"/></TD>
                  <td>&nbsp;</td>
		  <TD>
		    <jato:textField name="url" size="30" onChange="validateServer(this,'');" elementId="urltext"/>
		  </td>
                  <td>&nbsp;</td>
		  <td><jato:comboBox name="depth" elementId="depthtext"/></td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td class="table-separator-row" colspan="7" ><img src="../ps/searchadmin/images/blank.gif" alt="" width="1" height="1" border="0"></td>
                </tr>
		</jato:tiledView>
              </table>
              <!--End inner table -->
            </td>
          </tr>
        </table>
        <!-- End outer table -->
      </td>
    </tr>

    <!-- Filters Section -->
    <TR> 
      <TD colspan="2" height="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
          <TR> 
            <TD nowrap> 
              <DIV class="properties-level1-label-text"><searchadmin:text key="site.filter.sect"/></DIV>
            </TD>
            <TD valign="bottom" width="99%"> 
		<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
		    <TR> 
		    <TD valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></TD>
		    </TR>
		</TABLE>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
    <TR>
	 <TD colspan="2" height="2">
	    <DIV class="help-text"><searchadmin:text key="site.filter.desc.actionone"/><LABEL for="del"><searchadmin:text key="site.filter.desc.actiontwo"/></LABEL><searchadmin:text key="site.filter.desc.actionthree"/><BR><searchadmin:text key="site.filter.desc"/></TD></DIV>
	</TD>
    </TR>

    <TR>
	<TD colspan=2>

        <!-- Table Title -->
        <table border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td colspan=7><img alt="" border="0" height="10" width="1" src="../ps/searchadmin/images/blank.gif"></td>
          </tr>
          <tr> 
            <td><console:button name="addFilter" /></TD>
            <td><img src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></td>
            <td><console:button name="delFilter" /></TD>
            <td><img src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></td>
            <td><console:button name="shiftFilterUp"  onClick="changeOrder('up');return false;"/></TD>
            <td><img src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></td>
            <td><console:button name="shiftFilterDown" onClick="changeOrder('down');return false;"/></TD>
          </tr>
          <tr> 
            <td colspan=7><img alt="" border="0" height="5" width="1" src="../ps/searchadmin/images/blank.gif"></td>
          </tr>
        </table>
	
        <!-- Begin outer table -->
        <table class="table-frame" border="0" cellspacing="0" cellpadding="1">
          <tr> 
            <td> 
              <!-- Begin inner table -->
              <table class="table-content" border="0" cellspacing="0" cellpadding="0">
                <!-- Top row containing the column headers --> 
                <tr class="table-header-row"> 
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
		  <td align="center"> 
			<table width="100%" border="0" cellspacing="3" cellpadding="0">
			<tr> 
			    <td><a href="javascript:SelectAll('Site', 'FilterList', 'Delete', true);"><img src="../ps/searchadmin/images/select-all-small.gif" width="11" height="13" alt="<searchadmin:text key='select.all'/>" border="0"></a></td>
			    <td><a href="javascript:SelectAll('Site', 'FilterList', 'Delete', false);"><img src="../ps/searchadmin/images/deselect-all-small.gif" width="11" height="13" alt="<searchadmin:text key='deselect.all'/>" border="0"></a></td>
			</tr>
			</table>
		  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                  <td> 
                    <div class="table-header-text"><searchadmin:text key="action.text" label="filter.action"/></div>
                  </td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
		  <td><div class="table-header-text"><searchadmin:text key="filter.label" label="filter"/></div></td>
                  <td><img alt="" border="0" height="1" width="10" src="../ps/searchadmin/images/blank.gif"></td>
                </tr>
                <!-- Row containing the sort graphisc --> <!-- Rows containing the data --> 
		<jato:tiledView name="FilterList">
                <tr>
                  <td>&nbsp;</td>
		  <TD><jato:checkbox name="Delete" elementId="del"/></TD>
                  <td>&nbsp;</td>
		  <TD><jato:comboBox name="match" elementId="filter.action" /> </TD>
                  <td>&nbsp;</td>
		  <TD><jato:comboBox name="rule" elementId="filter" onChange="checkIsUnique('Site', 'FilterList', 'rule','match', this)" /> </TD>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td class="table-separator-row" colspan="7" ><img src="../ps/searchadmin/images/blank.gif" alt="" width="1" height="1" border="0"></td>
                </tr>
		</jato:tiledView>
		<TR>
		<TD colspan="3">&nbsp;</TD>
		<TD><jato:comboBox name="onExit" elementId="filter.action"/></TD>
		<TD>&nbsp;</TD>
		<TD><B><searchadmin:text key="site.allfiles"/></B></TD>
		<TD>&nbsp;</TD>
		</TR>
              </table>
              <!--End inner table -->
            </td>
          </tr>
        </table>
        <!-- End outer table -->
      </td>
    </tr>


    <!-- Advanced Section -->
    <TR> 
      <TD colspan="2" height="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
          <TR> 
            <TD nowrap> 
              <DIV class="properties-level1-label-text"><searchadmin:text key="site.advanced.sect"/></DIV>
            </TD>
            <TD valign="bottom" width="99%"> 
		<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
		    <TR> 
		    <TD valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></TD>
		    </TR>
		</TABLE>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>

    <TR>
      <TD colspan="2" height="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
	<TR>
	<TD>
	    <DIV class="properties-level3-label-text"><searchadmin:text key="comment.text" label="comment"/>&nbsp;:&nbsp;</DIV>
	</td>
	<TD><jato:textArea name="Comment" rows="3" cols="45" elementId="comment"/></TD>
	</TR>
	<TR><TD colspan=2><br></td></tr>
    
    <jato:content name="ServersSection">
	<TR>
	<TD>
	    <DIV class="properties-level3-label-text"><searchadmin:text key="site.dnstrans" label="dnstrans"/>&nbsp;:&nbsp;</DIV>
	</TD>
	<TD>
	    <jato:textArea name="DNSTrans" rows="3" cols="45" elementId="dnstrans"/>
	</TD>
	</TR>
    </jato:content>
	</TABLE>
	</TD>
    </TR>

    <!-- Buttons -->
    <TR> 
      <TD width="50%" height="2"> </TD>
      <TD align="right" width="50%" height="2"> 
        <TABLE border="0" cellpadding="0" cellspacing="0">
          <TR> 
            <TD> 
		   <console:button name="SubmitButton" />
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
	    <console:button name="CancelButton"  href="Sites"/>
	    </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
		   <console:button name="ResetButton" />
            </TD>
            <TD><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD>  </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>

    </TABLE>

</console:form>
</BODY>
<script language="javascript">
pageLoaded = 1;
</script>

</HTML>
</jato:useViewBean>
