function hideDivArea(str_area_hide){
 tag = document.getElementsByTagName("div");
 for(x=0;x<tag.length; x++)
 {
  if(tag[x].getAttribute('id').indexOf(str_area_hide) != -1)
  {
   tag[x].style.display = "none";
  }
 }
}

function showDivArea(areas_show, areas_hide){
 for (var i = 0; i < areas_show.length; i++)
 {
  ge = document.getElementById(areas_show[i]);
  ge.style.display = "block";
 }
 for (var i = 0; i < areas_hide.length; i++)
 {
  hideDivArea(areas_hide[i]);
 }
}