$(document).ready(function(){

	$('#slider').mouseover(function() {
		$('#more').slideDown();
	});
	
	$('body').click(function() {
		$('#more').slideUp();
	});
	
	showhide();
	
});

var t;

function showhide() {
	
	t=setTimeout("showhide()", 3500);
	
	// hide the picture
	$('#blaarg').hide();
	
	// get the grid multipliers
	ygrid = Math.floor($('body').height() / 75) - 1;
	xgrid = Math.floor($('body').width() / 75) - 1;

	// generate two random numbers to set the position
	top = Math.floor(Math.random()*(ygrid)) * 75 - 10;
	left = Math.floor(Math.random()*(xgrid)) * 75 + 30;
	$('#blaarg').css({'top' : top, 'left' : left});
	
	$('#blaarg').show("slow");
}


