
function galleryup() 
{
	// slide the gallery UP showing next page
	if(jQuery('div#gallery').position().top >= 0-jQuery('div#gallery').height()+409) 
	{
		var newtop = jQuery('div#gallery').position().top - 409;
		jQuery('div#gallery').animate({top:newtop},{duration:300});
	}
}

function gallerydown() {
	// slide the gallery DOWN showing previous page
	if(jQuery('div#gallery').position().top<0) 
	{
		jQuery('div#gallery').animate({top:jQuery('div#gallery').position().top+409},{duration:300});	}
	
}

