<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>_bind_names</string> </key>
            <value>
              <object>
                <klass>
                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
                </klass>
                <tuple/>
                <state>
                  <dictionary>
                    <item>
                        <key> <string>_asgns</string> </key>
                        <value>
                          <dictionary>
                            <item>
                                <key> <string>name_subpath</string> </key>
                                <value> <string>traverse_subpath</string> </value>
                            </item>
                          </dictionary>
                        </value>
                    </item>
                  </dictionary>
                </state>
              </object>
            </value>
        </item>
        <item>
            <key> <string>_text</string> </key>
            <value> <unicode>\074!DOCTYPE html\076\n
\074html\076\n
\n
\074head\076\n
  \074script src="adsafe.js"\076\074/script\076\n
  \074script src="jquery/core/jquery.js"\076\074/script\076\n
  \074script src="jquery/plugin/renderjs/renderjs.js"\076\074/script\076\n
  \074script src="jquery/ui/js/jquery-ui.js"\076\074/script\076\n
\n
    \074link rel="stylesheet" type="text/css" media="screen" href="jquery/ui/css/erp5-theme/jquery-ui.css" /\076\n
\n
\074/head\076\n
\n
\074body\076\n
\n
  \074h1\076test\074/h1\076\n
\n
\074!--   \074div id="content" gadget="test_gadgets/A"\076\074/div\076 --\076\n
  \n
\n
  \074script type="text/javascript" language="javascript"\076\n
    //\074![CDATA[\n
    // init all when DOM is ready\n
    $(document).ready(function() {\n
      RenderJs.bootstrap($("#content"));\n
      // XXX: we use timeouts as we do not know if gadget structure is yet ready, how to do that in a generic way?\n
      //window.setTimeout(\'RenderJs.update($("#content"));\', DEFAULT_GADGET_DOM_READY_TIMEOUT);\n
    });\n
    //]]\076\n
  \074/script\076\n
\n
  \074!-- Adsafe test --\076\n
  \074div id="WIDGETNAME_"\076\n
    Adsafe\n
\n
    \074input type=text autocomplete=off\076\n
\n
    \074script type="text/javascript" language="javascript"\076\n
      ADSAFE.go("WIDGETNAME_", function (dom) {\n
        "use strict";\n
        var input = dom.q("input_text");\n
        alert(input);\n
        input.datepicker({ dateFormat: \'dd/mm/yy\' });\n
        input.datepicker(\'setDate\', Date());\n
      });\n
    \074/script\076\n
  \074/div\076\n
\n
\074/body\076\n
\074/html\076</unicode> </value>
        </item>
        <item>
            <key> <string>content_type</string> </key>
            <value> <string>text/html</string> </value>
        </item>
        <item>
            <key> <string>expand</string> </key>
            <value> <int>0</int> </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>adsafe</string> </value>
        </item>
        <item>
            <key> <string>output_encoding</string> </key>
            <value> <string>iso-8859-15</string> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <unicode></unicode> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
