function secureBoxShow(url, height, width) {
    
  var LB_DONE = false;
  
  LB_HEIGHT = height || 400;
  LB_WIDTH = width || 400;
  
  if(!LB_DONE) {
    jQuery(document.body).append("<div id='LB_overlay'></div><div id='LB_window'></div>");
    jQuery(window).resize(getPosition);
    LB_DONE = true;
  }

  jQuery("#LB_frame").remove();
  jQuery("#LB_window").append("<iframe id='LB_frame' src='"+url+"'></iframe>");
  jQuery("#LB_overlay").show();
  getPosition();
   jQuery("#LB_window").show();
}

function getPosition() {
  var de = document.documentElement;
  var w = self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
  jQuery("#LB_window").css({width:LB_WIDTH+"px",height:LB_HEIGHT+"px",
    left: ((w - LB_WIDTH)/2)+"px" });
    jQuery("#LB_frame").css("height", LB_HEIGHT - 32 + "px");
  jQuery("#LB_overlay").css("height", jQuery(document).height());
}
