<!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
<!-- MENU-LOCATION=NONE -->
<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<head>
<title><MMString:loadString id="Commands/ccDate/title" /></title>
<script src="ccDate.js"></script>
<SCRIPT LANGUAGE="javascript" SRC="../Shared/MM/Scripts/CMN/UI.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript" SRC="../Shared/MM/Scripts/CMN/dateID.js"></SCRIPT>
<!-- Remove the following SCRIPT tag if you are modifying this file for your own use. -->
<SCRIPT SRC="../Shared/MM/Scripts/CMN/displayHelp.js"></SCRIPT>
<!-- End removal area. -->
<script>

// Copyright 2000, 2001, 2002, 2003 Macromedia, Inc. All rights reserved.

//--------------- LOCALIZEABLE GLOBALS---------------
var yearChinese = dw.loadString('Commands/ccDate/yearChinese');
var yearJapanese= dw.loadString('Commands/ccDate/yearJapanese');
var yearKorean= dw.loadString('Commands/ccDate/yearKorean');
var monthChinese = dw.loadString('Commands/ccDate/monthChinese');
var monthJapanese= dw.loadString('Commands/ccDate/monthJapanese');
var dayChinese = dw.loadString('Commands/ccDate/dayChinese');
var dayJapanese= dw.loadString('Commands/ccDate/dayJapanese');
var dayKorean= dw.loadString('Commands/ccDate/dayKorean');

ARR_FullMonths= new Array(dw.loadString('Commands/ccDate/ARR_FullMonths'),dw.loadString('Commands/ccDate/ARR_FullMonths_1'),dw.loadString('Commands/ccDate/ARR_FullMonths_2'),dw.loadString('Commands/ccDate/ARR_FullMonths_3'),dw.loadString('Commands/ccDate/ARR_FullMonths_4'),dw.loadString('Commands/ccDate/ARR_FullMonths_5'),dw.loadString('Commands/ccDate/ARR_FullMonths_6'),dw.loadString('Commands/ccDate/ARR_FullMonths_7'),dw.loadString('Commands/ccDate/ARR_FullMonths_8'),dw.loadString('Commands/ccDate/ARR_FullMonths_9'),dw.loadString('Commands/ccDate/ARR_FullMonths_10'),dw.loadString('Commands/ccDate/ARR_FullMonths_11'));




//if the language does not use abbreviated months, this array does
//not need to be localized. If not localized, see initGlobals()
//in Date.js for instructions on deleting formats that use
//abbreviated months
ARR_AbbrMonths= new Array(dw.loadString('Commands/ccDate/ARR_AbbrMonths'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_1'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_2'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_3'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_4'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_5'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_6'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_7'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_8'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_9'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_10'),dw.loadString('Commands/ccDate/ARR_AbbrMonths_11'));


ARR_FullDays= new Array(dw.loadString('Commands/ccDate/ARR_FullDays'),dw.loadString('Commands/ccDate/ARR_FullDays_1'),dw.loadString('Commands/ccDate/ARR_FullDays_2'),dw.loadString('Commands/ccDate/ARR_FullDays_3'),dw.loadString('Commands/ccDate/ARR_FullDays_4'),dw.loadString('Commands/ccDate/ARR_FullDays_5'),dw.loadString('Commands/ccDate/ARR_FullDays_6'));


//This array does not need to be translated if the language does not
//have the concept of abbreviated days.
ARR_AbbrDays= new Array(dw.loadString('Commands/ccDate/ARR_AbbrDays'),dw.loadString('Commands/ccDate/ARR_AbbrDays_1'),dw.loadString('Commands/ccDate/ARR_AbbrDays_2'),dw.loadString('Commands/ccDate/ARR_AbbrDays_3'),dw.loadString('Commands/ccDate/ARR_AbbrDays_4'),dw.loadString('Commands/ccDate/ARR_AbbrDays_5'),dw.loadString('Commands/ccDate/ARR_AbbrDays_6'));

//These arrays are added for Japanese version
ARR_WestAbbrDays= new Array(dw.loadString('Commands/ccDate/ARR_WestAbbrDays'),dw.loadString('Commands/ccDate/ARR_WestAbbrDays_1'),dw.loadString('Commands/ccDate/ARR_WestAbbrDays_2'),dw.loadString('Commands/ccDate/ARR_WestAbbrDays_3'),dw.loadString('Commands/ccDate/ARR_WestAbbrDays_4'),dw.loadString('Commands/ccDate/ARR_WestAbbrDays_5'),dw.loadString('Commands/ccDate/ARR_WestAbbrDays_6'));
ARR_WestFullDays= new Array(dw.loadString('Commands/ccDate/ARR_WestFullDays'),dw.loadString('Commands/ccDate/ARR_WestFullDays_1'),dw.loadString('Commands/ccDate/ARR_WestFullDays_2'),dw.loadString('Commands/ccDate/ARR_WestFullDays_3'),dw.loadString('Commands/ccDate/ARR_WestFullDays_4'),dw.loadString('Commands/ccDate/ARR_WestFullDays_5'),dw.loadString('Commands/ccDate/ARR_WestFullDays_6'));

ARR_WestAbbrMonths= new Array(dw.loadString('Commands/ccDate/ARR_WestAbbrMonths'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_1'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_2'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_3'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_4'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_5'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_6'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_7'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_8'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_9'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_10'),dw.loadString('Commands/ccDate/ARR_WestAbbrMonths_11'));

ARR_WestFullMonths= new Array(dw.loadString('Commands/ccDate/ARR_WestFullMonths'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_1'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_2'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_3'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_4'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_5'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_6'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_7'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_8'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_9'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_10'),dw.loadString('Commands/ccDate/ARR_WestFullMonths_11'));



var westSeparator= dw.loadString('Commands/ccDate/westSeparator');

var AM = dw.loadString('Commands/ccDate/AM');
var PM = dw.loadString('Commands/ccDate/PM');
var OPTION_NoDay  = dw.loadString('Commands/ccDate/OPTION_NoDay');
var OPTION_NoTime = dw.loadString('Commands/ccDate/OPTION_NoTime');

var CHAR_PreDay = "";
var CHAR_PostDay = dw.loadString('Commands/ccDate/CHAR_PostDay');

//This extension requires special localization work to adjust the order and/or conent
//of the day,date, and time drop-down menus.
//---------------------------------------------------------------------------------
//The LIST_DateFormats array controls the order the date formats are shown in the UI
//and the initially selected format.
///
//1.Re-arrange the localized language to be the first item in the list.
//(The first item is selected by default when the dialog loads.)
//
//2.Place any other formats that will be commonly used by that locale
//as the second, third, fourth items, etc.
//If the locale uses day-month-year instead of month-day-year,
//move the month-day-year formats lower on the list
//
//3.Delete any formats that should not be shown. For instance,
//the British1 format uses an abbreviated month. If this locale never
//abbreviates its months (and therefore Arr_Abbr_Months cannot be translated),
//delete the Engish1 format.

var	LIST_DateFormats = new Array("American1",
"English2",
"English1",
"American3",
"American2",
"ISO8601",
"Spanish1",
"French1",
"German1",
"Brazilian1",
"Italian1",
"Swedish1",
"Japanese1",
"Euroasian1"
);

//Date Formating Examples:
//American1       March 7, 1974
//English1        7-mar-74
//English2        07-Mar-1974
//American2       3/7/74
//American3       03/07/1974
//ISO8601         1974-03-07
//Spanish1        7/3/74 //also a common English format
//French1         7/03/74
//Brazilian1      07.03.74
//German1         07.03.1974
//Italian1        7-03-1974
//Swedish1        7 march, 1974
//Japanese1       74/03/07
//Euroasian1      7 march 1974

//--------------------------------
//--------------------------------

//The LIST_DayFormats array controls the order the day formats are shown in the UI
//and the initially selected format. Repeat the same instructions as above - that is,
//re-arrange or delete the items according to the localized language

//For instance, if a language does not have the concept of abbreviated days, then
//delete or comment out all of the abbreviated formats. If a language does not ever
//use the "," as a separator, then delete or comment out all of the comma formats.

var	LIST_DayFormats = new Array("NoDay",
"FullDayComma",
"FullDay",
"AbbrDayComma",
"AbbrDay",
"LowAbbrDayComma",
"LowAbbrDay"
);


//Day Formatting Examples:
//NoDay           [No Day]
//FullDayComma     Monday,
//FullDay          Monday
//AbbrDayComma1    Mon,
//AbbrDay1         Mon
//AbbrDayComma2    mon,
//AbbrDay2         mon

//-------------------------------

//The LIST_TimeFormats array controls the order of the time formats.
//For countries that use military time, consider switching the
//second and third items.


var	LIST_TimeFormats = new Array("NoTime",
"AMPMTime",
"MilitaryTime"
);


//--------------- END LOCALIZEABLE   ---------------
</script>
</head>
<body onload="initializeUI()">
<form method="post" action="" name="">
  <table border="0">
    <tr>
      <td align="right" nowrap><MMString:loadString id="Commands/ccDate/text/Day" /></td>
      <td>
        <select name="DayFormats" style="width:150">
        </select>
      </td>
    </tr>
    <tr>
      <td align="right" valign="top" height="5"></td>
      <td valign="baseline" nowrap rowspan="2">
        <select name="DateFormats" size="6" style="width:150">
        </select>
        <input type="hidden" name="DefaultSettings">
      </td>
    </tr>
    <tr>
      <td align="right" valign="top" nowrap><MMString:loadString id="Commands/ccDate/text/Date" /></td>
    </tr>
    <tr>
      <td align="right" valign="baseline" nowrap></td>
      <td height="5" valign="baseline" nowrap></td>
    </tr>
    <tr>
      <td height="24" align="right" valign="baseline" nowrap><MMString:loadString id="Commands/ccDate/text/Time" /></td>
      <td height="24" valign="baseline" nowrap>
        <select name="TimeFormats" style="width:150">
        </select>
      </td>
    </tr>
    <tr>
      <td align="right" valign="baseline" nowrap>&nbsp;</td>
      <td valign="baseline" nowrap>
        <mmtag><input type="checkbox" name="Update" value="checkbox">
        <MMString:loadString id="Commands/ccDate/checkbox/Update/Update" />&nbsp;</mmtag></td>
    </tr>
  </table>
</form>
</body>
</html>
