  function S(id){return document.getElementById(id)}
  function xx(a,b){
	  if (S(b).offsetHeight>S(a).offsetHeight){  S(a).style.height=S(b).offsetHeight+"px";
	  }else{S(b).style.height=S(a).offsetHeight+"px";
	  }
	}
  //diao yong
  window.onload=function(){xx('shiying','right')}
  
  
  
  
/*function S(id){return document.getElementById(id)}
function setHeight(a,b){
if(!S(a)){return;}
if(!S(b)){return;}
var lh=S(a).offsetHeight-50;
var rh=S(b).offsetHeight;
if (rh>lh){S(a).style.height=rh+"px";}
else{S(b).style.height=lh+"px";}
}
window.onload=function(){setHeight('shiying','right')}*/ 