var absoluteLeft = 0;

function getWidth()
{
	this.ie  = document.all ? 1 : 0
	this.ns4 = document.layers ? 1 : 0

	if (this.ie)
		absoluteLeft = window.document.body.clientWidth;
	else
		absoluteLeft = window.innerWidth;
   
	if (absoluteLeft < 797)
		absoluteLeft = 797;

	absoluteLeft /= 2;
	absoluteLeft -= (797 / 2);

	aboutContainer.style.left = absoluteLeft + 128;
	oodlesContainer.style.left = absoluteLeft + 194;
	howtohelpContainer.style.left = absoluteLeft + 300;
	happytailsContainer.style.left = absoluteLeft + 382;
	moreinfoContainer.style.left = absoluteLeft + 461;
	newsContainer.style.left = absoluteLeft + 561;
}

//left, top, width, height
new ypSlideOutMenu("about", "down", 128, 110, 125, 105)
new ypSlideOutMenu("oodles", "down", 194, 110, 125, 147)
new ypSlideOutMenu("howtohelp", "down", 300, 110, 125, 105)
new ypSlideOutMenu("happytails", "down", 382, 110, 125, 63)
new ypSlideOutMenu("moreinfo", "down", 461, 110, 125, 189)
new ypSlideOutMenu("news", "down", 561, 110, 125, 105)


