How to replace a block of HTML with another block of HTML using jQuery
var newHTML = '<div id = "banner"><div class="Logo"></div>' +
'<img src="http://www.abc.com/home/images/spacer.gif" ' +
'height="35" width="180" border="0" alt=""> <font ' +
'class="bannertext">&APPNAME.</font><div class="bannerText">' +
'<div class="hmenu"><ul>&APPLICATION_LINKS.</ul>' +
'</div></div>';
$('table.t12PageBody').replaceWith(newHTML);