title: Call javascript function from another javascript webresource
body: <p>There is one JavaScript web resource in CRM 2011 called <code>new\_/Script/genericJScript.js</code>. Which contains some functions say, <code>\_retrieveRecord()</code> and <code>\_Context()</code> as below. And I need to call these methods from another JavaScript web resource called <code>new\_/Script/testJScript.js</code>. How can we do this?</p>
  
  <pre><code>if (typeof (MyTest) == "undefined")
  {
    MYTEST = { __namespace: true };
  }
  
  MYTEST.RESTCALL = {
    _Context: function () {
      ......
    },
  
    _retrieveRecord: function () {
      ......
    },
  };
  </code></pre>