//use this break out of the iFrame. And open a new window
document.forms[0].target = '_blank';
// break out of frame and load in the current page:
//document.forms[0].target = '_top';
// load results in the frame.
// document.forms[0].target = '_self';
// rarely used. Useful on pages with nested frames to break out of frame and load in parent window.
// document.forms[0].target = '_parent';