Add this onto page
var mouseX;
var mouseY;
$(document).mousemove( function(e) {
mouseX = e.pageX;
mouseY = e.pageY;
});
and then change your code as
$(function () {
$('.contactLink').hover(function () {
$('#contact').show();
$('#DivToShow').css({'top':mouseY,'left':mouseX}).show();
}, function () {
$('#contact').hide();
});
});