var menuMargins	= new Array (-176, -6);var menuOffset	= 34;var menuSpeed	= 50;var mainPadding = new Array (16, 180);function menuOC(){	menuOpen = !menuOpen;	menuObj.onclick = null;		slideMenu();		return true;}function slideMenu(){	var offset = menuOffset * (menuOpen ? 1 : -1);	menuObj.style.left = (parseInt(menuObj.style.left) + offset ) + 'px';		offset = parseInt(menuObj.style.left);		if (offset > menuMargins[0] && offset < menuMargins[1])	{		mainObj.style.paddingLeft = mainPadding[1] + 'px';					window.setTimeout(slideMenu, menuSpeed);	}	else	{		if (offset <= menuMargins[0])		{			mainObj.style.paddingLeft = mainPadding[0] + 'px';						menuObj.onclick = menuOC;			menuObj.style.cursor = 'pointer';		}		else		{			menuObj.onclick = null;			menuObj.style.cursor = 'default';		}	}}function addPngBackground(oname, iname){	objMyImg = new OpacityObject(oname, iname);	objMyImg.setBackground();}function menuInit(){	// Common initialization	commonInit();		// PNG Behaviour	addPngBackground('headleft',	'http://www.cellulotto.org/images/bg-top-left');	addPngBackground('headright',	'http://www.cellulotto.org/images/bg-top-right');	addPngBackground('footleft',	'http://www.cellulotto.org/images/bg-bottom-left');	addPngBackground('footright',	'http://www.cellulotto.org/images/bg-bottom-right');		// Menus init	menuOpen = true;		menuObj = document.getElementById('menu');	mainObj = document.getElementById('w2');		if (!(menuObj && mainObj))		return;		// PNG Behaviour for menus	addPngBackground('menutop',		'http://www.cellulotto.org/images/menu-top');	addPngBackground('menucontent',	'http://www.cellulotto.org/images/menu-middle');	addPngBackground('menubottom',	'http://www.cellulotto.org/images/menu-bottom');		// Menus start	mainObj.style.paddingLeft = mainPadding[1] + 'px';		menuObj.style.left = menuMargins[1] + 'px';	menuObj.style.visibility = 'visible';}onload = menuInit;