function centerPopUp(myaddress, mywinname, mywidth,	myheight){
	myleft = (screen.width / 2) - (mywidth / 2);
	mytop = (screen.height / 2) - (myheight / 2);
	window.open(myaddress, mywinname,'top='+mytop+', left='+myleft+', width='+mywidth+', height='+myheight);
}

function getRandom(max) {
	iRandom = Math.round((Math.random() * max + 0.5));
	return iRandom;
}

function showCountrySymbol(){
	currImage = getRandom(numImages);

	imgSrc = imageArray[currImage][0];
	href = imageArray[currImage][1];
	txt = imageArray[currImage][2];
	htm = txt+"<br><div align=right><a href='"+href+"'>+ Enlarge Photo</a></div>";

	document.images['countrySymbol'].src = imgSrc;
	document.writeln(htm);
}

var imageArray = new Array();
var numImages = 13;

imageArray[1] = new Array(
	"images/countrySymbols/01_thumb.jpg",
	"countrySymbols_01.html",
	"Bazai in front of the monument tower.");

imageArray[2] = new Array(
	"images/countrySymbols/02_thumb.jpg",
	"countrySymbols_02.html",
	"The Presidential Palace.");

imageArray[3] = new Array(
	"images/countrySymbols/03_thumb.jpg",
	"countrySymbols_03.html",
	"Jaiolo");

imageArray[4] = new Array(
	"images/countrySymbols/04_thumb.jpg",
	"countrySymbols_04.html",
	"Jaiolo");

imageArray[5] = new Array(
	"images/countrySymbols/05_thumb.jpg",
	"countrySymbols_05.html",
	"Kali Baru School");

imageArray[6] = new Array(
	"images/countrySymbols/06_thumb.jpg",
	"countrySymbols_06.html",
	"Ambon Katika School");

imageArray[7] = new Array(
	"images/countrySymbols/07_thumb.jpg",
	"countrySymbols_07.html",
	"Bali Les");

imageArray[8] = new Array(
	"images/countrySymbols/08_thumb.jpg",
	"countrySymbols_08.html",
	"Bali Les");

imageArray[9] = new Array(
	"images/countrySymbols/09_thumb.jpg",
	"countrySymbols_09.html",
	"Rubbish");

imageArray[10] = new Array(
	"images/countrySymbols/10_thumb.jpg",
	"countrySymbols_10.html",
	"Solo");

imageArray[11] = new Array(
	"images/countrySymbols/11_thumb.jpg",
	"countrySymbols_11.html",
	"Solo");

imageArray[12] = new Array(
	"images/countrySymbols/12_thumb.jpg",
	"countrySymbols_12.html",
	"Solo");

imageArray[13] = new Array(
	"images/countrySymbols/13_thumb.jpg",
	"countrySymbols_13.html",
	"Solo");
