<!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/Date/title" /></title>
		<script src="Date.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, 2004 Macromedia, Inc. All rights reserved.

//--------------- LOCALIZEABLE GLOBALS---------------

ARR_FullMonths= new Array(dw.loadString('Commands/Date/ARR_FullMonths'),dw.loadString('Commands/Date/ARR_FullMonths_1'),dw.loadString('Commands/Date/ARR_FullMonths_2'),dw.loadString('Commands/Date/ARR_FullMonths_3'),dw.loadString('Commands/Date/ARR_FullMonths_4'),dw.loadString('Commands/Date/ARR_FullMonths_5'),dw.loadString('Commands/Date/ARR_FullMonths_6'),dw.loadString('Commands/Date/ARR_FullMonths_7'),dw.loadString('Commands/Date/ARR_FullMonths_8'),dw.loadString('Commands/Date/ARR_FullMonths_9'),dw.loadString('Commands/Date/ARR_FullMonths_10'),dw.loadString('Commands/Date/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/Date/ARR_AbbrMonths'),dw.loadString('Commands/Date/ARR_AbbrMonths_1'),dw.loadString('Commands/Date/ARR_AbbrMonths_2'),dw.loadString('Commands/Date/ARR_AbbrMonths_3'),dw.loadString('Commands/Date/ARR_AbbrMonths_4'),dw.loadString('Commands/Date/ARR_AbbrMonths_5'),dw.loadString('Commands/Date/ARR_AbbrMonths_6'),dw.loadString('Commands/Date/ARR_AbbrMonths_7'),dw.loadString('Commands/Date/ARR_AbbrMonths_8'),dw.loadString('Commands/Date/ARR_AbbrMonths_9'),dw.loadString('Commands/Date/ARR_AbbrMonths_10'),dw.loadString('Commands/Date/ARR_AbbrMonths_11'));


ARR_FullDays= new Array(dw.loadString('Commands/Date/ARR_FullDays'),dw.loadString('Commands/Date/ARR_FullDays_1'),dw.loadString('Commands/Date/ARR_FullDays_2'),dw.loadString('Commands/Date/ARR_FullDays_3'),dw.loadString('Commands/Date/ARR_FullDays_4'),dw.loadString('Commands/Date/ARR_FullDays_5'),dw.loadString('Commands/Date/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/Date/ARR_AbbrDays'),dw.loadString('Commands/Date/ARR_AbbrDays_1'),dw.loadString('Commands/Date/ARR_AbbrDays_2'),dw.loadString('Commands/Date/ARR_AbbrDays_3'),dw.loadString('Commands/Date/ARR_AbbrDays_4'),dw.loadString('Commands/Date/ARR_AbbrDays_5'),dw.loadString('Commands/Date/ARR_AbbrDays_6'));

//These arrays are added for Japanese version
ARR_WestAbbrDays= new Array(dw.loadString('Commands/Date/ARR_WestAbbrDays'),dw.loadString('Commands/Date/ARR_WestAbbrDays_1'),dw.loadString('Commands/Date/ARR_WestAbbrDays_2'),dw.loadString('Commands/Date/ARR_WestAbbrDays_3'),dw.loadString('Commands/Date/ARR_WestAbbrDays_4'),dw.loadString('Commands/Date/ARR_WestAbbrDays_5'),dw.loadString('Commands/Date/ARR_WestAbbrDays_6'));
ARR_WestFullDays= new Array(dw.loadString('Commands/Date/ARR_WestFullDays'),dw.loadString('Commands/Date/ARR_WestFullDays_1'),dw.loadString('Commands/Date/ARR_WestFullDays_2'),dw.loadString('Commands/Date/ARR_WestFullDays_3'),dw.loadString('Commands/Date/ARR_WestFullDays_4'),dw.loadString('Commands/Date/ARR_WestFullDays_5'),dw.loadString('Commands/Date/ARR_WestFullDays_6'));
ARR_WestAbbrMonths= new Array(dw.loadString('Commands/Date/ARR_WestAbbrMonths'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_1'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_2'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_3'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_4'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_5'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_6'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_7'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_8'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_9'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_10'),dw.loadString('Commands/Date/ARR_WestAbbrMonths_11'));
ARR_WestFullMonths= new Array(dw.loadString('Commands/Date/ARR_WestFullMonths'),dw.loadString('Commands/Date/ARR_WestFullMonths_1'),dw.loadString('Commands/Date/ARR_WestFullMonths_2'),dw.loadString('Commands/Date/ARR_WestFullMonths_3'),dw.loadString('Commands/Date/ARR_WestFullMonths_4'),dw.loadString('Commands/Date/ARR_WestFullMonths_5'),dw.loadString('Commands/Date/ARR_WestFullMonths_6'),dw.loadString('Commands/Date/ARR_WestFullMonths_7'),dw.loadString('Commands/Date/ARR_WestFullMonths_8'),dw.loadString('Commands/Date/ARR_WestFullMonths_9'),dw.loadString('Commands/Date/ARR_WestFullMonths_10'),dw.loadString('Commands/Date/ARR_WestFullMonths_11'));

var yearChinese = dw.loadString('Commands/Date/yearChinese');
var monthChinese = dw.loadString('Commands/Date/monthChinese');
var dayChinese = dw.loadString('Commands/Date/dayChinese');
var yearKorean= dw.loadString('Commands/Date/yearKorean');
var dayKorean= dw.loadString('Commands/Date/dayKorean');
var yearJapanese= dw.loadString('Commands/Date/yearJapanese');
var dayJapanese= dw.loadString('Commands/Date/dayJapanese');
var monthJapanese= dw.loadString('Commands/Date/monthJapanese');

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

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

var CHAR_PreDay = dw.loadString('Commands/Date/CHAR_PreDay');
var CHAR_PostDay = dw.loadString('Commands/Date/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(dw.loadString('Commands/Date/LIST_DateFormats_1'),
dw.loadString('Commands/Date/LIST_DateFormats_2'),
dw.loadString('Commands/Date/LIST_DateFormats_3'),
dw.loadString('Commands/Date/LIST_DateFormats_4'),
dw.loadString('Commands/Date/LIST_DateFormats_5'),
dw.loadString('Commands/Date/LIST_DateFormats_6'),
dw.loadString('Commands/Date/LIST_DateFormats_7'),
dw.loadString('Commands/Date/LIST_DateFormats_8'),
dw.loadString('Commands/Date/LIST_DateFormats_9'),
dw.loadString('Commands/Date/LIST_DateFormats_10'),
dw.loadString('Commands/Date/LIST_DateFormats_11'),
dw.loadString('Commands/Date/LIST_DateFormats_12'),
dw.loadString('Commands/Date/LIST_DateFormats_13')
);

//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(dw.loadString('Commands/Date/LIST_DayFormats_1'),
dw.loadString('Commands/Date/LIST_DayFormats_2'),
dw.loadString('Commands/Date/LIST_DayFormats_3'),
dw.loadString('Commands/Date/LIST_DayFormats_4'),
dw.loadString('Commands/Date/LIST_DayFormats_5'),
dw.loadString('Commands/Date/LIST_DayFormats_6'),
dw.loadString('Commands/Date/LIST_DayFormats_7')
);


//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>
		<link href="../fields.css" rel="stylesheet" type="text/css">
	</head>
	<body onload="initializeUI()">
		<form method="post" action="" name="">
			<table border="0">
				<tr>
					<td align="right" nowrap><MMString:loadString id="Commands/Date/text/Day" /></td>
					<td>
						<select name="DayFormats" class="formatList">
						</select>
					</td>
				</tr>
				<tr>
					<td align="right" valign="top" nowrap><MMString:loadString id="Commands/Date/text/Date" /></td>
					<td valign="baseline" nowrap>
						<select name="DateFormats" size="6" class="formatList">
						</select>
						<input type="hidden" name="DefaultSettings">
					</td>
				</tr>
				<tr>
					<td height="24" align="right" valign="baseline" nowrap><MMString:loadString id="Commands/Date/text/Time" /></td>
					<td height="24" valign="baseline" nowrap>
						<select name="TimeFormats" class="formatList">
						</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/Date/checkbox/Update/Update" /></mmtag></td>
				</tr>
			</table>
		</form>
	</body>
</html>
