<html><head><title>Isendid</title>
  <script>
    function Pall1(){
      this.muster="Triibuline";
      this.raadius=32;
    }
     
    Pall2.prototype=new Pall1();
    function Pall2(){
      this.taust="Roheline";
    }
  </script>
</head>
 <body>
   <script>
     p2=new Pall2();
     alert(p2.raadius);
     p2.raadius=10;
     p1=new Pall1();
     alert(p1.raadius);
   </script>
 </body>
</html>