How to call a function in Page.ClientScript properly
<p>There are two things I do not understand too well in this scenario</p>

<p>First, there is a javascript that is in this format</p>

<pre><code>function Allocate()
{
    this.Name = $("allocateName");
    this.AddAllocation = $("addAllocation");
    this.setCustom= $("setCustom");
}
... some other initializations here
Allocate.prototype.EnableAllocations = function() {

 this.enableAllAlloactions();
 this.setCustomAllocations();
}
</code></pre>

<p>This is just an example, so is this some kind of class in Javascript? this is in a file called Allocate.js.</p>

<p>My questions are the following:</p>

<p>If I was to call the EnableAllocations in a <code>Page.ClientScript.RegisterClientScriptBlock(...);</code> how would I do that?</p>
