window.onload = function() {checkDivHeight();}
	
	function checkDivHeight() {
		//show border only if the scroll bar is present
		var physCond = document.getElementById("phys_conditions");
		var physCondMsg = document.getElementById("phys_cond_msg");

		if(physCond && physCond.scrollHeight > physCond.offsetHeight) {
			physCond.style.margin = "0px";
			physCond.style.border = "solid 1px #AAAAAA";
			
			//don't show the top border for the phys_cond_msg div if it's there
			if(physCondMsg) {
				physCondMsg.style.border = "none";
			}
		}
	}

<!--
function dsp(loc){
   if(document.getElementById){
      var foc=loc.firstChild;
      foc=loc.firstChild.innerHTML?
         loc.firstChild:
         loc.firstChild.nextSibling;
  //    foc.innerHTML=foc.innerHTML=='+'?'-':'+';
      foc=loc.parentNode.nextSibling.style?
         loc.parentNode.nextSibling:
         loc.parentNode.nextSibling.nextSibling;
      foc.style.display=foc.style.display=='block'?'none':'block';}}  

if(!document.getElementById)
   document.write('<style type="text/css"><!--\n'+
      '.dspcont{display:block;}\n'+
      '//--></style>');

function openPubMed(strSearch)
{ 
	window.open ("http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=PureSearch&db=pubmed&term=" + escape(strSearch)+"[Author]", "PubMedWindow","status=1,resizable=1,scrollbars=1,location=1,toolbar=1,width=800,height=500");
}

