window.onload =  function setHeight() {

	var myHeight = document.getElementById('container').offsetHeight;
				if(myHeight<500){
parent.document.getElementById('myFrame').style.height= myHeight+180+"px"; 
					
					}

										}	
