var npictures = 6;
function nextPage()
{
//	try {
//		Effect.Shrink("d1", { duration: 3});  //alert("shrunk");
//		setTimeout(nextPage2, 3500);
//	} catch (e) {
		nextPictures(npictures); 		//alert("next done");
//	}
}
function nextPage2()
{
	nextPictures(npictures); 		//alert("next done");
	setTimeout(nextPage3, 2000);
}
function nextPage3()
{
	Effect.Grow("d1", { duration: 3});		//alert("grown");
}
function prevPage()
{
//	try {
//		Effect.BlindUp("d1", { duration: 3});	//alert("gone up");
//		setTimeout(prevPage2, 3500);
//	} catch (e) {
		previousPictures(npictures); 	//alert("prev done");
//	}
}
function prevPage2()
{
	previousPictures(npictures); 	//alert("prev done");
	setTimeout(prevPage3, 2000);
}
function prevPage3()
{
	Effect.BlindDown("d1", { duration: 3});//alert("gone down");
}
function hideifo(which)
{
	Element.hide("ifo" + which);
	Element.show("infobutton" + which)
}
function showifo(which)
{
	Element.show("ifo" + which);
	Element.hide("infobutton" + which)
}
