--- /dev/null
+<script type="text/javascript">
+
+function PopUpExplicit() {
+ window.open('static/instant_messenger.html', 'CTDL_MESSENGER', 'width=700,height=400');
+ toggleModal(0);
+}
+
+function PopUpFailed() {
+
+ $('md-content').innerHTML = "<div align='justify'><?_("You have one or more instant messages waiting, but the Citadel Instant Messenger window failed to open. This is probably because you have a popup blocker installed. Please configure your popup blocker to allow popups from this site if you wish to receive instant messages.")><\/div><br><br><div align='center'><h2><a href='javascript:PopUpExplicit();'>OK<\/a><\/h2><\/div>";
+ toggleModal(1);
+}
+</script>