jQuery(document).ready(function(){if(jQuery.browser.msie&&/MSIE 6\.0/i.test(window.navigator.userAgent)&&!/MSIE 7\.0/i.test(window.navigator.userAgent)&&!/MSIE 8\.0/i.test(window.navigator.userAgent)){var centerwidth=jQuery("td#middle").width();jQuery(".post img").each(function(){var maxwidth=centerwidth-10+'px';var imgwidth=jQuery(this).width();var imgheight=jQuery(this).height();var newimgheight=(centerwidth/imgwidth*imgheight)+'px';if(imgwidth>centerwidth){jQuery(this).css({width:maxwidth});jQuery(this).css({height:newimgheight});}});jQuery("div.wp-caption").each(function(){var captionwidth=jQuery(this).width();var maxcaptionwidth=centerwidth+'px';var captionheight=jQuery(this).height();var captionimgwidth=jQuery("div.wp-caption img").width();var captionimgheight=jQuery("div.wp-caption img").height();if(captionwidth>centerwidth){jQuery(this).css({width:maxcaptionwidth});var newcaptionheight=(centerwidth/captionwidth*captionheight)+'px';var newcaptionimgheight=(centerwidth/captionimgwidth*captionimgheight)+'px';jQuery(this).css({height:newcaptionheight});jQuery("div.wp-caption img").css({height:newcaptionimgheight});}});jQuery("ul li").hover(function(){jQuery(this).addClass("sfhover")},function(){jQuery(this).removeClass("sfhover")});}jQuery(".post table tr").mouseover(function(){jQuery(this).addClass("over");}).mouseout(function(){jQuery(this).removeClass("over");});jQuery(".post table tr:even").addClass("alt");jQuery("input.text, input.TextField, input.file, input.password, textarea").focus(function(){jQuery(this).addClass("highlight");}).blur(function(){jQuery(this).removeClass("highlight");})jQuery("input.inputblur").focus(function(){jQuery(this).addClass("inputfocus");}).blur(function(){jQuery(this).removeClass("inputfocus");})jQuery("input.button, input.Button").mouseover(function(){jQuery(this).addClass("buttonhover");}).mouseout(function(){jQuery(this).removeClass("buttonhover");});jQuery("a.xhtmltags").click(function(){jQuery("div.xhtml-tags").slideToggle(300);});jQuery("ul.tw-nav-list").addClass("clearfix");});;addComment={moveForm:function(d,f,i,c){var m=this,a,h=m.I(d),b=m.I(i),l=m.I("cancel-comment-reply-link"),j=m.I("comment_parent"),k=m.I("comment_post_ID");if(!h||!b||!l||!j){return}m.respondId=i;c=c||false;if(!m.I("wp-temp-form-div")){a=document.createElement("div");a.id="wp-temp-form-div";a.style.display="none";b.parentNode.insertBefore(a,b)}h.parentNode.insertBefore(b,h.nextSibling);if(k&&c){k.value=c}j.value=f;l.style.display="";l.onclick=function(){var n=addComment,e=n.I("wp-temp-form-div"),o=n.I(n.respondId);if(!e||!o){return}n.I("comment_parent").value="0";e.parentNode.insertBefore(o,e);e.parentNode.removeChild(e);this.style.display="none";this.onclick=null;return false};try{m.I("comment").focus()}catch(g){}return false},I:function(a){return document.getElementById(a)}};
