// JavaScript Document
<!--

function ScrollDivHeight() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  var minimumHeight = 300;
   var layoutHeight = 100;
  if ((myHeight - layoutHeight) < (minimumHeight + 1))
  {
   //window.alert( 'Height = ' + (300));
  }
  else
  {
    document.getElementById("productDetailDiv").style.height = myHeight - layoutHeight;
    document.getElementById("iFrameContainer").style.height = myHeight - layoutHeight;
    
   //window.alert( 'Height = ' + (myHeight - layoutHeight));
  }

}


function equalizeDropDowns() 
{
	 var endSearch = false;
	 var dropDownCount = 0;
	 var widestDropDown = 0;
	 while (endSearch==false)
	 {
	 if (document.getElementById("dropDown" + dropDownCount)) 
	   {
        var selects = document.getElementById("dropDown" + dropDownCount).getElementsByTagName("select");
        widestDropDown = document.getElementById("dropDown" + dropDownCount).clientWidth;
	    //if (widestDropDown < selects[0].style.width=document.getElementById("dropDown" + dropDownCount).clientWidth)
	    //{
	    //widestDropDown = selects[0].style.width=document.getElementById("dropDown" + dropDownCount).clientWidth;
	    //} 
	    dropDownCount = dropDownCount + 1;
	   }
	  else
	   {
	    endSearch = true;
	   }
	 }
	 var i;
	 for (i=0; i<dropDownCount; i++)
	 {
       var selects = document.getElementById("dropDown" + i).getElementsByTagName("select");
       selects[0].style.width=document.getElementById("dropDown" + i).style.width=widestDropDown;
	  }
	}

-->