How to overload the calling process of any function
<p>How can i overload the calling process of any function?  </p>

<p>In my web app i want to do something before the call of a function and something after it how can i do this without prototyping the call method ( because i tried this and it will work only if i call a function as <code>myFunction.call()</code> ) and still have the requested effect.  </p>

<p>I have tried everything for making it work, but nothing works, and to do it the hard way ( by call method ) it's non-practicable because i would have to rewrite all my code.</p>

<p>Could someone help please?</p>
