<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   prefsAlert.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) 2006 AOL LLC.  All rights reserved.
//      This software contains valuable confidential and proprietary
//      information of AOL LLC. 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 O L   C O N F I D E N T I A L

****************************************************************************
-->




<!DOCTYPE window SYSTEM "box://imApp/resources/prefs.dtd">

<?import href="box://aimToolkit/content/gadgets.box"?>
<?import href="box://aimToolkit/theme/toolkit.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="window" chromeless="true"
        title="&pref.closeAlert.title;" 
        s:width="&pref.closeAlert.width;"
        s:height="&pref.closeAlert.height;"

        on:initialized="onInitialized();"
        >

    <script id="dialogBase" language="jscript" href="box://aimToolkit/content/dialog/dialogbase.js"/>
    <script id="main" language="jscript" href="box://imApp/content/prefs/prefsAlert.js"/>

    <reaction event="keyPress" keyCode="ESCAPE" action="onSelection( -1 );"/>

    <commandGroup>
        <command id="cmdOk" action="onSelection( 1 );"/>
        <command id="cmdCancel" action="onSelection( -1 );"/>
    </commandGroup>

	<vbox s:flex="1">
		<spacer s:flex="1"/>
        <aolMultilineStatic value="&pref.closeAlert.message;" s:flex="1" s:margin="0 10"/>
		<spacer s:flex="1"/>
	</vbox>
	
	<hbox style="bottomButtonGroupContainer">
		<aolButton id="okButton" label="&pref.closeAlert.save;" defaultButton="true" on:command="onSelection( 1 );"/>
		<aolButton id="cancelButton" label="&pref.closeAlert.cancel;" cancelButton="true" on:command="onSelection( -1 );"/>
	</hbox>    
	
</aolDialog>
