// JavaScript Document
function squish(id, count)
{
	if(init)
	{
		var origHeight = adiv[id];
		spanTarg = document.getElementById('div'+id).style;
		if(spanTarg.height == '0px')
		{
			spanHeight = origHeight;
		}
		else
		{
			spanHeight = 0;
		}
		JSTweener.addTween(spanTarg, {
		  time: .5,
		  transition: 'easeInOutQuad',
		  onComplete: function() {},
		  height: spanHeight,
		  suffix: { height: 'px' } });
		 for(i = 1; i <= count; i++)
		 {
			if(i != id)
			{
				var origHeight = adiv[i];
				spanTarg = document.getElementById('div'+i).style;
				if(spanTarg.height != '0px')
				{
					spanHeight = 0;
					JSTweener.addTween(spanTarg, {
				  time: .5,
				  transition: 'easeInOutQuad',
				  onComplete: function() {},
				  height: spanHeight,
				  suffix: { height: 'px' } });
				}
			}
				
		 }
	}
}