change DivElement to IFrameElement for external links