").removeClass(a.options.loadingClass)}else a.$el.html("No result!").removeClass(a.options.loadingClass)},"jsonp")};a.init()};e.RecentComments.defaultOptions={blogURL:"",numComments:5,characters:100,avatarSize:50,loadingClass:"loadingxx",Showimage:!0,defaultAvatar:"http://4.bp.blogspot.com/-AEWksK942OE/UFiyLzXJhiI/AAAAAAAAFKE/jBegaGPClxI/s70/user-anonymous-icon.png",MonthNames:Alldefaultconfig.monthName,maxfeeds:40,adminBlog:""};e.fn.RecentComments=function(g){return this.each(function(){new e.RecentComments(this, g)})}})(jQuery); // CommentMode by MKR window.commentMode=function(){var h=function(c){function d(){$(a).slideDown();$(b).slideUp();e.addClass("active");f.removeClass("active");createCookie(a,null,1E4);eraseCookie(b);return!1}function g(){$(b).slideDown();$(a).slideUp();e.removeClass("active");f.addClass("active");createCookie(b,null,1E4);eraseCookie(a);return!1}var h=Alldefaultconfig;c=(c||{}).Commentmodedefault||h.CommentMode;var e=$("#comment-post-message a").first(),f=$("#comment-post-message a").last(),a=e.attr("href"),b=f.attr("href"); readCookie(b)&&"blogger"!=c?(g(),eraseCookie(b)):readCookie(a)&&"blogger"!=c?(d(),eraseCookie(a)):readCookie(b)?(g(),eraseCookie(b)):readCookie(a)?(d(),eraseCookie(a)):"blogger"!=c?(g(),eraseCookie(b)):(d(),eraseCookie(a));e.click(d);f.click(g)};return function(c){h(c)}}(); /*! highlight v4 Highlights arbitrary terms. MIT license. Johann Burkard */ (function($){$.fn.highlight=function(pat){function innerHighlight(node,pat){var skip=0;if(node.nodeType==3){var pos=node.data.toUpperCase().indexOf(pat);if(pos>=0){var spannode=document.createElement("span");spannode.className="highlight";var middlebit=node.splitText(pos);var endbit=middlebit.splitText(pat.length);var middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);skip=1}}else{if(node.nodeType==1&&node.childNodes&&!/(script|style)/i.test(node.tagName)){for(var i=0;i0?d.find("span.highlight").first().offset().top-50:""))});f.on("click",function(){d.removeHighlight();e.val("").trigger("focus");g.scrollTop(0);return false});var b=readCookie("font_size");if(b!=""&&b!=null){a(".post-body").css("font-size",b+"px")}a(".zoom-text").click(function(){var j=a(".post-body").css("font-size");j=j.replace("px","");var h=a(this).attr("class");var i=Number(j);if(h.indexOf("zoom-in-text")!=-1){i++}else{i-=1}createCookie("font_size",i);a(".post-body").css("font-size",i+"px");return false});a(".meta .metabtn").click(function(){a(".topmeta").slideToggle();a(this).toggleClass("active");return false})})})(jQuery); /** * Simple Tab JQuery Plugin by Taufik Nurrohman * With some help: http://css-tricks.com/forums/discussion/18008/jquery-plugin-patterns-that-can-be-applied-for-multiple-elements * On: 9 June 2012 * https://plus.google.com/108949996304093815163/about */ (function(a){a.fn.simpleTab=function(b){b=jQuery.extend({active:1,fx:null,showSpeed:400,hideSpeed:400,showEasing:null,hideEasing:null,show:function(){},hide:function(){},change:function(){}},b);return this.each(function(){var e=a(this),c=e.children("[data-tab]"),d=b.active-1;e.addClass("simpleTab").prepend('