var indexTerms = ' <ul id="indexList"> <li> <div> <a href="c11568235.html" target="contentwin"> Expere Knowledge Base </a> <a href="c11568235.html" target="contentwin"> [1] </a> </div> </li> <li> <div> <a href="c11568235.html" target="contentwin"> TRID </a> <a href="c11568235.html" target="contentwin"> [1] </a> </div> </li> </ul> '; $("#indexBlock #iList").html(indexTerms); $('#indexList li a').each(function() { var old = $(this).attr('href'); if (withFrames) { $(this).attr('href', normalizeLink(old)); } else { $(this).attr('href', '#' + normalizeLink(old)); $(this).removeAttr("target"); } });