function bigChair() {
	var showWindowTimer = setTimeout(showWindow,1000);
}

function getElementStyle(elem,style)
{
	var elem = document.getElementById(elem);
	if (elem.currentStyle)
	{
		var int = elem.currentStyle[style];
		int = int.replace(/px/g,"");
		return int;
	} else if (window.getComputedStyle)	{
		var compStyle = window.getComputedStyle(elem, "");
		var int = compStyle.getPropertyValue(style);
		int = int.replace(/px/g,"");
		return int;
	}
	return "";
}

function drop()
{
	i = getElementStyle("bigChair","top") -0;
	i=i+30;
	document.getElementById("bigChair").style.top=i + "px";
	if (i >= 70)
	{
		clearInterval(dropInterval);
		setTimeout(closeWindow,10000);
	}
}

function showWindow()
{
	document.getElementById("bigChair").style.display="block";
	dropInterval = setInterval(drop,10);
}

function closeWindow()
{
	document.getElementById("bigChair").style.display="none";
}

