call inner function from global function to display alert in javascript
===

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

    THIS. IS. SPART.

currently I have following code.

[CODE HERE][1]


  [1]: http://jsfiddle.net/heBCH/