function allHeight() {
var a = document.getElementById("w2");
var b = document.getElementById("w1");
var c= document.getElementById("w3");
if (a.scrollHeight < b.scrollHeight && b.scrollHeight < c.scrollHeight)
{
a.style.height= c.scrollHeight+"px";
b.style.height= c.scrollHeight+"px";
}
else if
(a.scrollHeight < c.scrollHeight && c.scrollHeight < b.scrollHeight)
{
a.style.height= b.scrollHeight+"px";
c.style.height= b.scrollHeight+"px";
}
else{
c.style.height= a.scrollHeight+"px";
b.style.height= a.scrollHeight+"px";}
}
var a = document.getElementById("w2");
var b = document.getElementById("w1");
var c= document.getElementById("w3");
if (a.scrollHeight < b.scrollHeight && b.scrollHeight < c.scrollHeight)
{
a.style.height= c.scrollHeight+"px";
b.style.height= c.scrollHeight+"px";
}
else if
(a.scrollHeight < c.scrollHeight && c.scrollHeight < b.scrollHeight)
{
a.style.height= b.scrollHeight+"px";
c.style.height= b.scrollHeight+"px";
}
else{
c.style.height= a.scrollHeight+"px";
b.style.height= a.scrollHeight+"px";}
}