/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 *
 */

window.onload=function()
{
	document.getElementById("photothequeButton").onclick = slideIt;
};

function slideIt()
{
	var slidingDiv = document.getElementById("photothequePanel");
    var stopPosition = 30;
	
	if (parseInt(slidingDiv.style.top) < stopPosition )
	{
		slidingDiv.style.top = parseInt(slidingDiv.style.top) + 10 + "px";
		setTimeout(slideIt(), 1);
	}
    
	slidingDiv.style.top = stopPosition + "px";
}

