 var win_w; 
 
 var Bgr=new Image();
 var Nbgr=new Image();
 Bgr.src="bg.gif";
 Nbgr.src="bg_1.gif";
 var Pic1=new Image();
 var Pic2=new Image();
 var Pic3=new Image();
 var Pic4=new Image();
 var Pic5=new Image();
 var Pic6=new Image();
 var Pic7=new Image();
 var Pic8=new Image();
 var Pic9=new Image();
 var Pic10=new Image();
 var Pic11=new Image();
 var Pic12=new Image();
 var Pic13=new Image();
 var Pic14=new Image();
 var Pic15=new Image();



 Pic1.src="pic1b.gif";
 Pic2.src="pic2b.gif";
 Pic3.src="pic3b.gif";
 Pic4.src="pic4b.gif";
 Pic5.src="pic5b.gif";
 Pic6.src="pic6b.gif";
 Pic7.src="pic7b.gif";
 Pic8.src="pic8b.gif";
 Pic9.src="pic9b.gif";
 Pic10.src="pic10b.gif";
 Pic11.src="pic11b.gif";
 Pic12.src="pic12b.gif";
 Pic13.src="pic13b.gif";
 Pic14.src="pic14b.gif";
 Pic15.src="pic15b.gif";





//Bild 1
  function wechsel_1_1(){
    if(a1==1){
      window.document.images[17].src=Nbgr.src;
      window.document.images[3].src=Nbgr.src;

      }
      else{
       window.document.images[3].src=Nbgr.src;
             
       }
    }
   function wechsel_2_1(){
    if(a1==1){
      window.document.images[3].src=Nbgr.src;
      window.document.images[17].src=Nbgr.src;

      }
      else{
       window.document.images[17].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_1(){
  if(a1!=1){
  window.document.images[3].src=Bgr.src;
  }

  }
  function Wechsel_2_1(){
  if(a1!=1){
  window.document.images[17].src=Bgr.src;
  }
  }


  function wechsel_3_1_1(){
   window.document.images[3].src=Pic1.src;
   bild1(1,1);
   }
  function wechsel_3_2_1(){
   window.document.images[17].src=Pic1.src;
   bild1(2,1);
   }

  
  
//Bild2
function wechsel_1_2(){
    if(a2==1){
      window.document.images[0].src=Nbgr.src;
      window.document.images[18].src=Nbgr.src;

      }
      else{
       window.document.images[0].src=Nbgr.src;
       
       }
    }
   function wechsel_2_2(){
    if(a2==1){
      window.document.images[18].src=Nbgr.src;
      window.document.images[0].src=Nbgr.src;

      }
      else{
       window.document.images[18].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_2(){
  if(a2!=1){
  window.document.images[0].src=Bgr.src;
  }

  }
  function Wechsel_2_2(){
  if(a2!=1){
  window.document.images[18].src=Bgr.src;
  }
  }

  function wechsel_3_1_2(){
   window.document.images[0].src=Pic2.src;
   bild2(1,2);
   }
  function wechsel_3_2_2(){
   window.document.images[18].src=Pic2.src;
   bild2(2,2);
   }





//Bild 3

function wechsel_1_3(){
    if(a3==1){
      window.document.images[2].src=Nbgr.src;
      window.document.images[22].src=Nbgr.src;

      }
      else{
       window.document.images[2].src=Nbgr.src;
       
       }
    }
   function wechsel_2_3(){
    if(a3==1){
      window.document.images[22].src=Nbgr.src;
      window.document.images[2].src=Nbgr.src;

      }
      else{
       window.document.images[22].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_3(){
  if(a3!=1){
  window.document.images[2].src=Bgr.src;
  }

  }
  function Wechsel_2_3(){
  if(a3!=1){
  window.document.images[22].src=Bgr.src;
  }
  }

  function wechsel_3_1_3(){
   window.document.images[2].src=Pic3.src;
   bild3(1,3);
   }
  function wechsel_3_2_3(){
   window.document.images[22].src=Pic3.src;
   bild3(2,3);
   }



 //Bild 4

function wechsel_1_4(){
    if(a4==1){
      window.document.images[1].src=Nbgr.src;
      window.document.images[27].src=Nbgr.src;

      }
      else{
       window.document.images[1].src=Nbgr.src;
       
       }
    }
   function wechsel_2_4(){
    if(a4==1){
      window.document.images[27].src=Nbgr.src;
      window.document.images[1].src=Nbgr.src;

      }
      else{
       window.document.images[27].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_4(){
  if(a4!=1){
  window.document.images[1].src=Bgr.src;
  }

  }
  function Wechsel_2_4(){
  if(a4!=1){
  window.document.images[27].src=Bgr.src;
  }
  }

  function wechsel_3_1_4(){
   window.document.images[1].src=Pic4.src;
   bild4(1,4);
   }
  function wechsel_3_2_4(){
   window.document.images[27].src=Pic4.src;
   bild4(2,4);
   }


//Bild 5

function wechsel_1_5(){
    if(a5==1){
      window.document.images[5].src=Nbgr.src;
      window.document.images[29].src=Nbgr.src;

      }
      else{
       window.document.images[5].src=Nbgr.src;
       
       }
    }
   function wechsel_2_5(){
    if(a5==1){
      window.document.images[29].src=Nbgr.src;
      window.document.images[5].src=Nbgr.src;

      }
      else{
       window.document.images[29].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_5(){
  if(a5!=1){
  window.document.images[5].src=Bgr.src;
  }

  }
  function Wechsel_2_5(){
  if(a5!=1){
  window.document.images[29].src=Bgr.src;
  }
  }

   function wechsel_3_1_5(){
   window.document.images[5].src=Pic5.src;
   bild5(1,5);
   }
  function wechsel_3_2_5(){
   window.document.images[29].src=Pic5.src;
   bild5(2,5);
   }


 

 //Bild 6

function wechsel_1_6(){
    if(a6==1){
      window.document.images[13].src=Nbgr.src;
      window.document.images[23].src=Nbgr.src;

      }
      else{
       window.document.images[13].src=Nbgr.src;
       
       }
    }
   function wechsel_2_6(){
    if(a6==1){
      window.document.images[23].src=Nbgr.src;
      window.document.images[13].src=Nbgr.src;

      }
      else{
       window.document.images[23].src=Nbgr.src;
       }
      }


  function Wechsel_1_6(){
   if(a6!=1){
   window.document.images[13].src=Bgr.src;
   }

   }
   function Wechsel_2_6(){
   if(a6!=1){
   window.document.images[23].src=Bgr.src;
   }
   }


  function wechsel_3_1_6(){
   window.document.images[13].src=Pic6.src;
   bild6(1,6);
   }
  function wechsel_3_2_6(){
   window.document.images[23].src=Pic6.src;
   bild6(2,6);
   }

//Bild 7

function wechsel_1_7(){
    if(a7==1){
      window.document.images[8].src=Nbgr.src;
      window.document.images[15].src=Nbgr.src;

      }
      else{
       window.document.images[8].src=Nbgr.src;
       
       }
    }
   function wechsel_2_7(){
    if(a7==1){
      window.document.images[15].src=Nbgr.src;
      window.document.images[8].src=Nbgr.src;

      }
      else{
       window.document.images[15].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_7(){
  if(a7!=1){
  window.document.images[8].src=Bgr.src;
  }

  }
  function Wechsel_2_7(){
  if(a7!=1){
  window.document.images[15].src=Bgr.src;
  }
  }

  function wechsel_3_1_7(){
   window.document.images[8].src=Pic7.src;
   bild7(1,7);
   }
  function wechsel_3_2_7(){
   window.document.images[15].src=Pic7.src;
   bild7(2,7);
   }

  

  //Bild 8

function wechsel_1_8(){
    if(a8==1){
      window.document.images[7].src=Nbgr.src;
      window.document.images[25].src=Nbgr.src;

      }
      else{
       window.document.images[7].src=Nbgr.src;
       
       }
    }
   function wechsel_2_8(){
    if(a8==1){
      window.document.images[25].src=Nbgr.src;
      window.document.images[7].src=Nbgr.src;

      }
      else{
       window.document.images[25].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_8(){
  if(a8!=1){
  window.document.images[7].src=Bgr.src;
  }

  }
  function Wechsel_2_8(){
  if(a8!=1){
  window.document.images[25].src=Bgr.src;
  }
  }

  function wechsel_3_1_8(){
   window.document.images[7].src=Pic8.src;
   bild8(1,8);
   }
  function wechsel_3_2_8(){
   window.document.images[25].src=Pic8.src;
   bild8(2,8);
   }


   //Bild 9

function wechsel_1_9(){
    if(a9==1){
      window.document.images[4].src=Nbgr.src;
      window.document.images[16].src=Nbgr.src;

      }
      else{
       window.document.images[4].src=Nbgr.src;
       
       }
    }
   function wechsel_2_9(){
    if(a9==1){
      window.document.images[16].src=Nbgr.src;
	window.document.images[4].src=Nbgr.src;

      }
      else{
       window.document.images[16].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_9(){
  if(a9!=1){
  window.document.images[4].src=Bgr.src;
  }

  }
  function Wechsel_2_9(){
  if(a9!=1){
  window.document.images[16].src=Bgr.src;
  }
  }

  function wechsel_3_1_9(){
   window.document.images[4].src=Pic9.src;
   bild9(1,9);
   }
  function wechsel_3_2_9(){
   window.document.images[16].src=Pic9.src;
   bild9(2,9);
   }



    //Bild 10

function wechsel_1_10(){
    if(a10==1){
      window.document.images[9].src=Nbgr.src;
      window.document.images[19].src=Nbgr.src;

      }
      else{
       window.document.images[9].src=Nbgr.src;
       
       }
    }
   function wechsel_2_10(){
    if(a10==1){
      window.document.images[19].src=Nbgr.src;
	window.document.images[9].src=Nbgr.src;

      }
      else{
       window.document.images[19].src=Nbgr.src;
       }
      } 

  function Wechsel_1_10(){
  if(a10!=1){
  window.document.images[9].src=Bgr.src;
  }

  }
  function Wechsel_2_10(){
  if(a10!=1){
  window.document.images[19].src=Bgr.src;
  }
  }

  function wechsel_3_1_10(){
   window.document.images[9].src=Pic10.src;
   bild10(1,10);
   }
  function wechsel_3_2_10(){
   window.document.images[19].src=Pic10.src;
   bild10(2,10);
   }



//Bild 11

 function wechsel_1_11(){
    if(a11==1){
      window.document.images[6].src=Nbgr.src;
   	window.document.images[11].src=Nbgr.src;

      }
      else{
       window.document.images[6].src=Nbgr.src;
       
       }
    }
   function wechsel_2_11(){
    if(a11==1){
      window.document.images[11].src=Nbgr.src;
	window.document.images[6].src=Nbgr.src;

      }
      else{
       window.document.images[11].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_11(){
  if(a11!=1){
  window.document.images[6].src=Bgr.src;
  }

  }
  function Wechsel_2_11(){
  if(a11!=1){
  window.document.images[11].src=Bgr.src;
  }
  }

  function wechsel_3_1_11(){
   window.document.images[6].src=Pic11.src;
   bild11(1,11);
   }
  function wechsel_3_2_11(){
   window.document.images[11].src=Pic11.src;
   bild11(2,11);
   }




//Bild 12

 function wechsel_1_12(){
    if(a12==1){
      window.document.images[14].src=Nbgr.src;
	window.document.images[24].src=Nbgr.src;

      }
      else{
       window.document.images[14].src=Nbgr.src;
       
       }
    }
   function wechsel_2_12(){
    if(a12==1){
      window.document.images[24].src=Nbgr.src;
	window.document.images[14].src=Nbgr.src;

      }
      else{
       window.document.images[24].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_12(){
  if(a12!=1){
  window.document.images[14].src=Bgr.src;
  }

  }
  function Wechsel_2_12(){
  if(a12!=1){
  window.document.images[24].src=Bgr.src;
  }
  }

  function wechsel_3_1_12(){
   window.document.images[14].src=Pic12.src;
   bild12(1,12);
   }
  function wechsel_3_2_12(){
   window.document.images[24].src=Pic12.src;
   bild12(2,12);
   }


 //Bild 13

 function wechsel_1_13(){
    if(a13==1){
      window.document.images[21].src=Nbgr.src;
 	window.document.images[28].src=Nbgr.src;

      }
      else{
       window.document.images[21].src=Nbgr.src;
       
       }
    }
   function wechsel_2_13(){
    if(a13==1){
      window.document.images[28].src=Nbgr.src;
	window.document.images[21].src=Nbgr.src;

      }
      else{
       window.document.images[28].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_13(){
  if(a13!=1){
  window.document.images[21].src=Bgr.src;
  }

  }
  function Wechsel_2_13(){
  if(a13!=1){
  window.document.images[28].src=Bgr.src;
  }
  }

   function wechsel_3_1_13(){
   window.document.images[21].src=Pic13.src;
   bild13(1,13);
   }
   function wechsel_3_2_13(){
   window.document.images[28].src=Pic13.src;
   bild13(2,13);
   }


 //Bild 14

 function wechsel_1_14(){
    if(a14==1){
      window.document.images[12].src=Nbgr.src;
	window.document.images[20].src=Nbgr.src;

      }
      else{
       window.document.images[12].src=Nbgr.src;
       
       }
    }
   function wechsel_2_14(){
    if(a14==1){
      window.document.images[20].src=Nbgr.src;
	window.document.images[12].src=Nbgr.src;

      }
      else{
       window.document.images[20].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_14(){
  if(a14!=1){
  window.document.images[12].src=Bgr.src;
  }

  }
  function Wechsel_2_14(){
  if(a14!=1){
  window.document.images[20].src=Bgr.src;
  }
  }

   function wechsel_3_1_14(){
   window.document.images[12].src=Pic14.src;
   bild14(1,14);
   }
   function wechsel_3_2_14(){
   window.document.images[20].src=Pic14.src;
   bild14(2,14);
   }


 //Bild 15

 function wechsel_1_15(){
    if(a15==1){
      window.document.images[10].src=Nbgr.src;
	window.document.images[26].src=Nbgr.src;

      }
      else{
       window.document.images[10].src=Nbgr.src;
       
       }
    }
   function wechsel_2_15(){
    if(a15==1){
      window.document.images[26].src=Nbgr.src;
	window.document.images[10].src=Nbgr.src;

      }
      else{
       window.document.images[26].src=Nbgr.src;
       }
      }
    

  function Wechsel_1_15(){
  if(a15!=1){
  window.document.images[10].src=Bgr.src;
  }

  }
  function Wechsel_2_15(){
  if(a15!=1){
  window.document.images[26].src=Bgr.src;
  }
  }

   function wechsel_3_1_15(){
   window.document.images[10].src=Pic15.src;
   bild15(1,15);
   }
   function wechsel_3_2_15(){
   window.document.images[26].src=Pic15.src;
   bild15(2,15);
   }















 



