I'm not sure if this will work, but try this out. I escaped all " and '.
Code:
{include file="dialog.tpl" title=$lng.lbl_search_results content="<body>
<p style=\"margin-top: 0; margin-bottom: 0\">
<font color=\"#0000FF\" style=\"font-size: 9pt\">
<img src=\"http://mysite.com/anim_pic.gif\" align=\"left\" width=\"150\" height=\"94\"></font></p>
<p style=\"margin-top: 0; margin-bottom: 0\"></p>
<p style=\"margin-top: 0; margin-bottom: 0\"></p>
<p style=\"margin-top: 0; margin-bottom: 0\">
<font face=\"Verdana\" style=\"font-size: 9pt\"><font color=\"#0000FF\">Didn\'t
find what you were looking for?</font> We probably have it and
it\'s just not yet listed in our store.
<script>
//Popup Window Script
//By JavaScript Kit (http://javascriptkit.com)
//JavaScript tutorials and over 400+ free scripts
function openpopup(){
var popurl=\"http://mysite.com/price_quote.htm\"
winpops=window.open(popurl,\"\",\"width=620,height=450,scrollbars\")
}
</script>
<a href=\"javascript:openpopup()\"><font color=\"#FF0000\"><u>Click here</u></font></a>
to see if we have it and for a free price quote!</font></p>
</body>" extra="width=100%"}