<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   picShareWindow.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/im.dtd">

<?import href="box://aimToolkit/content/gadgets.box"?>
<?import href="box://aimToolkit/theme/toolkit.box"?>
<?import href="gadget.box"?>

<aimWindow 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" 
    nativeIcon="box://imApp/resources/aim_picshare.ico"
    s:width="600" s:minWidth="300"
    s:height="450" s:minHeight="300"
    
    on:constructed="onConstructed();"
    on:initialized="onInitialized();"
    on:presented="onPresented();"
    on:close="onWindowClosing();"
    >

    <script language="jscript" href="box://imApp/content/viewListener.js"/>
    <script language="jscript" href="picShareWindow.js"/>

    <vbox style="aimWindowContentArea">
        <hbox id="promptBox" s:fill="silver" s:minHeight="30" collapsed="true" s:vAlign="center">
            <aolLabel id="promptText" />
            <aolButton id="promptCancel" on:command="onCancelCommand();" />
        </hbox>
        <pictureshare id="pictureshare" s:flex="1" collapsed="false" s:margin="0 1"/>
        <hbox style="bottomButtonGroupContainer">
           <aolButton id="cancelButton" label="&picshare.endSession;" on:command="toolkit:Close" s:minWidth="60" tabIndex="69"/>
           <aolButton id="sendIMButton" on:command="sendIM();" label="IM" tabIndex="70"/>
        </hbox>
    </vbox>

    <reaction event="keyPress" keyCode="ESCAPE" action="toolkit:Close" /> 
    
</aimWindow>
