Is is possible to transform all js alert messages in modal window?
<p>I'm working on an old site and i would avoid searching&amp;replacing and i was wondering if it is possible to reaplce all alert massages function  </p>

<pre><code>alert('some msg');
</code></pre>

<p>with a jquery modal window...</p>

<p>i'm not asking how to do the modal window but if i can create a protoype to replace the function alert..</p>

<p>thanks</p>
