var winname = window.open('', '_blank', 'top=10000')
winname.document.open('text/html', 'replace')
winname.document.write(obj.value)
winname.document.execCommand('saveas','','test.htm')
winname.close()
}
var winname = window.open('', '_blank', 'top=10000')
winname.document.open('text/html', 'replace')
winname.document.write(obj.value)
winname.document.execCommand('saveas','','test.htm')
winname.close()
}