<!--
// ==============================================================================
// File Name           : index_wizard_step5.htm
// Description         : index wizard step5 
// 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:sds="">
<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>
<link rel="stylesheet" href="search.css"/>
<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="JavaScript" src="external_io.js"></script>
<script language="JavaScript" src="indexing_schedule.js"></script>
<script language="JavaScript" src="ui_utils.js"></script>

<script language="JavaScript" for="window" event="onload()">
var values = GetDailyIndexingSchedule();
SetDateBox(document.all.daily_start_date, values["StartDate"]);
SetTimeBox(document.all.daily_start_time, values["StartTime"]);

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

</script>

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

<script language="JavaScript" for="next_button" event="onclick()">
var new_values = new Array();
new_values["OnOff"] = "on";
new_values["Option"] = "daily";
new_values["Daily/StartDate"] = GetDateBox(document.all.daily_start_date);
new_values["Daily/StartTime"] = GetTimeBox(document.all.daily_start_time);
new_values["Daily/Option"] = "1";
//new_values["Weekly/StartDate"] = new_values["Daily/StartDate"];
//new_values["Weekly/StartTime"] = new_values["Daily/StartTime"];
//new_values["Weekly/Monday"] = "false";
//new_values["Weekly/Tuesday"] = "false";
//new_values["Weekly/Wednesday"] = "false";
//new_values["Weekly/Thursday"] = "false";
//new_values["Weekly/Friday"] = "false";
//new_values["Weekly/Saturday"] = "false";
//new_values["Weekly/Sunday"] = "false";

if(!SetIndexingSchedule(new_values))
//  alert("Indexing Schedule will not be saved.\n");
  alert(/*IDS_E_INDEXING_NOT_SAVED*/"L'indexation programme ne sera pas enregistre.\n");

location = "index_wizard_step6.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">
   
  <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> <b><loc id="IDS_WIZ_STEP_STEP">Etape </loc>5<loc id="IDS_WIZ_STEP_OF"> sur </loc>6</b></td>
          </tr>
          <tr>
            <td height="18" colspan="2" align="left" valign="top" class="Textbox"><loc id="IDS_WIZ_STEP5_1">Slectionner la date et l'heure de dmarrage de l'indexation programme. L'indexation sera effectue automatiquement en tche de fond chaque jour  l'heure spcifi. Des options supplmentaires sont disponibles dans Sharpdesk.
</loc></td>
          </tr>
          <tr>
            <td colspan="2" align="left" valign="top" class="Textbox"><br><br/> 
		  <table width="100%" border="0" cellpadding="0" cellspacing="0" height="80%">
        <tr>
          <td class="Textbox">
		    <loc id="IDS_EDIT_START_DATE">Date de dmarrage:</loc><br/>
            <object id="daily_start_date" class="date_entry" classid="clsid:D58612F4-2E23-4810-852F-745FBAA95D7A">
			  <param name="DTFLAG" value="1"/>
			</object>
		  </td>
        </tr>
        <tr>
          <td class="Textbox">
		    <loc id="IDS_EDIT_START_TIME">Heure de dmarrage:</loc><br/>
            <object id="daily_start_time" class="time_entry" classid="clsid:D58612F4-2E23-4810-852F-745FBAA95D7A">
			  <param name="DTFLAG" value="2"/>
			</object>
		  </td>
        </tr>
      </table>
	</td>
          </tr>
          
        </table></td>
        </tr>
      <tr>
        <td height="48"  align="left" valign="bottom">&nbsp;</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; Prcdent" loc="value:id=IDS_BUTTON_BACK"/></td>
        <td width="27%" align="center" valign="bottom"><input type="button" class="button_style" name="next_button" value="Suivant &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="Annuler" 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>
