A system and method for extending the utility of an HTML IFrame web page
element by enabling the IFrame to dynamically resize its viewing
boundaries according to the vertical and horizontal dimensions of the
secondary content to be displayed within the IFrame is disclosed. The
extended IFrame determines the height and width dimensions of the
secondary content, stores the dimensions within cookies, renders the
secondary content within the IFrame, calls a function to retrieve
dimension values from the cookies and sets the height and width
attributes of the IFrame to resize the IFrame.