newDOM=$('<div id="commentPreview" class="comment"><a name="commentPreview"/>    <div class="inner">\t<div class="comment-header">\t    <div class="asset-meta">\t\t<span class="byline">\t\t    <span class="vcard author"><a id="authorLink" title="" href="" rel="nofollow"></a></span>\t\t    | <a id="commentPreviewLink" href=""><abbr class="published" title=""></abbr></a>\t\t    | <a title="Reply" href="#">Reply</a>\t\t</span>\t    </div>\t</div>\t<div class="comment-content">\t</div>    </div></div>');
loginIntervalID=0;
function Readability(){readStyle="style-newspaper";readSize="size-medium";readMargin="margin-wide";_readability_script=document.createElement("SCRIPT");_readability_script.type="text/javascript";_readability_script.src="http://lab.arc90.com/experiments/readability/js/readability.js?x=0";document.getElementsByTagName("head")[0].appendChild(_readability_script);_readability_css=document.createElement("LINK");_readability_css.rel="stylesheet";_readability_css.href="http://lab.arc90.com/experiments/readability/css/readability.css";_readability_css.type=
"text/css";_readability_css.media="all";document.getElementsByTagName("head")[0].appendChild(_readability_css);_readability_print_css=document.createElement("LINK");_readability_print_css.rel="stylesheet";_readability_print_css.href="http://lab.arc90.com/experiments/readability/css/readability-print.css";_readability_print_css.media="print";_readability_print_css.type="text/css";document.getElementsByTagName("head")[0].appendChild(_readability_print_css)}
function CheckPopupClose(){var a=[];a=window.location.href.split("#");if(window.location.hash=="#close-pp-delay"){window.location.href=a[0]+"#";clearInterval(loginIntervalID);setTimeout("$.prettyPhoto.close()",5E3)}else if(window.location.hash=="#close-pp"){window.location.href=a[0]+"#";$.prettyPhoto.close();clearInterval(loginIntervalID)}else if(window.location.hash=="#open-reg"){$.prettyPhoto.close();clearInterval(loginIntervalID)}return false}
$(document).ready(function(){if($.browser.msie&&$.browser.version.substring(0,1)<=6){ie6cat=$('<a href="http://www.codemonkeyramblings.com/files/kill-kittens.jpg">kill-kittens.jpg</a>').attr("rel","prettyPhoto[mixed]");od=$("<a/>").attr("href","http://www.codemonkeyramblings.com/ie6.html?iframe=true&height=400&width=700").attr("rel","prettyPhoto[mixed]").text("Dialog");ie6cat.appendTo($("#alpha-inner"));od.appendTo($("#alpha-inner"));$("a[rel^='prettyPhoto']").prettyPhoto({showTitle:true});ie6cat.click();
ie6cat.remove();od.remove()}else{$("a[rel^='prettyPhoto']").prettyPhoto({showTitle:true});$("a[rel^='reportComments']").prettyPhoto({showTitle:true,callback:function(){clearInterval(loginIntervalID);return false}});$("a[rel^='reportComments']").mouseup(function(){clearInterval(loginIntervalID);var a=[];a=window.location.href.split("#");window.location.href=a[0]+"#";loginIntervalID=setInterval("CheckPopupClose()",500)})}});
