
function waitpage(LARR) {
	var popW = 600, popH = 400;
		var w = 480, h = 340;
		if (document.all || document.layers) {
		   w = screen.availWidth;
		   h = screen.availHeight;
		}
		var leftPos = (w-popW)/2, topPos = (h-popH)/2;
		window.open('/wait_pages/wait.html?destination=' + LARR,'newwindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);
	}

/*
function Location(name, code, url, width, height) {
	this.name = name;
	this.code = code;
	this.url = url;
	this.width = width || 600;
	this.height = height || 400;
}

var egg = [];
egg[egg.length] = new Location("Barcelona", "BCN", "egg_city_tip1.html");
egg[egg.length] = new Location("Madrid", "MAD", "egg_city_tip3.html");
egg[egg.length] = new Location("Las Vegas", "LAS", "egg_city_tip4.html");
egg[egg.length] = new Location("Bangkok", "BKK", "egg_city_tip5.html");
egg[egg.length] = new Location("Miami", "MIA", "egg_city_tip6.html");
egg[egg.length] = new Location("Sydney", "SYD", "egg_city_tip7.html");
egg[egg.length] = new Location("Prague", "PRG", "egg_city_tip8.html");
egg[egg.length] = new Location("Amsterdam", "AMS", "egg_city_tip9.html");
egg[egg.length] = new Location("New York", "JFK", "egg_city_tip10.html");
egg[egg.length] = new Location("New York", "EWR", "egg_city_tip10.html");
egg[egg.length] = new Location("New York", "LGA", "egg_city_tip10.html");
egg[egg.length] = new Location("Dublin", "DUB", "egg_city_tip11.html");
egg[egg.length] = new Location("Paris", "CDG", "wait_disney_paris.html", 600, 420);
egg[egg.length] = new Location("Paris", "ORY", "wait_disney_paris.html", 600, 420);
egg[egg.length] = new Location("Paris", "PAR", "wait_disney_paris.html", 600, 420);


function waitpage(LARR) {
	LARR = LARR.toLowerCase();
	var url = 'wait_telewest.html';
	var popW = 600, popH = 400;

	for(var i = 0; i < egg.length; i++) {
		if(egg[i].name.toLowerCase() == LARR || egg[i].code.toLowerCase() == LARR || (egg[i].name + " [" + egg[i].code + "]").toLowerCase() == LARR) {
			url = egg[i].url;
			popW = egg[i].width;
			popH = egg[i].height;
			break;
		}
	}
	
	var w = 480, h = 340;
	if (document.all || document.layers) {
	   w = screen.availWidth;
	   h = screen.availHeight;
	}
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;

	window.open('/wait_pages/' + url + '?VERSION=UKv3&LANG=EN','newwindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);
}
*/