function fncCenteredChildWindow(URL,vHeight,vWidth,vScroll,vStatus) {
	if (screen.width) {
		var winl=(screen.width-vWidth)/2;
		var wint=(screen.height-vHeight)/2;
	} else { 
		winl=0;wint=0;
	}
	if(winl<0)winl=0;
	if(wint<0)wint=0;
	window.open(URL,'myWin','height='+vHeight+',width='+vWidth+',scrollbars='+vScroll+',status='+vStatus+',top='+wint+',left='+winl+',resizable=no')
}

function fncFacts() {
	var vHead="<span class='fact'>"
	var vFoot="</span>"
	var rand=Math.floor(Math.random()*11)
	var v=new Array(10)

	v[0]="The earliest known jigsaw puzzle was made in England in the 1760's by mapmaker John Spilsbury? He designed his 'dissected maps' as a tool to teach geography to children."
	v[1]="The largest Amazon fish - piraibas - can grow to more than ten feet long and weigh over 400 pounds! (Betcha won't see one of them in a McDonald's Fish Fillet!)"
	v[2]="What's a Chunnel? It's the nickname for the English Channel tunnel. It runs for 31 miles, 150 feet below the English Channel, connecting England to France by train."
	v[3]="Moscow citizens eat about 170 tons of ice cream a day, even in the bitter cold winter."
	v[4]="The giant panda only lives in the forests of western Sichuan province (in China) and eats a specific type of bamboo shoot that grows there. Because these forests are being cut down, only about 700 giant pandas are left in the wild."
	v[5]="Sumo wrestling is the top spectator sport in Japan. Wrestlers typically weigh over 330 pounds."
	v[6]="Name the fish with a name longer than the fish: Humuhumunukunukuapua! Say it, it's..... uh, difficult!"
	v[7]="The Bahamas consist of 3,000+ coral islands, of which only about 20 are inhabited."
	v[8]="Ushuaia, Argentina, on the island of Tierra del Fuego, is the southernmost city in the world. It is less than 700 miles from Antarctica."
	v[9]="The Sahara Desert is almost the same size as the entire United States."
	v[10]="Antarctica has only two flowering species of plants."
	var str = vHead + v[rand] + vFoot
	document.write(str)
}

function addIEFavorite()
{
	if (window.external)
	{
		external.AddFavorite(location.href, 'Geography Matters')
	}
	else 
	{
		alert("Oops! Your browser doesn't support this feature.\nIf you are using Netscape Navigator, click Bookmarks\nand then Add Bookmark to add this site to your favorites.");
	}
}
// ONMOUSEOVER BORDER CHANGE //

function flipBgColor(This, color) { if(This.style) { This.style.background = color;} return true; }
