var fontsize = 13;
var savedFontSize = 13;
//	alert(savedFontSize);

function setFontSize() {
	if (savedFontSize)
	{
		savedFontSize = Get_Cookie("FontSize");
		if (parseInt(savedFontSize)) fontsize = savedFontSize;
		el = document.getElementsByTagName("body");
		if (el)
		{
			try
			{
				el[0].style.fontSize = fontsize + "px";	
			}
			catch (ex)
			{
				;
			}
			
		}
	}
}

function changeFontSize(direction) {
	el = document.getElementsByTagName("body");
	if (direction == 0)
	{
		el[0].style.fontSize = "13px";
		fontsize = 13;
	} else {
		if (fontsize >= 18 && direction > 0) return true;
		if (fontsize <= 10 && direction < 0) return true;
		fontsize = parseInt(fontsize) + parseInt(direction); 
		el[0].style.fontSize = fontsize + "px";
	}
	direction = 1 - direction;
	Set_Cookie("FontSize", fontsize, 1);
}


function mover(img) {
		img.src = img.src.replace("menu_", "menu-over_");
		img.src = img.src.replace("footer_", "footer-over_");
}

function mout(img) {
		img.src = img.src.replace("-over", "");
}

function mover2(img) {
		img.src = img.src.replace(".png", "-over.png");
}


