if (parent.frames.length <= 1)
{
top.location.replace('../uctframes.html');
}
var text = "UNITED COUNTRIES TOUR - PIONIERROUTE - SMOKKELROUTE";
var position = 0;
window.status = text.substring(position, text.length);


 // Map-Funktionen

function orte(x)
{
  parent.frames[4].location.href= "../uctcontent/uctorte/" + x + ".html";
  foto="uct" + x + ".jpg";
  parent.frames[1].navwechsel();

   if(navigator.appName == "Netscape" )
           {
            parent.frames[2].netfotowechsel(foto);
            }
            else
            {
            parent.frames[2].fotowechsel(foto);
           }
}

function region(x)
{
  parent.frames[4].location.href= "../uctcontent/uctregionen/" + x + ".html";
  foto="uct" + x + ".jpg";
  parent.frames[1].navwechsel();

   if(navigator.appName == "Netscape" )
           {
            parent.frames[2].netfotowechsel(foto);
            }
            else
            {
            parent.frames[2].fotowechsel(foto);
           }
}
 // Zurück-Funktion
function contentwechsel(x)
{
  parent.frames[4].location.href= "../uctcontent/uct" + x + ".html";

  foto="uct" + x + ".jpg";
   if(navigator.appName == "Netscape")
           {
            parent.frames[2].netfotowechsel(foto);
            }
            else
            {
            parent.frames[2].fotowechsel(foto);
           }
}

 // Menu-Funktionen
var start=0;
var klick=0;
var vorbild="../uctimages/uctroi.gif";
function klicken(i,bildaus,bildan,datei,foto)
{
         if (klick!=i)
         {
          document.images[klick].src=vorbild;
          document.images[i].src=bildan;
          vorbild=bildaus;
          klick=i;
          parent.frames[2].fotowechsel(foto);
          parent.frames[4].location.href=datei;

           }
           if (start=1)
           {
           document.images[i].src=bildan;
          vorbild=bildaus;
          klick=i;
          parent.frames[4].location.href=datei;
          if(navigator.appName == "Netscape")
           {
            parent.frames[2].netfotowechsel(foto);
            }
            else
            {
            parent.frames[2].fotowechsel(foto);
           }

           }
}


function bildan(i,bildan)
{
         document.images[i].src=bildan;

}

function bildaus(i, bildaus)
{
         if (klick!=i)
         {
        document.images[i].src=bildaus;
                }
}
  // Etappen-Funktionen

function etappen(x)
{
  parent.frames[4].location.href= "uctorte/" + x + ".html";
   foto="uct" + x + ".jpg";
  if(navigator.appName == "Netscape")
           {
            parent.frames[2].netfotowechsel(foto);
            }
            else
            {
            parent.frames[2].fotowechsel(foto);
           }
 }
function regionen(x)
{
  parent.frames[4].location.href= "uctregionen/" + x + ".html";
   foto="uct" + x + ".jpg";
  if(navigator.appName == "Netscape")
           {
            parent.frames[2].netfotowechsel(foto);
            }
            else
            {
            parent.frames[2].fotowechsel(foto);
           }
 }

// Navigationswechsel

 function navwechsel()
{
         document.images[klick].src=vorbild;
         start=1;

      }

// allgemeine Vorladefunktion für Grafiken und Fotos
function preload()
  {
  if(document.images)
  {
          if(!document.preload_array)
          {
            document.preload_array=new Array();
          }
            var i;
            var directory = "../uctimages/";
            var j=document.preload_array.length;
            var args=preload.arguments;
            for(i=0; i<args.length; i++)
            {
            document.preload_array[j]=new Image;
            document.preload_array[j++].src= directory + args[i];
            }
  }
  }