<!DOCTYPE HTML SYSTEM "-//Adobe//DWExtension layout-engine 12.0//dialog">
<!-- MENU-LOCATION=NONE -->
<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<head>
<!--

 ADOBE CONFIDENTIAL
 ___________________

 Copyright 2015 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 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.

-->
    <title>
        <MMString:loadString id="Commands/AlertDS/title" />
    </title>
    <script>
        function commandButtons() {
            return new Array("PutButtonsOnBottom", "OkButton defaultButton", MM.BTN_Yes, "doJqueryImport()",
                //  "PutButtonOnLeft", MM.BTN_Help, "displayHelp()",
                "CancelButton", MM.BTN_No, "cancelOperation()");
        }

        function cancelOperation() {
            var dom = dw.getDocumentDOM();
            if (dom) {
                var chk = document.getElementById("jQueryCheckbox").checked;
                dom.setShouldShowJQueryInsertDialog(!chk);
                dom.setShouldInsertBootstrapJQuery(false);
            }
            window.close();
        };

        function doJqueryImport() {
            "use strict";
            var dom = dw.getDocumentDOM();
            if (dom) {
                var chk = document.getElementById("jQueryCheckbox").checked;
                dom.setShouldShowJQueryInsertDialog(!chk);
                dom.setShouldInsertBootstrapJQuery(true);
            }
            window.close();
        }
    </script>
    <link href="../fields.css" rel="stylesheet" type="text/css">
</head>

<body>
    <form name="theForm">
        <div style="width:320px; margin:20px;">
            <MMString:loadString id="Commands/Responsive/JqueryImportMsg" />
            <br/>
            <br/>
            <MMString:loadString id="Commands/Responsive/JqueryImportMsgOK" />
            <br/>
            <br/>
            <br/>
            <input type="checkbox" id="jQueryCheckbox" checked=true>
            <MMString:loadString id="Commands/Responsive/JqueryImportCheckbox" />
        </div>
    </form>
</body>

</html>