var a=0;
if (navigator.appVersion.substring(0,1) != 2) {

//--------------- navigation top  ---------------------

No1 = new Image();
No1.src = "image/q.gif";
High1 = new Image();
High1.src = "image/qn.gif";
High1a = new Image();
High1a.src = "image/q.gif";

//---------------- navigation left ---------------------

No2 = new Image();
No2.src = "image/car_on_up.gif";
High2 = new Image();
High2.src = "image/car_off_up.gif";
High2a = new Image();
High2a.src = "image/car_on_up.gif";

No3 = new Image();
No3.src = "image/car_on.gif";
High3 = new Image();
High3.src = "image/car_off.gif";
High3a = new Image();
High3a.src = "image/car_on.gif";

No4 = new Image();
No4.src = "image/kachel.gif";

No5 = new Image();
No5.src = "image/car_abst.gif";
}

//--------------------------------- both ----------------------------------------

function change(Bildnr,Bildobjekt)
{
  if (navigator.appVersion.substring(0,1) != 2) {
  if (a!= Bildnr)
  {
    window.document.images[Bildnr].src = Bildobjekt.src;
  }
  }
}

//------------------------------ on click top  --------------------------------

function change2(Bildnr,Bildobjekt)
{
   if (navigator.appVersion.substring(0,1) != 2) {
  window.document.images[2].src = High1.src;
  window.document.images[4].src = High1.src;
  window.document.images[6].src = High1.src;
  window.document.images[8].src = High1.src;
  window.document.images[10].src = High1.src;


  a= Bildnr;
  if (Bildnr != 0) {

    window.document.images[Bildnr].src = Bildobjekt.src;
  }
  }
}

//------------------------------ on click left  --------------------------------

function change3(Bildnr,Bildobjekt)
{
   if (navigator.appVersion.substring(0,1) != 2) {
   window.document.images[2].src = High2.src;
   window.document.images[5].src = High3.src;
   window.document.images[8].src = High3.src;

  a= Bildnr;
  if (Bildnr != 0) {

    window.document.images[Bildnr].src = Bildobjekt.src;
  }
  }
}

function change5(Bildnr,Bildobjekt)
{
   if (navigator.appVersion.substring(0,1) != 2) {
   window.document.images[2].src = High2.src;
   window.document.images[5].src = High3.src;
   window.document.images[8].src = High3.src;
   window.document.images[11].src = High3.src;
   window.document.images[14].src = High3.src;


  a= Bildnr;
  if (Bildnr != 0) {

    window.document.images[Bildnr].src = Bildobjekt.src;
  }
  }
}
function change7(Bildnr,Bildobjekt)
{
   if (navigator.appVersion.substring(0,1) != 2) {
   window.document.images[2].src = High2.src;
   window.document.images[5].src = High3.src;
   window.document.images[8].src = High3.src;
   window.document.images[11].src = High3.src;
   window.document.images[14].src = High3.src;
   window.document.images[17].src = High3.src;
   window.document.images[20].src = High3.src;

  a= Bildnr;
  if (Bildnr != 0) {

    window.document.images[Bildnr].src = Bildobjekt.src;
  }
  }
}
//-------------------------------- window direction 1 ---------------------

function bildfenster(f1) {
	var win;
	win=window.open(f1,"karte","width=280,height=230,scrollbars=no");
	win.moveTo(230,230);}

//-------------------------------- window direction 2 ---------------------

function bildfenster2(f1) {
	var win;
	win=window.open(f1,"karte","width=385,height=260,scrollbars=no");
	win.moveTo(230,230);}

//-------------------------------- window direction 3 ---------------------

function bildfenster3(f1) {
	var win;
	win=window.open(f1,"karte","width=385,height=260,scrollbars=no");
	win.moveTo(230,230);}

//-------------------------------- window direction 4 ---------------------

function bildfenster4(f1) {
	var win;
	win=window.open(f1,"karte","width=428,height=340,scrollbars=no");
	win.moveTo(230,230);}
//-------------------------------- window direction 5 ---------------------

function bildfenster5(f1) {
	var win;
	win=window.open(f1,"karte","width=428,height=628,scrollbars=no");
	win.moveTo(230,230);}