﻿<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   printPrompt.box

****************************************************************************
   C O P Y R I G H T   A N D   C O N F I D E N T I A L I T Y   N O T I C E
****************************************************************************

      Copyright (c) 2004-2005 America Online, Inc.  All rights reserved.
      This software contains valuable confidential and proprietary
      information of America Online, Inc. and is subject to applicable
      licensing agreements.  Unauthorized reproduction, transmission or
      distribution of this file and its contents is a violation of
      applicable laws.

            A M E R I C A   O N L I N E   C O N F I D E N T I A L

****************************************************************************
-->




<!DOCTYPE window SYSTEM "box://addressBookApp/resources/dialogs.dtd">

<?import href="box://boxelyToolkit/theme/toolkit.box"?>
<?import href="box://boxelyToolkit/content/gadgets.box"?>
<aolDialog xmlns="http://www.aol.com/boxely/box.xsd"
        xmlns:s="http://www.aol.com/boxely/style.xsd"
        xmlns:on="http://www.aol.com/boxely/reaction.xsd"
        id="ABPrintOptionsDialog" title="&printPrompt.title;"
        icon="#bmp.aBookIcon"
        translucent="false" chromeless="true"
        s:height="auto" s:width="400"
        on:initialized="selContacts();">


<script language="jscript" href="box://frontierApp/content/streamliner/sheetUtil.js" />
<reaction event="initialized" action="try { onSheetConstructed(); } catch (err) {}"/>

	<script id="main" language="jscript" href="box://addressBookApp/content/dialogs/printPrompt.js"/>
	<script id="slContainerUtils" language="jscript" href="box://addressBookApp/content/slContainerUtils.js"/>
	<reaction event="keyPress" keyCode="ESCAPE" action="scene.close();"/>
	<reaction event="constructed" action="onConstructed();"/>
	<reaction event="keyDown" keyCode="ENTER" action="toolkit:AcceptDialog"/>

	<vbox s:vAlign="start">
		<vbox s:vAlign="center" s:hAlign="start" s:padding="5">
			<hbox>
				<aolLabel s:marginLeft="16" value="&printPrompt.Print;"/>
				<spacer s:width="8"/>
				<aolComboBox id="allOrSelected" s:width="140" tooltip="&printPromp.printAllTip;" hoverHoldDelay="3000">
					<aolMenuItem label="&printPrompt.allcontacts;" value="1" on:command="allContacts();"/>
					<aolMenuItem label="&printPrompt.selectedcontacts;" value="0" selected="true" on:command="selContacts();"/>
 				</aolComboBox>
			</hbox>
		</vbox>
		
		<vbox s:vAlign="center" s:hAlign="start" s:padding="5">
			<hbox>
				<vbox>
					<aolLabel value="&printPrompt.Format;"/>
	            </vbox>
				<vbox>
					<radioBox id="ABPrintFormat" value="&printPrompt.complete;" on:select="" s:flex="1">
						<vbox s:hAlign="left">
							<aolRadioButton value="1" selected="true" s:vAlign="top" accNameAt="complete">
								<aolLabel id="complete" value="" s:paddingTop="0" s:marginTop="0"/>
							</aolRadioButton>
        					<aolRadioButton value="2" s:vAlign="top" accNameAt="summary">
        						<aolLabel id="summary"  value="" s:paddingTop="0" s:marginTop="0"/>
        					</aolRadioButton>
							<aolRadioButton value="3" s:vAlign="top" accNameAt="mailLabels">>
								<vbox>
									<aolLabel id="mailLabels" value="" s:paddingTop="0" s:marginTop="0"/>
									<aolLabel id="note" s:fontSize="10" s:paddingTop="0" s:marginTop="0" 
											value="&printPrompt.Note;"/>
								</vbox>
							</aolRadioButton>
						</vbox>
					</radioBox>
				</vbox>
			</hbox>
		</vbox>
        
		<vbox s:vAlign="center" s:hAlign="center" s:padding="5">
		  <hbox>
		      <aolButton label="&printPrompt.OK;" defaultButton="true" on:command="onClick('print');" s:flex="1" tooltip="&printPrompt.printTip;"/>
		      <aolButton label="&printPrompt.printseteup;" on:command="onClick('setup');" s:flex="1" tooltip="&printPrompt.printSetupTip;"/>
              <aolButton label="&printPrompt.cancel;" on:command="onClick('close');" s:flex="1" tooltip="&printPrompt.cancelTip;"/>
		  </hbox>
		</vbox>
		
	</vbox>
</aolDialog>
