<!--
// ==============================================================================
// File Name           : index_wizard_step2.htm
// Description         : index wizard step2
// Author(s)           : Baskaran V
// Date created        : 2009.01.05
// Last reviewed by    : 
// Last date of review : 
// Copyright           : (c) 2008, Sharp Software Development India Pvt Ltd., All rights reserved.
//                       All rights are reserved. Reproduction or transmission in whole or in part, in
//                       any form or by an means, electronic, mechanical or otherwise, is prohibited
//                       without the prior written consent of the copyright owner.

// ==============================================================================

-->

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<!--Title------------>		
<title>Sharpdesk Search Setup</title>
<!--End of the Title------------->		

<!-----------------CSS File Location (Default Blue theme  load)----------------------->		
<link href="style.css" rel="stylesheet" type="text/css" />
<script defer type="text/javascript" src="pngfix.js"></script>
<script type="text/javascript" src="Themes.js"></script>
<!-----------------End of the CSS File Location (Default Blue theme  load)------------>	
	
</head>

<body topmargin="0" leftmargin="0" SCROLL=NO>

<script language="JavaScript" src="search_errors.js"></script>
<script language="VBScript" src="vb_utils.js"></script>
<script language="JavaScript" src="search_index.js"></script>
<script language="JavaScript" src="index_wizard_common.js"></script>
<script language="JavaScript" src="math_utils.js"></script>

<script language="VBScript" src="vb_utils.js"></script>

<script language="JavaScript" for="window" event="onload()">
var mode = GetURLParameter(location.search, "mode");
DisplayTitle(mode, "2", document.all.title_area);

var run_mode = GetURLParameter(location.search, "mode");
//DisplayHeader(run_mode, document.all.header_area1);

document.all.folder_tree.paths = GetIncludedPaths();
document.all.folder_tree.excludedPaths = GetExcludedPaths();
</script>

<script language="JavaScript" for="clear_button" event="onclick()">
document.all.folder_tree.ClearAllSelection();
</script>

<script language="JavaScript" for="back_button" event="onclick()">
location = "index_wizard_step1.htm" + location.search;
</script>

<script language="JavaScript" for="next_button" event="onclick()">
if(!IsIncludedPathSelected(document.all.folder_tree.paths))
{
  //alert("At least one folder must be selected for indexing.");
  alert(/*IDS_E_NOFOLDER*/"Se debe seleccionar al menos una carpeta para la indexacin.");
  return;
}

SetIncludedPaths(document.all.folder_tree.paths);
SetExcludedPaths(document.all.folder_tree.excludedPaths);

location = "index_wizard_step3.htm" + location.search;
</script>
<script language="JavaScript" for="document" event="onreadystatechange()">
if(document.readyState == "complete")
  document.all.next_button.focus();
</script>

<script language="JavaScript" for="document" event="onkeydown()">
// backspace key must be ignored
if(event.keyCode == 8)
  event.returnValue = false;
</script>

<script language="JavaScript" for="cancel_button" event="onclick()">
mode = GetURLParameter(location.search, "mode");
if(ConfirmTerminate(mode))
{
  if(mode == "all")
    location = "index_wizard_incomplete.htm";
  else if(mode == "config")
    location = "index_wizard_config_incomplete.htm";
  else
    alert("Invalid mode specified.");
}
</script>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tablebroder" >
  
  <tr>
    <td height="300"  colspan="3" align="left" valign="top"  class="Centerbg"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="14%" height="200"  align="left" valign="bottom"><img src="images/Searchicon1.png" ></td>
        <td width="1%" rowspan="2" align="left" valign="top" class="Speartline">&nbsp;</td>
        <td width="85%" rowspan="2" align="left" valign="top" class="Textbox"><table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
            <td height="10" colspan="2" align="left" valign="top"></td>
          </tr>
          <tr>
            <td height="26" colspan="2" align="left" valign="top" class="Textbox"><span id="title_area"></span></td>
          </tr>
          <tr>
            <td height="18" colspan="2" align="left" valign="top" class="Textbox"><loc id="IDS_WIZ_STEP2_1">Seleccione las carpetas que desea indexar. Tenga presente que la indexacin de una unidad completa (p. ej. C:) tarda un tiempo considerable. Le recomendamos <b>seleccionar solamente las carpetas en las que necesite buscar informacin.</b></loc>
	  
	  </td>
          </tr>
          <tr>
            <td colspan="2" align="left" valign="top" class="Textbox"><br><loc id="IDS_EDIT_FOLDERS_TO_INDEX">Carpetas a indexar</loc><br/> 
		  <table width="100%" border="0" cellpadding="0" cellspacing="0" height="159">
          <tr> 
            <td width="75%">
			<object id="folder_tree" classid="CLSID:574B123E-F15A-11D4-BC75-006008C79300" width="100%" height="100%" >
			
            <param name="FixedDrives" value="TRUE"/>
            <param name="RemoteDrives" value="TRUE"/>
            <param name="CDROMDrives" value="FALSE"/>
            <param name="RemovableDrives" value="FALSE"/>
            <param name="MultiSelect" value="TRUE"/>
          </object> </td>
        <td width="25%"> 
          <div align="center"> 
            <input type="button" class="button_style"  name="clear_button" value="Borrar" loc="value:id=IDS_BUTTON_CLEAR"/>
          </div>
        </td>
      </tr>
    </table></td>
          </tr>
          
        </table></td>
        </tr>
      <tr>
        <td height="48"  align="left" valign="bottom"></td>
      </tr>
      
    </table></td>
  </tr>
  <tr>
  	<td height="1" colspan="3" align="left" valign="top" class="bgcolor_2" >
  </tr>
  <tr>
    <td height="61" colspan="3" align="left" valign="top"  class="bottombg"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="24%" height="62" rowspan="2" align="left" valign="top">&nbsp;</td>
        <td width="24%" align="center" valign="bottom"><input type="button" class="button_style" name="back_button" value="&lt; Atrs" loc="value:id=IDS_BUTTON_BACK" /></td>
        <td width="27%" align="center" valign="bottom"><input type="button" class="button_style" name="next_button" value="Siguiente &gt;" loc="value:id=IDS_BUTTON_NEXT" /></td>
        <td width="25%" align="center" valign="bottom"><input type="button" class="button_style" name="cancel_button" value="Cancelar" loc="value:id=IDS_BUTTON_CANCEL" /></td>
        </tr>
      <tr>
        <td align="center" valign="top"><img src="images/Cancel_shd1.png" ></td>
        <td width="26%" align="center" valign="top"><img src="images/Cancel_shd1.png" ></td>
        <td width="26%" align="center" valign="top"><img src="images/Cancel_shd1.png" ></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
