/*gotoURL*/
function gotoURL(url)
{
	window.location = url;
}

/* Menu Image menu definition */
function MenuImage(containerId)
{
	var imgHeight = 0;
	var imgYPos = -2;
	var direction = 8;
	var menuObject = document.getElementById(containerId).style;
	
	var intervalId;

	function reset()
	{
		menuObject.height = "1px";
		menuObject.top = "-2px";
	}
	
	this.imageMove = function()
	{
		imgHeight += direction;
		imgYPos = -(imgHeight);
		if (imgHeight > 147)
		{
			imgHeight = 150;
			imgYPos = -(imgHeight);
			menuObject.height = imgHeight + "px";
			menuObject.top = imgYPos + "px";
		}
		else
		{
			if (imgHeight < 0)
			{
				menuObject.visibility = 'hidden';
				reset();
				clearInterval(intervalId);
				intervalId=null;
			}
			else
			{
				menuObject.height = imgHeight + "px";
				menuObject.top = imgYPos + "px";
			}
		}
		
	};
	
	this.putImageUp = function()
	{
		direction = 8;
		menuObject.visibility = 'visible';
		if (!intervalId)
			intervalId = setInterval(this.imageMove, 10);
	};
	
	this.putImageDown = function()
	{
		direction = -8;
		if (!intervalId)
			intervalId = setInterval(this.imageMove, 10);
	};
}