'); mywindow.document.close(); // necessary for IE >= 10 mywindow.focus(); // necessary for IE >= 10 setTimeout(function () { mywindow.print(); mywindow.close(); }, 200); return true; } function printList(){ var html = document.getElementById('news-list').innerHTML; //var title = document.getElementById('property-name').textContent ; var mywindow = window.open('', 'Print This', ''); mywindow.document.write(''); mywindow.document.write(' '); mywindow.document.write('Logo'); //mywindow.document.write('

' + title + '

'); mywindow.document.write(html); mywindow.document.write(''); mywindow.document.close(); // necessary for IE >= 10 mywindow.focus(); // necessary for IE >= 10 setTimeout(function () { mywindow.print(); mywindow.close(); }, 200); return true; }

Agent View: Iain Finnegan