
function changeContent(newBg)
{
	bgImagePath = 'url(../images/main-images/'+newBg+'.jpg)';
	mainImage = document.getElementById('image');
	mainImage.style.backgroundImage = bgImagePath;
}

/*function changeContentBack(defaultBg)
{
	deafultImagePath = 'url(../images/main-images/'+defaultBg+'.jpg)';
	mainImageBack = document.getElementById('image');
	mainImageBack.style.backgroundImage = deafultImagePath;
}*/

function keepButton(currentButton)
{
	currentButton.style.backgroundPosition = '0 -62px';
	
	for (i=1; i<=4; i++)
	{
		//alert(currentButton.id);
		if ('button'+i!=currentButton.id)
		{
			document.getElementById('button'+i).style.backgroundPosition = '0 0';
		}
	}
}