Here's the situation: I want the Catfish popup invented by sitepoint to popup when a visitors cursor moves to the top outside of the website canvas.The Catfish popup is available as a jQuery Plugin, that's what I'm using now.

I have found one script that observes the cursor position. But when I use it together with Catfish it stops working. I suspect it is because the onload event that is, overwritten? Either way, I can't find a way to fix this. I'm a very green JS programmer I hope someone can help me with this.

The cursor observer snippet-script I'm using can be seen in action here:

I have hosted all the files (3) linked together if someone wants to do live testing here:

And here is the short html page including both scripts:

Please help

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xml:lang="en" lang="en" xmlns="">
	<title>jQuery Catfish Plugin</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<script type="text/javascript" src="scripts/jquery.js"></script>
	<script type="text/javascript" src="scripts/jquery.catfish.js"></script>
	<style type="text/css">
		div#catfish {
			display: none; /* Stops catfish appearing before the page is fully loaded */
			background-color: #FFFFFF;
			text-align: center;
			border-top: 1px solid black;
		div#catfish a#close {
			position: absolute;
			top: 5px;
			right: 15px;
			color: black;
	<p>the page</p>
  <!-- the cursor observer script -->
  <!--        Script by          -->
  <!--        copyright of HIOX INDIA         -->
  <!-- more scripts @ -->
  <form name=ee><input name=sd type=text> </input></form>
  <script language=javascript>
  window.onload = init;
  function init() {
    if (window.Event) {
    document.onmousemove = getXY;
  function getXY(e) {
    x = (window.Event) ? e.pageX : event.clientX;
    y = (window.Event) ? e.pageY : event.clientY; = x+":"+y;
  <!-- end -->
	<!-- remove catfish below and the cursor works -->
	<div id="catfish">
		<script type="text/javascript">
			// Release the cat!!!
					closeLink: '#close',
					height: 52
		<a href="#" id="close">Close</a>