jQuery(document).ready(
  function dotMove() {
  dotBox = jQuery('#dot');
  xPos = Math.floor(Math.random() * ((jQuery(window).width()-100) - 100 + 1)) + 100; 
  yPos = Math.floor(Math.random() * ((jQuery(window).height()-100) - 100 + 1)) + 100;

  dotBox.animate({
	left: xPos,
	top: yPos
  }, 3000, function() {
	dotMove()
  });
	dotBox.click(function () {
		dotBox.stop().animate({	left: '18px', top: '18px'}, 300, function() { jQuery('#response').fadeIn(); });
		setTimeout( function() { jQuery( '#email' ).focus() }, 500 );
	});
});
