
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i>d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function switchImg(imgObjId, newSrc)
{
  var imgObj = MM_findObj(imgObjId);
  var targetObj = MM_findObj('Photo');
  targetObj.src = newSrc;
}

var monastery = 
  '<p>The Monastery of St. Katherine</p>';
var village = 
  '<p>The Village of St. Katherine</p>';
var rhazana = 
  '<p>Wadi Shag, Wadi Mathar, Wadi Rhazana - Bedouin gardens, canyon, waterpools, big bustans and ruins of a Byzantine monastic settlement</p>';
var azraq = 
  '<p>Wadi Talaa and Galt el Azraq - A lush wadi leading down to the waterpool at Galt el Azraq and further on to oasises and Sheikh Awad</p>';
var talaa = 
  '<p>Wadi Talaa-Itlah  - Bedouin gardens, the Monastery of Cosmas and Damianos with olive groves and cypress trees, leopard trap and Bedouin shelters</p>';
var jebal = 
  '<p>Wadi Jebal - Consisting of several wadis with long streches of Bedouin gardens, the ruins of a Byzantine church and rock shelters</p>';
var tuweita = 
  '<p>Abu Tuweita and Wadi Sagar - Long strech of Bedouin gardens with huge boulders and a narrow canyon with clean water stemming from the rock wall</p>';
var jidda = 
  '<p>Wadi Abu Zeituna, Wadi Umm Shil, Bustan el Birka, Farsh Faria - Deep wadis with long streches of gardens and wide open plains with ragged mountains, the area is abboundant with well preserved Byzantine structues</p>';
var jeefa = 
  '<p>Abu Jeefa - The track to the High Mountains built by Abbas Pasha, Bedouin gardens, a marriage proposal rock and a leopard trap</p>';
var fresh = 
  '<p>Fresh - XXXZXXX</p>';
var arbain = 
  '<p>Wadi el Arbain - Hajar Musa, the rock from which Moses fetched water, a Bedouin wishing-stone, the Monastery of Forty Martyrs, Rock Hyrax farm</p>';
var shraj = 
  '<p>Wadi Shraj - Well preserved Byzantine ruins and Bedouin gardens</p>';
var seila = 
  '<p>Naqb Abu Seila - Narrow canyon connecting the settlement of Abu Seila to Wadi Itlah and the High Mountains</p>';
var hawa = 
  '<p>Naqb el Hawa - XXXZXXX</p>';
var blue = 
  '<p>The Blue Desert - XXXZXXX</p>';
var sinai = 
  '<p>Jebel Musa (Mt. Sinai), where Moses received the Ten Commandments</p>';
var safsafa = 
  '<p>Jebel Safsafa, Jebel Loza - Adjoining Jebel Musa (Mt. Sinai), there are several connected basins with churches and gardens</p>';
var katherine = 
  '<p>Jebel Katherine - The highest mountain in Egypt with spectacular views of Jebel Musa (Mt. Sinai) and all the High Mountains</p>';
var shag = 
  '<p>Ras Abu Galda, Jebel al Bab, Ain Nagila - Spectacular views to the Southern Mountains, El Tor and the Gulf of Suez, ruins of a Byzantine church at a water spring </p>';
var shagT = 
  '<p>Wadi Shag-Tinya - A series of waterpools at the top of the wadi leading down to Byzantine ruins and Bedouin bustans with massive walls</p>';
var tinya = 
  '<p>Wadi Tinya - A long, wide wadi with Bedouin gardens leading from Jebel Abbas Basha to the waterpools of Wadi Shag-Tinya</p>';
var sagar = 
  '<p>Wadi Sagar - XXXZXXX</p>';
var itlah = 
  '<p>Wadi Itlah - Bedouin gardens down in the wadi and in elevated basins, Byzantine ruins and the Church of Galeli Max</p>';
var rummana = 
  '<p>Farsh Rummana - A wide plain with Bedouin gardens and rockshelters at the end of Wadi Jebal, on the way to the waterpool of Galt el Azraq or Jebel el Bab</p>' ;
var abbas = 
  '<p>Jebel Abbas Basha - The unfinished palace of Abbas Pasha on the top of the mountain with spectacular views of the village and the High Mountains</p>';
var mahashur = 
  '<p>Farsh Abu Mahashur - Byzantine ruins in a secluded farsh enclosed by massive rock walls high above Wadi Zawatin</p>';
var zawatin = 
  '<p>Wadi Zawatin - A strech of Bedouin gardens in the wadi and ruins in elevated basins</p>';
var tubug = 
  '<p>Wadi Tubug - Bedouin gardens among huge boulders, the 1000-year old mulberry tree of the Jebeliya tribe and water trickling from the rock to a fountain </p>';
var raba = 
  '<p>Wadi Umm Serdi - One way from the village to Jebel Raba, Jebel el Ahmar and through a steep descent ending in a narrow gap to the ruins of a Byzantine monastic settlement in Wadi Shag</p>';
var raha = 
  '<p>Wadi Raha, Abu Seila, Naqb el Hawa, Sheik Awad - Small settlments in the wide open wadi, Bedouin rockshelters and gardens, the tomb of Sheikh Awad</p>';
var other = 
  '<p>Other pictures from the region</p>';
var info = 
  '<p>>> Information, maps and resources about St. Katherine and the Sinai High Mountain Region</p>';
var simpleText33 = 
  '<p>xxxTitle33xxx</p>';
var simpleText34 = 
  '<p>xxxTitle34xxx</p>';
var simpleText35 = 
  '<p>xxxTitle35xxx</p>';
  
function chgSpecText(cellObjId, newSpecText)
{
  var cellObj = MM_findObj(cellObjId);
  cellObj.innerHTML = newSpecText;
}
 

