call inner function from global function to display alert in javascript
<p>I have a javascript code and want to extend this code now. how can I write a makeAMessenger function in global scope so that it triggers when user clicks document and alert below message</p>

<pre><code>THIS. IS. SPART.
</code></pre>

<p>currently I have following code.</p>

<p><a href="http://jsfiddle.net/heBCH/" rel="nofollow">CODE HERE</a></p>
