function setNav(layerName) {ver = parseInt(navigator.appVersion);if (ver < 4) {a = 0} else {parent.navigation.showLayer(layerName);}}