+B.prototype = {
+ name: "B",
+ b_attr: "b attr content",
+
+ b_func: function()
+ {
+ console.log("B_NAME: "+this.b_din);
+ console.log("B_ATTR: "+this.b_attr);
+ }
+}
+
+function C() {
+ this.c_din = "canuca";
+}
+
+C.prototype = {
+ name: "C",
+ c_attr: "c attr content",
+
+ c_func: function()
+ {
+ console.log("C_NAME: "+this.c_din);
+ console.log("C_ATTR: "+this.c_attr);
+ }
+}
+
+
+function Summo() {
+ this.s_name = "caino";
+ A.call(this);
+ B.call(this);
+ C.call(this);
+
+}
+
+Summo.prototype = {
+ name: "Summo",
+ s_attr: null,
+
+
+ c_func: function()
+ {
+ console.log("c_func overwrited");
+ },
+
+ s_func: function()
+ {
+ this.a_func();
+ this.b_func();
+ this.c_func();
+ console.log("name: "+this.name);
+ }