<?xml version="1.0"?>
<Application autoNameMapping="true" xmlns="http://www.bindows.net/Schema/3.0/">
    <Window>
        <Calendar id="myCal"/> <!-- myCal is declared globally for our application because autoNameMapping is turned on -->
    </Window>

    <Resources>
        <Script src="MyJs.js"/>  <!-- Variables such as myCal from our xml above should be available in MyJs.js because we include MyJs.js in our application -->
        <Script><![CDATA[

// define constructor
function IjTest() {

}

 // define static main method
IjTest.main = function() {
    new IjTest();
};

        ]]></Script>
    </Resources>
</Application>
