function getSize(){
   var x=document.getElementById("myCanvas");
   var y=document.getElementById("main");
   if(x.offsetHeight<y.offsetHeight) {
      x.style.height=(y.offsetHeight + 75) + "px";
   } 
}
  
  
