function flashMapped(mID, lng) {

	// dimension limit
	var maxDim = 2880;
	
	// shrink popup
	var distH = 56;
	var distW = 32;
	
	// calculate popup width
	var actWidth = parseInt(screen.availWidth);
	var theWidth = (actWidth-distW) - (actWidth-distW)%10;
	if (theWidth > maxDim) {
		theWidth = maxDim;
	}
	
	// calculate popup height
	var actHeight = parseInt(screen.availHeight);
	var theHeight = (actHeight-distH) - (actHeight-distH)%10;
	if (theHeight > maxDim) {
		theHeight = maxDim;
	}
	
	if (callBack = WindowOpen('./inBetweenCreation.php?w='+theWidth+'&h='+theHeight+'&mID='+mID+'&lng='+lng,'flashMapped', theWidth, theHeight, 'location=no,menubar=no,personalbar=no,resizeable=no,scrollbars=no,status=no,toolbar=no', true)) {
		callBack.focus();
	} else {
		closeAllInfoBars();
		if (lng == 'enEN') {
			createInfoBar("The application couldn't be opened. Please deactivate your popup blocker and try again.", './index.php', '_self', true);
		} else if (lng == 'frFR') {
			createInfoBar("L'application n'a pas pu s'ouvrir. Veuillez déactiver votre bloqueur de fenêtres publicitaires intempestives et redémarrer l'application.", './index.php', '_self', true);
		} else {
			createInfoBar('Die Anwendung konnte nicht geöffnet werden. Bitte deaktivieren Sie Ihren PopUp-Blocker und versuchen Sie es erneut.', './index.php', '_self', true);
		}
	}
}