function myFontSize(fontMod, setCookie)
{
	newFontSize = parseInt(document.getElementById("myBody").style.fontSize);
	newFontSize = newFontSize+fontMod;
	if (newFontSize > 20)
		newFontSize = 20;
	if (newFontSize < 6)
		newFontSize = 6;
	document.getElementById("myBody").style.fontSize=newFontSize+"px";
	if (setCookie != false)
		myCookie(newFontSize);
}

function myCookie(fontSize)
{
	document.getElementById("pIFrame").src = "_shared/p_cookie.php?cookieNameArray=fontSize&cookieValueArray="+fontSize;
}

function show(div, id)
{
	new Effect.BlindDown(div+id, { duration: 0.6 });
	document.getElementById("link_"+id).href = "javascript: hide('"+div+"', "+id+")";
}

function hide(div, id)
{
	new Effect.BlindUp(div+id, { duration: 0.6 });
	document.getElementById("link_"+id).href = "javascript: show('"+div+"', "+id+")";
}

var lastCountry = false;
var lastCountryHover = false;
var lastCountryString = false;

function setLastCountry(thisCountry)
{
	if (lastCountryString == thisCountry)
		return;
	hideLastCountry();

	// set this country to last country
	lastCountryString = thisCountry;
	lastCountry = document.getElementById(thisCountry+"_div");
	lastCountryHover = document.getElementById(thisCountry+"_hover");
}

function hideLastCountry()
{
	if (lastCountry == false)
		return;
	lastCountry.style.display = "none";
	lastCountryHover.style.display = "none";
}