// Resize iframe to full height
  function resizeIframe(height)
  {
    // "+60" is a general rule of thumb to allow for differences in
    // IE & and FF height reporting, can be adjusted as required..
	if(parseInt(height) == 1093){
		document.getElementById('myframe').height = parseInt(height)+240;
		resizeIframeWrapper(parseInt(height)+240);
	}else{
		document.getElementById('myframe').height = parseInt(height)+30;
		resizeIframeWrapper(parseInt(height)+30);
	}
  }
  
  function resizeIframeWrapper(height){
	  $('#iframeWrapper').height(height);
  }
