
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2008 Adobe Systems Incorporated
*  All Rights Reserved.
*
* NOTICE:  All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any.  The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and may be covered by U.S. and Foreign Patents,
* patents in process, and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
*
* $DateTime: 2008/04/10 13:35:00 $
*
* Adobe Output Module 2.0
*
* MediaGallery Originally Written by Quality Process Incorporated, Enhanced by
* Adobe System China. Contact Sheet written by Adobe System China.
* 
*
**************************************************************************/

/**
  * Constant Class
  *
  *  @Date: 2008-1-7
*/
AOM.CSConstant = function() {};

AOM.CSConstant.initialization = function()
{


	//set scroll arrow dimension
	AOM.CS.VSCROLLER_WIDTH = 12;
	AOM.CS.VSCROLLER_HEIGHT  = 18;
	AOM.CS.HSCROLLER_WIDTH = 18;
	AOM.CS.HSCROLLER_HEIGHT = 12;
	AOM.CS.OPENCLOSEBTN_HEIGHT = 18;
	AOM.CS.SCROLLER_MINIMUMSIZE  = 8;
	
	//drawer type
	AOM.CSConstant.DRAWER_TYPE_CABINET = "Cabinet";
	AOM.CSConstant.DRAWER_TYPE_ACCORDION = "Accordion";
	AOM.CSConstant.DRAWER_NAME = "drawerType";
	
	//set color constant
	AOM.CSConstant.COLOR_CUSTOM = "Custom";
	AOM.CSConstant.COLOR_WHITE = "White";
	AOM.CSConstant.COLOR_BLACK = "Black";
	AOM.CSConstant.COLOR_GRAY = "Gray";
	
	AOM.CSConstant.UNIT_INCHES = "inches";
	AOM.CSConstant.UNIT_CENTIMETERS = "centimeters";
	AOM.CSConstant.UNIT_PIXELS = "pixels";
	AOM.CSConstant.UNIT_PIXELS_TEXT = AOM.localize("$$$/ContactSheet/javascript/dropdownlist/pixels=pixels");
	AOM.CSConstant.UNIT_INCHES_TEXT = AOM.localize("$$$/ContactSheet/javascript/dropdownlist/inches=inches");
	AOM.CSConstant.UNIT_CENTIMETERS_TEXT = AOM.localize("$$$/ContactSheet/javascript/dropdownlist/centimeters=cm");
	
	AOM.CSConstant.UNIT_PIXELS_ABBR = AOM.localize("$$$/ContactSheet/javascript/abbreviation/pixels=px");
	AOM.CSConstant.UNIT_INCHES_ABBR = AOM.localize("$$$/ContactSheet/javascript/abbreviation/inches=in");
	AOM.CSConstant.UNIT_CENTIMETERS_ABBR = AOM.localize("$$$/ContactSheet/javascript/abbreviation/centimeters=cm");
	
	AOM.CSConstant.UNIT_CM_PER_INCH = 2.54;
	AOM.CSConstant.UNIT_PIXEL_PER_INCH = 72;
	AOM.CSConstant.UNIT_INCH_PER_CM = 1 / 2.54;
	//AOM.CSConstant.UNIT_INCH_PER_PIXEL = 1 / 72;
	//AOM.CSConstant.UNIT_CM_PER_PIXEL = 2.54 / 72;
	//AOM.CSConstant.UNIT_PIXEL_PER_CM = 72 / 2.54;
	
	AOM.CSConstant.CUSTOM = "Custom";
	
	AOM.CSConstant.PAGE_US_PAPER = "USPaper";
	AOM.CSConstant.PAGE_INTERNATIONAL_PAPER = "InternationalPaper";
	AOM.CSConstant.PAGE_PHOTO = "Photo";
	AOM.CSConstant.PAGE_WEB = "Web";
	
	
	//set check page layout status
	AOM.CSConstant.LAYOUT_ROW_OVERSIZE = -1;
	AOM.CSConstant.LAYOUT_COL_OVERSIZE = -2;
	
	// set validation error code of PDF generation
	AOM.CSConstant.LAYOUT_OK = 1;
	AOM.CSConstant.LAYOUT_DO_NOTHING = 0;
	AOM.CSConstant.HEADERFOOTER_ERROR = -1;
	AOM.CSConstant.LAYOUT_WIDTH_ERROR = -2;
	AOM.CSConstant.LAYOUT_HEIGHT_ERROR = -3;
	AOM.CSConstant.SELECT_NONE = -4;
	AOM.CSConstant.NEED_DOCPASS = -5;
	AOM.CSConstant.NEED_OWNERPASS = -6;
	AOM.CSConstant.PASSWD_IDENTICAL = -7;
	AOM.CSConstant.WATERMARK_IMAGE_NOT_EXIST = -8;
	AOM.CSConstant.WATERMARK_IMAGE_UNSUPPORT = -9;
	
	
	AOM.CSConstant.SPEED_FAST = "Fast";
	AOM.CSConstant.SPEED_MEDIUM = "Medium";
	AOM.CSConstant.SPEED_SLOW = "Slow";
	AOM.CSConstant.SPEED_FAST_VALUE = 1/3;
	AOM.CSConstant.SPEED_MEDIUM_VALUE = 0.666656;
	AOM.CSConstant.SPEED_SLOW_VALUE = 1;
	
	AOM.CSConstant.WMLAYER_BACK = "Background";
	AOM.CSConstant.WMLAYER_FORE = "Foreground";
	
	AOM.CSConstant.PAGENUMBER_LOCATION_FOOTER = "Footer";
	AOM.CSConstant.PAGENUMBER_LOCATION_HEADER = "Header";
	AOM.CSConstant.PAGENUMBER_LOCATION_NONE = "None";
	
	
	//set dropdownlist default items. 
	AOM.CSConstant.dropDownListDefaultItems = {
		template:
			[
				{value:"TwoUpGreetingCard",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/twoUpGreetingCard=2-UP Greeting Card")},
				{value:"TwoCells",				text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/TowCells=2*2 Cells")},  
				{value:"FourContactSheet",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/fourContactSheet=4*5 Contact Sheet")},
				{value:"FiveContactSheet",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/fiveContactSheet=5*8 Contact Sheet")},
				{value:"FineArtMart",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/fineArtMat=Fine Art Mat")},
				{value:"MaximizeSize",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/maximizeSize=Maximize Size")},
				{value:"Triptych",				text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/triptych=Triptych")},
				{value:AOM.CSConstant.CUSTOM,	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/templateCustom=Custom")},
			],
		pdfPreset:
			[
				{value: "300", text: "300 ppi"},
				{value: "150", text: "150 ppi"},
				{value: "96", text: "96 ppi"},
				{value: "72", text: "72 ppi"},
				{value: "0", text: AOM.localize("$$$/ContactSheet/javascript/dropdownlist/fullResolution=Full")}
			],
		pagePreset:  //parent
			[
				{value:"USPaper",				text: AOM.localize("$$$/ContactSheet/javascript/dropdownlist/usPaper=U.S. Paper")} ,              
				{value:"InternationalPaper",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/internationalPaper=International Paper")}, 
				{value:"Photo",					text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/photo=Photo")},
				{value:"Web",					text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/web=Web")},
				{value:"Custom",				text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/pageCustom=Custom")},
			],
		pageSize:
			{
				"USPaper":
					[
						{value:"Letter",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/letter=Letter")},   
						{value:"Legal",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/legal=Legal")},  
						{value:"Tabloid",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/tabloid=Tabloid")}, 
					],
				"InternationalPaper":
					[
						{value:"A6",	text:"A6"},    
						{value:"A5",	text:"A5"}, 
						{value:"A4",	text:"A4"}, 
						{value:"A3",	text:"A3"}, 
						{value:"-",		text:"-"}, 
						{value:"B5",	text:"B5"}, 
						{value:"B4",	text:"B4"},
						{value:"B3",	text:"B3"}, 
						{value:"-",		text:"-"}, 
						{value:"C6",	text:"C6"}, 
						{value:"C5",	text:"C5"}, 
						{value:"C4",	text:"C4"}, 
						{value:"DL",	text:"DL"},
					],
				"InternationalPaper_lang_Japanese":
					[
						{value:"A6",		text:"A6"},    
						{value:"A5",		text:"A5"}, 
						{value:"A4",		text:"A4"}, 
						{value:"A3",		text:"A3"}, 
						{value:"-",			text:"-"}, 
						{value:"B5",		text:"B5"}, 
						{value:"B5JIS",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/b5jis=B5(JIS)")}, 
						{value:"B4",		text:"B4"},
						{value:"B4JIS",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/b4jis=B4(JIS)")},
						{value:"B3",		text:"B3"}, 
						{value:"B3JIS",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/b3jis=B3(JIS)")},
						{value:"-",			text:"-"}, 
						{value:"C6",		text:"C6"}, 
						{value:"C5",		text:"C5"}, 
						{value:"C4",		text:"C4"}, 
						{value:"DL",		text:"DL"},
						{value:"-",			text:"-"}, 
						{value:"PostCard",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/japanesePostCard=Japanese Post Card")},
					],	
				"Photo":
					[
						{value:"Landscape23",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/landscape23=Landscape, 2 x 3")},
						{value:"Landscape46",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/landscape46=Landscape, 4 x 6")},
						{value:"Landscape57",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/landscape57=Landscape, 5 x 7")},
						{value:"Landscape810",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/landscape810=Landscape, 8 x 10")},
						{value:"-",				text:"-"},
						{value:"Portrait23",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/portrait23=Portrait, 2 x 3")},
						{value:"Portrait46",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/portrait46=Portrait, 4 x 6")},
						{value:"Portrait57",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/portrait57=Portrait, 5 x 7")},
						{value:"Portrait810",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/portrait810=Portrait, 8 x 10")},
					],
				"Photo_lang_Japanese":
					[
						{value:"LPortrait",				text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/lportrait=L,Portrait")}, 
						{value:"TwoLPortrait",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/2lportrait=2L,Portrait")}, 
						{value:"SixSlicePortrait",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/sixSlicePortrait=Six Slice,Protrait")}, 
						{value:"FourSlicePortrait",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/fourSlicePortrait=Four Slice, Portrait")}, 
						{value:"-",						text:"-"}, 
						{value:"LLandscape",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/llandscape=L,Landscape")}, 
						{value:"TwoLLandscape",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/2llandscape=2L,Landscape")}, 
						{value:"SixSliceLandscape",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/sixSliceLandscape=Six Slice,Landscape")}, 
						{value:"FourSliceLandscape",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/fourSliceLandscape=Four Slice,Landscape")}, 
						{value:"-", 					text:"-"}, 
						{value:"Landscape23",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/landscape23=Landscape, 2 x 3")},
						{value:"Landscape46",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/landscape46=Landscape, 4 x 6")},
						{value:"Landscape57",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/landscape57=Landscape, 5 x 7")},
						{value:"Landscape810",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/landscape810=Landscape, 8 x 10")},
						{value:"-",						text:"-"},
						{value:"Portrait23",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/portrait23=Portrait, 2 x 3")},
						{value:"Portrait46",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/portrait46=Portrait, 4 x 6")},
						{value:"Portrait57",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/portrait57=Portrait, 5 x 7")},
						{value:"Portrait810",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/portrait810=Portrait, 8 x 10")},
					],
				"Web":
					[
						{value:"P640",	text:"640 x 480"},
						{value:"P800",	text:"800 x 600"},
						{value:"P1024",	text:"1024 x 768"},
						{value:"P1152",	text:"1152 x 864"},
						{value:"P1280",	text:"1280 x 1024"},
						{value:"P1600",	text:"1600 x 1200"}, 
					],
				"Web_lang_Japanese":
					[
						{value:"P640",				text:"640 x 480"},
						{value:"P800",				text:"800 x 600"},
						{value:"P1024",				text:"1024 x 768"},
						{value:"P1152",				text:"1152 x 864"},
						{value:"P1280",				text:"1280 x 1024"},
						{value:"P1600",				text:"1600 x 1200"},
						{value:"-",					text:"-"}, 
						{value:"StandardRectangle",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/standardRectangle=Standard Rectangle,300 x 250")},
						{value:"Rectangle",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rectangle=Rectangle,180 x 50")},
						{value:"Leaderboard",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leaderboard=Leaderboard,728 x 90")},
						{value:"WideSkyscraper",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/widSkyscraper=Wide Skyscraper,160 x 600")},
					],
				"Custom":
					[
						{value:"Custom",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/custom=Custom")},
					],
			},
		pageUnit:  //parent
			[
				{value:AOM.CSConstant.UNIT_PIXELS,		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/pixels=pixels")},
				{value:AOM.CSConstant.UNIT_INCHES,		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/inches=inches")},    
				{value:AOM.CSConstant.UNIT_CENTIMETERS,	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/centimeters=cm")},
			],
		imagePlacement:
			[
				{value:"row",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/acrossFirst=Across First (By Row)")},    
				{value:"column",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/downFirst=Down First (By Column)")}, 
			],
		pageNumberLocation:
			[
				{value:AOM.CSConstant.PAGENUMBER_LOCATION_NONE, text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/none=None")},
				{value:AOM.CSConstant.PAGENUMBER_LOCATION_HEADER, text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/pnLocationHeader=Placed on Header")},
				{value:AOM.CSConstant.PAGENUMBER_LOCATION_FOOTER, text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/pnLocationFooter=Placed on Footer")},
			],
		pageNumberAlignment:
			[
				{value:0,			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/hfAlignmentLeft=Left")},      
				{value:2,			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/hfAlignmentRight=Right")},  
				{value:1,			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/hfAlignmentCenter=Center")},
			],
		headerAlignment:
			[
				{value:0,			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/hfAlignmentLeft=Left")},      
				{value:2,			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/hfAlignmentRight=Right")},  
				{value:1,			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/hfAlignmentCenter=Center")},
			],
		footerAlignment:
			[
				{value:0,			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/hfAlignmentLeft=Left")},      
				{value:2,			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/hfAlignmentRight=Right")},  
				{value:1,			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/hfAlignmentCenter=Center")},
			],
		headerDLWidth:
			[
				{value:"None",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/none=None")},
				{value:1,			text:"1"}, 
				{value:2,			text:"2"},
				{value:3,			text:"3"},
				{value:4,			text:"4"},
				{value:5,			text:"5"},
			],
		footerDLWidth:
			[
				{value:"None",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/none=None")},
				{value:1,			text:"1"}, 
				{value:2,			text:"2"},
				{value:3,			text:"3"},
				{value:4,			text:"4"},
				{value:5,			text:"5"},
			],
		transition:
			[    
				{value:"None",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/none=None")},
				{value:"Blinds",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/blinds=Blinds")},
				{value:"Box",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/box=Box")},
				{value:"Comb",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/comb=Comb")},
				{value:"Cover",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/cover=Cover")},
				{value:"Dissolve",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/dissolve=Dissolve")},
				{value:"Fade",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/fade=Fade")},
				{value:"Glitter",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/glitter=Glitter")},
				{value:"Push",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/push=Push")},
				{value:"Random",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/transitionRandom=Random")},
				{value:"Split",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/split=Split")},
				{value:"Uncover",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/uncover=Uncover")},
				{value:"Wipe",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/wipe=Wipe")},
				{value:"ZoomIn",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/zoomin=Zoom In")},
				{value:"ZoomOut",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/zoomout=Zoom Out")},
			],
		direction:
			{
				"None" :
					[
					],
				"Blinds" :
					[
						{value:"Horizontal",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/horizontal=Horizontal")},
						{value:"Vertical",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/vertical=Vertical")},
					],
				"Box":
					[
						{value:"In",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/in=In")},
						{value:"Out",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/out=Out")},
					],
				"Comb" :
					[
						{value:"Horizontal",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/horizontal=Horizontal")},
						{value:"Vertical",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/vertical=Vertical")},
					],
				"Cover" :
					[	
						{value:"Down",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/down=Down")},
						{value:"Left",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/left=Left")},
						{value:"LeftDown",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftdown=Left Down")},
						{value:"LeftUp",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftup=Left Up")},
						{value:"Right",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/right=Right")},
						{value:"RightDown",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightdown=Right Down")},
						{value:"RightUp",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightup=Right Up")},
						{value:"Up",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/up=Up")},
					],
				"Dissolve" :
					[
					],
				"Fade" :
					[
					],
				"Glitter" :
					[
						{value:"Down",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/down=Down")},
						{value:"Right",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/right=Right")},
						{value:"RightDown",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightdown=Right Down")},
					],
				"Push" :
					[
						{value:"Down",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/down=Down")},
						{value:"Left",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/left=Left")},
						{value:"LeftDown",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftdown=Left Down")},
						{value:"LeftUp",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftup=Left Up")},
						{value:"Right",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/right=Right")},
						{value:"RightDown",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightdown=Right Down")},
						{value:"RightUp",	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightup=Right Up")},
						{value:"Up",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/up=Up")},
					],
				"Random" :
					[
					],
				"Split" :
					[
						{value:"HorizontalIn", 	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/horizontalIn=Horizontal In")},
						{value:"HorizontalOut", text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/horizontalOut=Horizontal Out")},
						{value:"VerticalIn", 	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/verticalIn=Vertical In")},
						{value:"VerticalOut", 	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/verticalOut=Vertical Out")},
					],
				"Uncover" :
					[	
						{value:"Down",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/down=Down")},
						{value:"Left",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/left=Left")},
						{value:"LeftDown",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftdown=Left Down")},
						{value:"LeftUp",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftup=Left Up")},
						{value:"Right",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/right=Right")},
						{value:"RightDown",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightdown=Right Down")},
						{value:"RightUp",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightup=Right Up")},
						{value:"Up",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/up=Up")},
					],
				"Wipe" :
					[
						{value:"Down",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/down=Down")},
						{value:"Left",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/left=Left")},
						{value:"LeftDown",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftdown=Left Down")},
						{value:"LeftUp",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftup=Left Up")},
						{value:"Right",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/right=Right")},
						{value:"RightDown",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightdown=Right Down")},
						{value:"RightUp",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightup=Right Up")},
						{value:"Up",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/up=Up")},
					],
				"ZoomIn" :
					[
						{value:"Down",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/down=Down")},
						{value:"Left",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/left=Left")},
						{value:"LeftDown",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftdown=Left Down")},
						{value:"LeftUp",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftup=Left Up")},
						{value:"Right",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/right=Right")},
						{value:"RightDown",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightdown=Right Down")},
						{value:"RightUp",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightup=Right Up")},
						{value:"Up",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/up=Up")},
					],
				"ZoomOut" :
					[
						{value:"Down",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/down=Down")},
						{value:"Left",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/left=Left")},
						{value:"LeftDown",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftdown=Left Down")},
						{value:"LeftUp",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/leftup=Left Up")},
						{value:"Right",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/right=Right")},
						{value:"RightDown",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightdown=Right Down")},
						{value:"RightUp",		text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/rightup=Right Up")},
						{value:"Up",			text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/up=Up")},
					],
			},
		speed:
			[
				{value:AOM.CSConstant.SPEED_FAST,	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/speedFast=Fast")},
				{value:AOM.CSConstant.SPEED_MEDIUM,	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/speedMiddle=Medium")},
				{value:AOM.CSConstant.SPEED_SLOW,	text:AOM.localize("$$$/ContactSheet/javascript/dropdownlist/speedSmall=Slow")},
			],			
		wmLayer:
			[
				{value: AOM.CSConstant.WMLAYER_FORE, text: AOM.localize("$$$/ContactSheet/javascript/dropdownlist/foreground=Foreground")},
				{value: AOM.CSConstant.WMLAYER_BACK, text: AOM.localize("$$$/ContactSheet/javascript/dropdownlist/background=Background")},
			],
	};
	
	
	
	AOM.CSConstant.pageSizeMap = 
	{
		Letter:				{"width": 612, "height": 792, "unit": AOM.CSConstant.UNIT_INCHES},   
		Legal:				{"width": 612, "height": 1008, "unit": AOM.CSConstant.UNIT_INCHES},   
		Tabloid:			{"width": 792, "height": 1224, "unit": AOM.CSConstant.UNIT_INCHES},   
		A6:					{"width": 297.637795275591, "height": 419.527559055118, "unit": AOM.CSConstant.UNIT_CENTIMETERS},   
		A5:					{"width": 419.527559055118, "height": 595.275590551181, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		A4:					{"width": 595.275590551181, "height": 841.889763779528, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		A3:					{"width": 841.889763779528, "height": 1190.55118110236, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		B5:					{"width": 498.897637795276, "height": 708.661417322835, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		B4:					{"width": 708.661417322835, "height": 1000.62992125984, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		B3:					{"width": 1000.62992125984, "height": 1417.32283464567, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		C6:					{"width": 323.149606299213, "height": 459.212598425197, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		C5:					{"width": 459.212598425197, "height": 649.133858267717, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		C4:					{"width": 649.133858267717, "height": 918.425196850394, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		DL:					{"width": 311.811023622047, "height": 623.622047244095, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		B5JIS:				{"width": 515.905511811024, "height": 728.503937007874, "unit": AOM.CSConstant.UNIT_CENTIMETERS},  
		B4JIS:				{"width": 728.503937007874, "height": 1031.81102362205, "unit": AOM.CSConstant.UNIT_CENTIMETERS}, 
		B3JIS:				{"width": 1031.81102362205, "height": 1459.84251968504, "unit": AOM.CSConstant.UNIT_CENTIMETERS}, 
		PostCard:			{"width": 283.464566929134, "height": 419.527559055118, "unit": AOM.CSConstant.UNIT_CENTIMETERS}, 
		Landscape23:		{"width": 216, "height": 144, "unit": AOM.CSConstant.UNIT_INCHES},  
		Landscape46:		{"width": 432, "height": 288, "unit": AOM.CSConstant.UNIT_INCHES}, 
		Landscape57:		{"width": 504, "height": 360, "unit": AOM.CSConstant.UNIT_INCHES},   
		Landscape810:		{"width": 720, "height": 576, "unit": AOM.CSConstant.UNIT_INCHES},   
		Portrait23:			{"width": 144, "height": 216, "unit": AOM.CSConstant.UNIT_INCHES},   
		Portrait46:			{"width": 288, "height": 432, "unit": AOM.CSConstant.UNIT_INCHES},   
		Portrait57:			{"width": 360, "height": 504, "unit": AOM.CSConstant.UNIT_INCHES},   
		Portrait810:		{"width": 576, "height": 720, "unit": AOM.CSConstant.UNIT_INCHES},
		LPortrait:			{"width": 252.283464566929, "height": 360, "unit": AOM.CSConstant.UNIT_CENTIMETERS},
		TwoLPortrait:		{"width": 360, "height": 504.566929133858, "unit": AOM.CSConstant.UNIT_CENTIMETERS},
		SixSlicePortrait:	{"width": 575.433070866142, "height": 720, "unit": AOM.CSConstant.UNIT_CENTIMETERS},
		FourSlicePortrait:	{"width": 720, "height": 864.566929133858, "unit": AOM.CSConstant.UNIT_CENTIMETERS},
		LLandscape:			{"width": 360, "height": 252.283464566929, "unit": AOM.CSConstant.UNIT_CENTIMETERS},
		TwoLLandscape:		{"width": 504.566929133858, "height": 360, "unit": AOM.CSConstant.UNIT_CENTIMETERS},
		SixSliceLandscape:	{"width": 720, "height": 575.433070866142, "unit": AOM.CSConstant.UNIT_CENTIMETERS},
		FourSliceLandscape:	{"width": 864.566929133858, "height": 720, "unit": AOM.CSConstant.UNIT_CENTIMETERS},	
		P640:				{"width": 640, "height": 480, "unit": AOM.CSConstant.UNIT_PIXELS},   
		P800:				{"width": 800, "height": 600, "unit": AOM.CSConstant.UNIT_PIXELS},  
		P1024:				{"width": 1024, "height": 768, "unit": AOM.CSConstant.UNIT_PIXELS},  
		P1152:				{"width": 1152, "height": 864, "unit": AOM.CSConstant.UNIT_PIXELS}, 
		P1280:				{"width": 1280, "height": 1024, "unit": AOM.CSConstant.UNIT_PIXELS},   
		P1600:				{"width": 1600, "height": 1200, "unit": AOM.CSConstant.UNIT_PIXELS},  
		StandardRectangle:	{"width": 300, "height": 250, "unit": AOM.CSConstant.UNIT_PIXELS},  
		Rectangle:			{"width": 180, "height": 50, "unit": AOM.CSConstant.UNIT_PIXELS},  
		Leaderboard:		{"width": 728, "height": 90, "unit": AOM.CSConstant.UNIT_PIXELS},
		WideSkyscraper:		{"width": 160, "height": 600, "unit": AOM.CSConstant.UNIT_PIXELS},  
	};

	AOM.CSConstant.PAGE_QUALITY_MAP = 
	{
		USPaper: "300", 
		InternationalPaper: "300", 
		Photo: "300", 
		Web: "72",
	};
}
