/gi; b(document).ready(function(){if("item"!=_WidgetManager._GetAllData().blog.pageType&&(a.olderPostsLink=b("a.blog-pager-older-link").attr("href"),a.olderPostsLink)){var c=b('
');a.loadMoreDiv.append(c);a.loadMoreDiv.insertBefore(b("#blog-pager"));b("#blog-pager").hide()}})})(jQuery)}; //PageNavi by MKR function pageNavi(r){(function(g){var k=configSummary,c={postperpage:k.postPerPage,numshowpage:k.numshowpage,previous:"«",next:"»",loadAjax:!0,thumbnailSize:k.thumbnailSize,summaryLength:k.summaryLength,viewmodedefault:k.defaultView,cookielist:"list",cookiegrid:"grid"},c=g.extend({},c,r),e=location.href,l,f,d,h,s=function(a){var b="";nomerkiri=parseInt(c.numshowpage/2);nomerkiri==c.numshowpage-nomerkiri&&(c.numshowpage=2*nomerkiri+1);mulai=d-nomerkiri;1>mulai&&(mulai=1);maksimal=parseInt(a/ c.postperpage)+1;maksimal-1==a/c.postperpage&&(maksimal-=1);akhir=mulai+c.numshowpage-1;akhir>maksimal&&(akhir=maksimal);a=parseInt(d)-1;1 '+c.previous+""):b+(''+c.previous+" "));11 ':b+('1 '));2<=akhir;a++)b=d==a?b+(''+a+""):1==a?"page"==f?b+'1 ':b+(' '+a+" "):b+(''+a+" ");akhir'+maksimal+" "):b+(''+maksimal+" "));a=parseInt(d)+1;d'+c.next+" "):b+(''+c.next+" "));a=document.getElementsByName("pageArea");for(var e=document.getElementById("blog-pager"),m=0;m").append(a.replace(d,"")).find("div.blog-posts").children(".date-outer");a.find(".post-summary").each(function(){var a,b,e,f,d,h,k,l="";f=g(this);b=f.find("img");parens=f.parents(".post");e=parens.find(".post-title.entry-title a").attr("href");titlex=parens.find(".post-title.entry-title a").text();b=b.attr("src");h=f.attr("id").replace("summaryContainer-","");a='
';-1!=b.indexOf("img.youtube.com")&&(a='
');var c=d("#search-result");b.on("submit",function(){var g=e.val();c.show().html('
"+f.findText+" ""+g+""
- ';for(var o=0,k=u.length;o"+g+"");for(var n=0,v=u[o].link.length;n<\S[^>]*>/g,"");if(r.length>f.summaryLength){r=r.substring(0,f.summaryLength)+"..."}r=r.replace(l,""+g+"");m+='
- '+(f.Showthumb===true?'':"")+""+t+" "+(f.summaryLength>0?"
"+r+"
":"")+""}m+="
"+(w.feed.openSearch$totalResults.$t>w.feed.openSearch$itemsPerPage.$t?'
":"");c.html(m);d("#searchnya ol").mCustomScrollbar()}else{c.html('
'), a.containerSelector="#related_posts");var n=function(e,h){s++;if(e.feed.entry)for(var q=0;q<\S[^>]*>/g,"");c.length> a.rlt_summary&&(c=c.substring(0,a.rlt_summary));g=b.title.$t;if(location.href.toLowerCase()!=l.toLowerCase())a:{var b=l,n=f,p=c;c=d("li",m);f=0;for(var u=c.length;f<=b;b--)if(g=d("a",c.eq(b)),t(g)>l){1
').appendTo(e)}else k=d(a.containerSelector);a.tags||(a.tags=[],d('a[rel="tag"]:lt('+a.maxTags+")").each(function(){var e=d.trim(d(this).text().replace(/\n/g,""));-1==d.inArray(e,a.tags)&&(a.tags[a.tags.length]=e)}));if(0!=a.tags.length||a.recentTitle)if(0==a.tags.length?d("
"+a.recentTitle+"
").appendTo(k):a.relatedTitle&&d("
"+a.relatedTitle+"
").appendTo(k), a.loadingText&&d('
'+a.loadingText+"
").appendTo(k),m=d("").appendTo(k),0==a.tags.length)d.get((""===a.blogURL?window.location.protocol+"//"+window.location.host:a.blogURL)+"/feeds/posts/default?max-results="+a.maxPostsPerTag+"&orderby=published&alt=json-in-script",n,"jsonp");else for(var e=0,h=a.tags.length;e
- ";for(var p=ntotal=0;p=a.options.numComments)break;b=e[p];d=0;for(f=b.link.length;d ':"";f=l.lastIndexOf("/")+1;var r=l.lastIndexOf(".");f=l.split("-").join(" ").substring(f,r)+"...";k=b.published.$t.substring(0,10);var r=k.substring(0,4),s=k.substring(5,7);k=k.substring(8,10);s=a.options.MonthNames[parseInt(s,10)-1];n=b.published.$t.substring(11,16);var h=n.substring(0,2),q=n.substring(2,5);n=12>h?"AM":"PM";0===h&&(h=12);12
";b="content"in b?b.content.$t:"summary"in b?b.summary.$t:"";b=b.replace(/(<([^>]+)>)/gi,"");""!==b&&b.length>a.options.characters&&(b=b.substring(0,a.options.characters),b+="...");c+=0"+b+"
":"";c+=" - "}}a.$el.html(c+ "
").removeClass(a.options.loadingClass)}else a.$el.html("No result!").removeClass(a.options.loadingClass)},"jsonp")};a.init()};e.RecentComments.defaultOptions={blogURL:"",numComments:4,characters:100,avatarSize:50,loadingClass:"loadingxx",Showimage:!0,defaultAvatar:"http://ift.tt/1afqgwl",MonthNames:Alldefaultconfig.monthName,maxfeeds:50,adminBlog:""};e.fn.RecentComments=function(g){return this.each(function(){new e.RecentComments(this, g)})}})(jQuery); // Ajax Recent Post by Label by MKR (function(b){var c=Alldefaultconfig,n=configSummary;b.RecentPostbyTag=function(p,n){var a=this;a.$el=b(p);a.init=function(){a.options=b.extend({},b.RecentPostbyTag.defaultOptions,n);a.$el.html('
').addClass(a.options.loadingClass);var k=b(p).parents(".widget"),t=k.children("h2");t.length||k.prepend('
'+(!1!==a.options.tagName? a.options.tagName:a.options.Random?c.RandomTitle:c.RecentTitle)+"
");var m=function(q){var c,h,g,p,f,k,r,l,s="",d=!0===a.options.Random?shuffleArray(q.feed.entry):q.feed.entry;if(void 0!==d){for(var n=a.$el.find(".recntmore"),m=a.$el.find("ul li"),u=d.length,e=0;e<\S[^>]*>/g,"").replace(/"/g, """);g.length>a.options.Summarylength&&(g=g.substring(0,a.options.Summarylength)+"...");h=d[e].title.$t;l=d[e].published.$t.substring(0,10);k=l.substring(0,4);r=l.substring(5,7);l=l.substring(8,10);r=a.options.MonthNames[parseInt(r,10)-1];socialadd=' ';s+='
"+(d[e]!==d[0]||"s"===a.options.postType||m.length?"":'
")}n.length&&!a.options.animated?(a.$el.find(".mCSB_container").append(s),a.$el.find(".recntright ul").mCustomScrollbar("update")):b("ul",a.$el).append(s);if("s"===a.options.postType){if("c"=== a.options.sliderType){!1!=a.options.tagName&&t.wrapInner(' ');var w;q=280>a.$el.width()?1:410>a.$el.width()?2:3;w=a.$el.width()/q;b("ul.rcentpost",a.$el).jcarousel({easing:"easeInOutQuint",animation:800,auto:a.options.Slidespeed,wrap:"last",scroll:q,setupCallback:function(a){a.reload()},reloadCallback:function(a){var b=Math.floor(a.clipping()/w);a.options.scroll=b;a.options.visible=b}})}else b("ul.rcentpost",a.$el).jcarousel({easing:"easeInOutQuint", animation:800,auto:a.options.Slidespeed,vertical:!0,rtl:b("#outer-wrapper").hasClass("rtl"),wrap:"last",scroll:1,setupCallback:function(a){a.reload()},reloadCallback:function(a){var b=Math.floor(a.clipping()/160);a.options.scroll=1;a.options.visible=b}});a.$el.removeClass(a.options.loadingClass)}else{var v=!1!==a.options.tagName?'
":'
";n.length||(a.$el.find(".recntright").append(v),a.options.animated||"g2"===a.options.postType||a.$el.find(".recntright ul").mCustomScrollbar(),(a.options.animated||a.options.Random||"g2"===a.options.postType)&&a.$el.find(".morepostag").hide(),a.options.AjaxLoad||a.$el.find(".morepostag.rect").hide(), a.$el.find(".loadmorepost").fadeOut(),a.options.animated&&a.$el.find(".recntright.animated ul").simpleSpy());(m.length+a.options.MaxPost>=q.feed.openSearch$totalResults.$t||a.options.Random)&&a.$el.find(".morepostag").hide();a.$el.find(".loadmorepost").fadeOut();"g1"!==a.options.postType&&"g2"!==a.options.postType&&a.options.ShowImage||(b("#content-wrapper").mouseenter(function(){b(".postinfo").filter(":not(:animated)").hide()}).mousemove(function(){b(".postinfo").filter(":not(:animated)").hide()}), a.$el.find(".rcbytag .infonya").mouseenter(function(){var a=b(this).attr("data-title"),d=b(this).attr("data-image"),e=b(this).attr("data-description"),c=b(this).attr("data-date"),f=b(this).attr("data-comment");b(".postinfo").html('
"+e+"
");b(".postinfo").filter(":not(:animated)").fadeIn(700)}).mousemove(function(a){var d=b(window).width();b(window).height(); var e=b(".postinfo").outerWidth();b(".postinfo").outerHeight();var c=a.pageY+20,f=a.pageX+10;b("#outer-wrapper").hasClass("rtl")&&(f=a.pageX-(e+10));f+e>d?f=d-e-10:0>f&&(f=10);b(".postinfo").css({top:c,left:f})}).mouseleave(function(){b(".postinfo").filter(":not(:animated)").hide().html("")}),a.$el.find(".rcbytag.g").on("mousemove",function(a){a.stopPropagation()}))}a.$el.removeClass(a.options.loadingClass)}else a.$el.html("No result! Or Error Loading Feed")};a.options.Random?b.get((""=== a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/summary"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results=0&orderby=published&alt=json-in-script",function(c){c=a.options.MaxPost>c.feed.openSearch$totalResults.$t?1:getRandomInt(1,c.feed.openSearch$totalResults.$t-a.options.MaxPost);b.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"": "/-/"+a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&start-index="+c+"&alt=json-in-script",m,"jsonp")},"jsonp"):(k=b.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&alt=json-in-script",m,"jsonp"),b.when(k).done(function(){a.options.AjaxLoad&&a.$el.find(".morepostag a.recntmore").click(function(){a.$el.find(".loadmorepost").fadeIn(); var c=a.$el.find("ul li").length+1;b.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&start-index="+c+"&alt=json-in-script",m,"jsonp");return!1})}))};a.init()};b.RecentPostbyTag.defaultOptions={blogURL:"",MaxPost:c.MaxPost,FirstImageSize:c.FirstImageSize,ImageSize:c.ImageSize,ShowDesc:!1,ShowDate:!0,ShowComment:!0,ShowImage:!0, Random:!1,Summarylength:c.summaryLength,AjaxLoad:!0,postType:"v",sliderType:"c",Slidespeed:c.slideshowSpeed,MoreText:c.viewMoreText,LoadMoreText:c.MoreText,MoreNumPost:n.postPerPage,loadingClass:"loadingxx",pBlank:c.BackupImage,MonthNames:c.monthName,tagName:!1};b.fn.RecentPostbyTag=function(c){return this.each(function(){new b.RecentPostbyTag(this,c)})}})(jQuery); //Ajax NewsTicker by MKR function NewsTicker(a){(function(b){var c={blogURL:"",MaxPost:8,titleText:Alldefaultconfig.NewsTickerText,pBlank:"http://ift.tt/1hfN01j",Summarylength:150,Container:"#newsticker",MonthNames:Alldefaultconfig.monthName,tagName:false};c=b.extend({},c,a);b.get((c.blogURL===""?window.location.protocol+"//"+window.location.host:c.blogURL)+"/feeds/posts/default"+(c.tagName===false?"":"/-/"+c.tagName)+"?max-results="+c.MaxPost+"&orderby=published&alt=json-in-script",function(x){var A,g,n,s,B,u,k,f,w,z,C,p,d=[],y,o,h="",e=x.feed.entry;if(e!==undefined){var m=e.length;for(var v=0;v<\S[^>]*>/g,"").replace(/"/g,""");if(z.length>c.Summarylength){z=z.substring(0,c.Summarylength)+"..."}g=e[v].title.$t;y=e[v].published.$t.substring(0,10);n=y.substring(0,4);s=y.substring(5,7);B=y.substring(8,10);u=c.MonthNames[parseInt(s,10)-1];k=e[v].published.$t.substring(11,16);f=k.substring(0,2);w=k.substring(2,5);if(f<12){o="AM"}else{o="PM"}if(f===0){f=12}if(f>12){f=f-12}h+='
'+c.titleText+'
'+h+"
");b(c.Container+" #newstick").simplyScroll();b("#content-wrapper, #header-wrapper").mouseenter(function(){b(".postinfo").filter(":not(:animated)").hide()}).mousemove(function(){b(".postinfo").filter(":not(:animated)").hide()});b("#newstick li").mouseenter(function(){var E=b(this).attr("data-title");var D=b(this).attr("data-image");var j=b(this).attr("data-description");var i=b(this).attr("data-date");var l=b(this).attr("data-comment");b(".postinfo").html('
"+j+"
");b(".postinfo").filter(":not(:animated)").fadeIn(700)}).mousemove(function(E){var D=b(window).width(),i=b(".postinfo").outerWidth(),l=E.pageY+20,j=E.pageX+10;if(j+i+10>D){j=D-i-10}b(".postinfo").css({top:l,left:j})}).mouseleave(function(){b(".postinfo").filter(":not(:animated)").hide().html("")})}else{b(c.Container).html("No result!").removeClass("loading")}},"jsonp")})(jQuery)}; //Ajax Auto Featured Post (Slideshow) by MKR (function(e){e.AutofeaturedPost=function(d,m){var a=this;a.$el=e(d);a.init=function(){a.options=e.extend({},e.AutofeaturedPost.defaultOptions,m);a.$el.html('
').addClass(a.options.loadingClass);var d=function(b){var d,g,f,h,k="";b=!0===a.options.RandompostActive?shuffleArray(b.feed.entry):b.feed.entry;for(var c=0,l=b.length;c").append(f.replace(/
)<[^<]*)*<\/script>/gi,""));imgb=newdowm.find("img");"media$thumbnail"in b[c]?(h=b[c].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+a.options.ImageSize),-1!=b[c].media$thumbnail.url.indexOf("img.youtube.com")&&(h=b[c].media$thumbnail.url.replace("default","0"))):h=0!=imgb.length?imgb[0].src:a.options.pBlank;f=f.replace(/<\S[^>]*>/g, "");f.length>a.options.Summarylength&&(f=f.substring(0,a.options.Summarylength)+"...");g=b[c].title.$t;k+='
', width_label:"90%",opacity_elements:1});e(window).resize(function(){a.$el.find(".container_skitter").removeAttr("style")});a.$el.removeClass(a.options.loadingClass)};!0===a.options.RandompostActive?e.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results=0&orderby=published&alt=json-in-script",function(b){a.options.MaxPost>b.feed.openSearch$totalResults.$t?b=1:(b=b.feed.openSearch$totalResults.$t- a.options.MaxPost,b=Math.floor(Math.random()*(b-1+1))+1);e.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&start-index="+b+"&alt=json-in-script",d,"jsonp")},"jsonp"):e.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+ a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&alt=json-in-script",d,"jsonp")};a.init()};var d=Alldefaultconfig;e.AutofeaturedPost.defaultOptions={blogURL:"",MaxPost:d.MaxPost,ImageSize:650,Summarylength:d.summaryLength,RandompostActive:!0,loadingClass:"loadingxx",pBlank:d.BackupImage,tagName:!1};e.fn.AutofeaturedPost=function(d){return this.each(function(){new e.AutofeaturedPost(this,d)})}})(jQuery); //Manual Featured Post (Slideshow) work with Blogger Image Widget by MKR function manualfeaturedPost(c){var a=c("#manualslidenya1");var d=a.children(".Image");if(d.length>0){a.append('
')}d.each(function(){var f=c(this);var i=f.find("h2").text();var h=f.find(".widget-content img").attr("src");var g=f.find(".widget-content a").attr("href");var e=f.find(".caption").text();c("
").appendTo("#manualslidenya1 ul.featpost");c(this).remove()});if(d.length){c("#manualslidenya1 .box_skitter_home.maxxiz-theme").skitter({label:true,numbers:true,auto_play:true,numbers_align:"center",dots:true,preview:true,structure:'prev next
',width_label:"90%",opacity_elements:1});var b=function(){a.find(".container_skitter").removeAttr("style")};c(window).resize(b)}}; //Comment View window.commentMode=(function(){var a=function(j){var d=j||{},c=d.Commentmodedefault||"blogger",h=$("#comment-post-message a").first(),f=$("#comment-post-message a").last(),e=h.attr("href"),i=f.attr("href");function b(){$(e).fadeIn();$(i).fadeOut();h.addClass("active");f.removeClass("active");createCookie(e,null,10000);eraseCookie(i);return false}function g(){$(i).fadeIn();$(e).fadeOut();h.removeClass("active");f.addClass("active");createCookie(i,null,10000);eraseCookie(e);return false}if(readCookie(i)&&c!="blogger"){g();eraseCookie(i)}else{if(readCookie(e)&&c!="blogger"){b();eraseCookie(e)}else{if(readCookie(i)){g();eraseCookie(i)}else{if(readCookie(e)){b();eraseCookie(e)}else{if(c!="blogger"){g();eraseCookie(i)}else{b();eraseCookie(e)}}}}}h.click(b);f.click(g)};return function(b){a(b)}})(); /*! 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(".morinfobtn").click(function(){a(".topmeta .inner").slideToggle();a(this).toggleClass("active");return false})})})(jQuery); function callregex(b){var k=configSummary;b("#outer-wrapper .Label").each(function(){var c=b(this).children("h2").html(),a=[],f,d,g,h,a=c.match(/[^[\]]+(?=])/g),e=b(this).attr("id");/[^[\]]+(?=])/g.test(c)&&(label=1"+a[0]+""),b(this).children(".widget-content").html('
'),c="verticalslide"===a[1]?"s":"gallery1"===a[1]?"g1":"gallery2"===a[1]?"g2":"horizontal"===a[1]?"h":"combine"===a[1]?"c":"carouselslide"===a[1]?"s":"hot"===a[1]?"ht":"v",f="verticalslide"===a[1]?"v":"c",g="animated"===a[2]?!0:!1,d="random"===a[2]?!0:!1,h="noimage"===a[1]?!1:!0,b(this).removeClass("Label").addClass(a[1]),b(this).children(".widget-content").removeClass("list-label-widget-content"),"featuredpost"===a[1]?b("#"+e+"rcb").AutofeaturedPost({blogURL:null===a[4]||""===a[4]|| "undefined"===a[4]?"":a[4],MaxPost:a[3],RandompostActive:d,tagName:label}):b("#"+e+"rcb").RecentPostbyTag({blogURL:null===a[4]||""===a[4]||"undefined"===a[4]?"":a[4],MaxPost:a[3],tagName:label,postType:c,sliderType:f,animated:g,ShowImage:h,Random:d,MoreNumPost:k.postPerPage,FirstImageSize:"gallery2"===a[1]||"simple"===a[1]?"s80-p":"s220-p",AjaxLoad:!1,ImageSize:"carouselslide"===a[1]?"s220-p":"verticalslide"===a[1]?"w320":"hot"===a[1]?"w220":"s80-p"}));b(this).css("visibility","visible")});b(".maxxizrcomment").each(function(){var c= b(this).attr("data-number"),a=b(this).attr("data-author");b(this).RecentComments({numComments:null===c||""===c||"undefined"===c?5:c,adminBlog:null===a||""===a||"undefined"===a?"":a})})}; jQuery(document).ready(function(){jQuery(window).resize(function(){jQuery(".list-tabwrap").removeAttr("style")})});function navcall(){if(configSummary.defaultNavi==="PageNavi"){pageNavi()}else{loadMorePost()}}; //]]>
/gi; b(document).ready(function(){if("item"!=_WidgetManager._GetAllData().blog.pageType&&(a.olderPostsLink=b("a.blog-pager-older-link").attr("href"),a.olderPostsLink)){var c=b('
');a.loadMoreDiv.append(c);a.loadMoreDiv.insertBefore(b("#blog-pager"));b("#blog-pager").hide()}})})(jQuery)}; //PageNavi by MKR function pageNavi(r){(function(g){var k=configSummary,c={postperpage:k.postPerPage,numshowpage:k.numshowpage,previous:"«",next:"»",loadAjax:!0,thumbnailSize:k.thumbnailSize,summaryLength:k.summaryLength,viewmodedefault:k.defaultView,cookielist:"list",cookiegrid:"grid"},c=g.extend({},c,r),e=location.href,l,f,d,h,s=function(a){var b="";nomerkiri=parseInt(c.numshowpage/2);nomerkiri==c.numshowpage-nomerkiri&&(c.numshowpage=2*nomerkiri+1);mulai=d-nomerkiri;1>mulai&&(mulai=1);maksimal=parseInt(a/ c.postperpage)+1;maksimal-1==a/c.postperpage&&(maksimal-=1);akhir=mulai+c.numshowpage-1;akhir>maksimal&&(akhir=maksimal);a=parseInt(d)-1;1 '+c.previous+""):b+(''+c.previous+" "));11 ':b+('1 '));2<=akhir;a++)b=d==a?b+(''+a+""):1==a?"page"==f?b+'1 ':b+(' '+a+" "):b+(''+a+" ");akhir'+maksimal+" "):b+(''+maksimal+" "));a=parseInt(d)+1;d'+c.next+" "):b+(''+c.next+" "));a=document.getElementsByName("pageArea");for(var e=document.getElementById("blog-pager"),m=0;m").append(a.replace(d,"")).find("div.blog-posts").children(".date-outer");a.find(".post-summary").each(function(){var a,b,e,f,d,h,k,l="";f=g(this);b=f.find("img");parens=f.parents(".post");e=parens.find(".post-title.entry-title a").attr("href");titlex=parens.find(".post-title.entry-title a").text();b=b.attr("src");h=f.attr("id").replace("summaryContainer-","");a='
';-1!=b.indexOf("img.youtube.com")&&(a='
');var c=d("#search-result");b.on("submit",function(){var g=e.val();c.show().html('
"+f.findText+" ""+g+""
- ';for(var o=0,k=u.length;o"+g+"");for(var n=0,v=u[o].link.length;n<\S[^>]*>/g,"");if(r.length>f.summaryLength){r=r.substring(0,f.summaryLength)+"..."}r=r.replace(l,""+g+"");m+='
- '+(f.Showthumb===true?'':"")+""+t+" "+(f.summaryLength>0?"
"+r+"
":"")+""}m+="
"+(w.feed.openSearch$totalResults.$t>w.feed.openSearch$itemsPerPage.$t?'
":"");c.html(m);d("#searchnya ol").mCustomScrollbar()}else{c.html('
'), a.containerSelector="#related_posts");var n=function(e,h){s++;if(e.feed.entry)for(var q=0;q<\S[^>]*>/g,"");c.length> a.rlt_summary&&(c=c.substring(0,a.rlt_summary));g=b.title.$t;if(location.href.toLowerCase()!=l.toLowerCase())a:{var b=l,n=f,p=c;c=d("li",m);f=0;for(var u=c.length;f<=b;b--)if(g=d("a",c.eq(b)),t(g)>l){1
').appendTo(e)}else k=d(a.containerSelector);a.tags||(a.tags=[],d('a[rel="tag"]:lt('+a.maxTags+")").each(function(){var e=d.trim(d(this).text().replace(/\n/g,""));-1==d.inArray(e,a.tags)&&(a.tags[a.tags.length]=e)}));if(0!=a.tags.length||a.recentTitle)if(0==a.tags.length?d("
"+a.recentTitle+"
").appendTo(k):a.relatedTitle&&d("
"+a.relatedTitle+"
").appendTo(k), a.loadingText&&d('
'+a.loadingText+"
").appendTo(k),m=d("").appendTo(k),0==a.tags.length)d.get((""===a.blogURL?window.location.protocol+"//"+window.location.host:a.blogURL)+"/feeds/posts/default?max-results="+a.maxPostsPerTag+"&orderby=published&alt=json-in-script",n,"jsonp");else for(var e=0,h=a.tags.length;e
- ";for(var p=ntotal=0;p=a.options.numComments)break;b=e[p];d=0;for(f=b.link.length;d ':"";f=l.lastIndexOf("/")+1;var r=l.lastIndexOf(".");f=l.split("-").join(" ").substring(f,r)+"...";k=b.published.$t.substring(0,10);var r=k.substring(0,4),s=k.substring(5,7);k=k.substring(8,10);s=a.options.MonthNames[parseInt(s,10)-1];n=b.published.$t.substring(11,16);var h=n.substring(0,2),q=n.substring(2,5);n=12>h?"AM":"PM";0===h&&(h=12);12
";b="content"in b?b.content.$t:"summary"in b?b.summary.$t:"";b=b.replace(/(<([^>]+)>)/gi,"");""!==b&&b.length>a.options.characters&&(b=b.substring(0,a.options.characters),b+="...");c+=0"+b+"
":"";c+=" - "}}a.$el.html(c+ "
").removeClass(a.options.loadingClass)}else a.$el.html("No result!").removeClass(a.options.loadingClass)},"jsonp")};a.init()};e.RecentComments.defaultOptions={blogURL:"",numComments:4,characters:100,avatarSize:50,loadingClass:"loadingxx",Showimage:!0,defaultAvatar:"http://ift.tt/1afqgwl",MonthNames:Alldefaultconfig.monthName,maxfeeds:50,adminBlog:""};e.fn.RecentComments=function(g){return this.each(function(){new e.RecentComments(this, g)})}})(jQuery); // Ajax Recent Post by Label by MKR (function(b){var c=Alldefaultconfig,n=configSummary;b.RecentPostbyTag=function(p,n){var a=this;a.$el=b(p);a.init=function(){a.options=b.extend({},b.RecentPostbyTag.defaultOptions,n);a.$el.html('
').addClass(a.options.loadingClass);var k=b(p).parents(".widget"),t=k.children("h2");t.length||k.prepend('
'+(!1!==a.options.tagName? a.options.tagName:a.options.Random?c.RandomTitle:c.RecentTitle)+"
");var m=function(q){var c,h,g,p,f,k,r,l,s="",d=!0===a.options.Random?shuffleArray(q.feed.entry):q.feed.entry;if(void 0!==d){for(var n=a.$el.find(".recntmore"),m=a.$el.find("ul li"),u=d.length,e=0;e<\S[^>]*>/g,"").replace(/"/g, """);g.length>a.options.Summarylength&&(g=g.substring(0,a.options.Summarylength)+"...");h=d[e].title.$t;l=d[e].published.$t.substring(0,10);k=l.substring(0,4);r=l.substring(5,7);l=l.substring(8,10);r=a.options.MonthNames[parseInt(r,10)-1];socialadd=' ';s+='
"+(d[e]!==d[0]||"s"===a.options.postType||m.length?"":'
")}n.length&&!a.options.animated?(a.$el.find(".mCSB_container").append(s),a.$el.find(".recntright ul").mCustomScrollbar("update")):b("ul",a.$el).append(s);if("s"===a.options.postType){if("c"=== a.options.sliderType){!1!=a.options.tagName&&t.wrapInner(' ');var w;q=280>a.$el.width()?1:410>a.$el.width()?2:3;w=a.$el.width()/q;b("ul.rcentpost",a.$el).jcarousel({easing:"easeInOutQuint",animation:800,auto:a.options.Slidespeed,wrap:"last",scroll:q,setupCallback:function(a){a.reload()},reloadCallback:function(a){var b=Math.floor(a.clipping()/w);a.options.scroll=b;a.options.visible=b}})}else b("ul.rcentpost",a.$el).jcarousel({easing:"easeInOutQuint", animation:800,auto:a.options.Slidespeed,vertical:!0,rtl:b("#outer-wrapper").hasClass("rtl"),wrap:"last",scroll:1,setupCallback:function(a){a.reload()},reloadCallback:function(a){var b=Math.floor(a.clipping()/160);a.options.scroll=1;a.options.visible=b}});a.$el.removeClass(a.options.loadingClass)}else{var v=!1!==a.options.tagName?'
":'
";n.length||(a.$el.find(".recntright").append(v),a.options.animated||"g2"===a.options.postType||a.$el.find(".recntright ul").mCustomScrollbar(),(a.options.animated||a.options.Random||"g2"===a.options.postType)&&a.$el.find(".morepostag").hide(),a.options.AjaxLoad||a.$el.find(".morepostag.rect").hide(), a.$el.find(".loadmorepost").fadeOut(),a.options.animated&&a.$el.find(".recntright.animated ul").simpleSpy());(m.length+a.options.MaxPost>=q.feed.openSearch$totalResults.$t||a.options.Random)&&a.$el.find(".morepostag").hide();a.$el.find(".loadmorepost").fadeOut();"g1"!==a.options.postType&&"g2"!==a.options.postType&&a.options.ShowImage||(b("#content-wrapper").mouseenter(function(){b(".postinfo").filter(":not(:animated)").hide()}).mousemove(function(){b(".postinfo").filter(":not(:animated)").hide()}), a.$el.find(".rcbytag .infonya").mouseenter(function(){var a=b(this).attr("data-title"),d=b(this).attr("data-image"),e=b(this).attr("data-description"),c=b(this).attr("data-date"),f=b(this).attr("data-comment");b(".postinfo").html('
"+e+"
");b(".postinfo").filter(":not(:animated)").fadeIn(700)}).mousemove(function(a){var d=b(window).width();b(window).height(); var e=b(".postinfo").outerWidth();b(".postinfo").outerHeight();var c=a.pageY+20,f=a.pageX+10;b("#outer-wrapper").hasClass("rtl")&&(f=a.pageX-(e+10));f+e>d?f=d-e-10:0>f&&(f=10);b(".postinfo").css({top:c,left:f})}).mouseleave(function(){b(".postinfo").filter(":not(:animated)").hide().html("")}),a.$el.find(".rcbytag.g").on("mousemove",function(a){a.stopPropagation()}))}a.$el.removeClass(a.options.loadingClass)}else a.$el.html("No result! Or Error Loading Feed")};a.options.Random?b.get((""=== a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/summary"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results=0&orderby=published&alt=json-in-script",function(c){c=a.options.MaxPost>c.feed.openSearch$totalResults.$t?1:getRandomInt(1,c.feed.openSearch$totalResults.$t-a.options.MaxPost);b.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"": "/-/"+a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&start-index="+c+"&alt=json-in-script",m,"jsonp")},"jsonp"):(k=b.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&alt=json-in-script",m,"jsonp"),b.when(k).done(function(){a.options.AjaxLoad&&a.$el.find(".morepostag a.recntmore").click(function(){a.$el.find(".loadmorepost").fadeIn(); var c=a.$el.find("ul li").length+1;b.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&start-index="+c+"&alt=json-in-script",m,"jsonp");return!1})}))};a.init()};b.RecentPostbyTag.defaultOptions={blogURL:"",MaxPost:c.MaxPost,FirstImageSize:c.FirstImageSize,ImageSize:c.ImageSize,ShowDesc:!1,ShowDate:!0,ShowComment:!0,ShowImage:!0, Random:!1,Summarylength:c.summaryLength,AjaxLoad:!0,postType:"v",sliderType:"c",Slidespeed:c.slideshowSpeed,MoreText:c.viewMoreText,LoadMoreText:c.MoreText,MoreNumPost:n.postPerPage,loadingClass:"loadingxx",pBlank:c.BackupImage,MonthNames:c.monthName,tagName:!1};b.fn.RecentPostbyTag=function(c){return this.each(function(){new b.RecentPostbyTag(this,c)})}})(jQuery); //Ajax NewsTicker by MKR function NewsTicker(a){(function(b){var c={blogURL:"",MaxPost:8,titleText:Alldefaultconfig.NewsTickerText,pBlank:"http://ift.tt/1hfN01j",Summarylength:150,Container:"#newsticker",MonthNames:Alldefaultconfig.monthName,tagName:false};c=b.extend({},c,a);b.get((c.blogURL===""?window.location.protocol+"//"+window.location.host:c.blogURL)+"/feeds/posts/default"+(c.tagName===false?"":"/-/"+c.tagName)+"?max-results="+c.MaxPost+"&orderby=published&alt=json-in-script",function(x){var A,g,n,s,B,u,k,f,w,z,C,p,d=[],y,o,h="",e=x.feed.entry;if(e!==undefined){var m=e.length;for(var v=0;v<\S[^>]*>/g,"").replace(/"/g,""");if(z.length>c.Summarylength){z=z.substring(0,c.Summarylength)+"..."}g=e[v].title.$t;y=e[v].published.$t.substring(0,10);n=y.substring(0,4);s=y.substring(5,7);B=y.substring(8,10);u=c.MonthNames[parseInt(s,10)-1];k=e[v].published.$t.substring(11,16);f=k.substring(0,2);w=k.substring(2,5);if(f<12){o="AM"}else{o="PM"}if(f===0){f=12}if(f>12){f=f-12}h+='
'+c.titleText+'
'+h+"
");b(c.Container+" #newstick").simplyScroll();b("#content-wrapper, #header-wrapper").mouseenter(function(){b(".postinfo").filter(":not(:animated)").hide()}).mousemove(function(){b(".postinfo").filter(":not(:animated)").hide()});b("#newstick li").mouseenter(function(){var E=b(this).attr("data-title");var D=b(this).attr("data-image");var j=b(this).attr("data-description");var i=b(this).attr("data-date");var l=b(this).attr("data-comment");b(".postinfo").html('
"+j+"
");b(".postinfo").filter(":not(:animated)").fadeIn(700)}).mousemove(function(E){var D=b(window).width(),i=b(".postinfo").outerWidth(),l=E.pageY+20,j=E.pageX+10;if(j+i+10>D){j=D-i-10}b(".postinfo").css({top:l,left:j})}).mouseleave(function(){b(".postinfo").filter(":not(:animated)").hide().html("")})}else{b(c.Container).html("No result!").removeClass("loading")}},"jsonp")})(jQuery)}; //Ajax Auto Featured Post (Slideshow) by MKR (function(e){e.AutofeaturedPost=function(d,m){var a=this;a.$el=e(d);a.init=function(){a.options=e.extend({},e.AutofeaturedPost.defaultOptions,m);a.$el.html('
').addClass(a.options.loadingClass);var d=function(b){var d,g,f,h,k="";b=!0===a.options.RandompostActive?shuffleArray(b.feed.entry):b.feed.entry;for(var c=0,l=b.length;c").append(f.replace(/
)<[^<]*)*<\/script>/gi,""));imgb=newdowm.find("img");"media$thumbnail"in b[c]?(h=b[c].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+a.options.ImageSize),-1!=b[c].media$thumbnail.url.indexOf("img.youtube.com")&&(h=b[c].media$thumbnail.url.replace("default","0"))):h=0!=imgb.length?imgb[0].src:a.options.pBlank;f=f.replace(/<\S[^>]*>/g, "");f.length>a.options.Summarylength&&(f=f.substring(0,a.options.Summarylength)+"...");g=b[c].title.$t;k+='
"}a.$el.find("ul.featpost").append(k);a.$el.find(".box_skitter_home.maxxiz-theme").skitter({label:!0,numbers:!0,auto_play:!0,numbers_align:"center",dots:!0,preview:!0,structure:'
prev next
', width_label:"90%",opacity_elements:1});e(window).resize(function(){a.$el.find(".container_skitter").removeAttr("style")});a.$el.removeClass(a.options.loadingClass)};!0===a.options.RandompostActive?e.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results=0&orderby=published&alt=json-in-script",function(b){a.options.MaxPost>b.feed.openSearch$totalResults.$t?b=1:(b=b.feed.openSearch$totalResults.$t- a.options.MaxPost,b=Math.floor(Math.random()*(b-1+1))+1);e.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&start-index="+b+"&alt=json-in-script",d,"jsonp")},"jsonp"):e.get((""===a.options.blogURL?window.location.protocol+"//"+window.location.host:a.options.blogURL)+"/feeds/posts/default"+(!1===a.options.tagName?"":"/-/"+ a.options.tagName)+"?max-results="+a.options.MaxPost+"&orderby=published&alt=json-in-script",d,"jsonp")};a.init()};var d=Alldefaultconfig;e.AutofeaturedPost.defaultOptions={blogURL:"",MaxPost:d.MaxPost,ImageSize:650,Summarylength:d.summaryLength,RandompostActive:!0,loadingClass:"loadingxx",pBlank:d.BackupImage,tagName:!1};e.fn.AutofeaturedPost=function(d){return this.each(function(){new e.AutofeaturedPost(this,d)})}})(jQuery); //Manual Featured Post (Slideshow) work with Blogger Image Widget by MKR function manualfeaturedPost(c){var a=c("#manualslidenya1");var d=a.children(".Image");if(d.length>0){a.append('
')}d.each(function(){var f=c(this);var i=f.find("h2").text();var h=f.find(".widget-content img").attr("src");var g=f.find(".widget-content a").attr("href");var e=f.find(".caption").text();c("
").appendTo("#manualslidenya1 ul.featpost");c(this).remove()});if(d.length){c("#manualslidenya1 .box_skitter_home.maxxiz-theme").skitter({label:true,numbers:true,auto_play:true,numbers_align:"center",dots:true,preview:true,structure:'prev next
',width_label:"90%",opacity_elements:1});var b=function(){a.find(".container_skitter").removeAttr("style")};c(window).resize(b)}}; //Comment View window.commentMode=(function(){var a=function(j){var d=j||{},c=d.Commentmodedefault||"blogger",h=$("#comment-post-message a").first(),f=$("#comment-post-message a").last(),e=h.attr("href"),i=f.attr("href");function b(){$(e).fadeIn();$(i).fadeOut();h.addClass("active");f.removeClass("active");createCookie(e,null,10000);eraseCookie(i);return false}function g(){$(i).fadeIn();$(e).fadeOut();h.removeClass("active");f.addClass("active");createCookie(i,null,10000);eraseCookie(e);return false}if(readCookie(i)&&c!="blogger"){g();eraseCookie(i)}else{if(readCookie(e)&&c!="blogger"){b();eraseCookie(e)}else{if(readCookie(i)){g();eraseCookie(i)}else{if(readCookie(e)){b();eraseCookie(e)}else{if(c!="blogger"){g();eraseCookie(i)}else{b();eraseCookie(e)}}}}}h.click(b);f.click(g)};return function(b){a(b)}})(); /*! 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(".morinfobtn").click(function(){a(".topmeta .inner").slideToggle();a(this).toggleClass("active");return false})})})(jQuery); function callregex(b){var k=configSummary;b("#outer-wrapper .Label").each(function(){var c=b(this).children("h2").html(),a=[],f,d,g,h,a=c.match(/[^[\]]+(?=])/g),e=b(this).attr("id");/[^[\]]+(?=])/g.test(c)&&(label=1"+a[0]+""),b(this).children(".widget-content").html('
'),c="verticalslide"===a[1]?"s":"gallery1"===a[1]?"g1":"gallery2"===a[1]?"g2":"horizontal"===a[1]?"h":"combine"===a[1]?"c":"carouselslide"===a[1]?"s":"hot"===a[1]?"ht":"v",f="verticalslide"===a[1]?"v":"c",g="animated"===a[2]?!0:!1,d="random"===a[2]?!0:!1,h="noimage"===a[1]?!1:!0,b(this).removeClass("Label").addClass(a[1]),b(this).children(".widget-content").removeClass("list-label-widget-content"),"featuredpost"===a[1]?b("#"+e+"rcb").AutofeaturedPost({blogURL:null===a[4]||""===a[4]|| "undefined"===a[4]?"":a[4],MaxPost:a[3],RandompostActive:d,tagName:label}):b("#"+e+"rcb").RecentPostbyTag({blogURL:null===a[4]||""===a[4]||"undefined"===a[4]?"":a[4],MaxPost:a[3],tagName:label,postType:c,sliderType:f,animated:g,ShowImage:h,Random:d,MoreNumPost:k.postPerPage,FirstImageSize:"gallery2"===a[1]||"simple"===a[1]?"s80-p":"s220-p",AjaxLoad:!1,ImageSize:"carouselslide"===a[1]?"s220-p":"verticalslide"===a[1]?"w320":"hot"===a[1]?"w220":"s80-p"}));b(this).css("visibility","visible")});b(".maxxizrcomment").each(function(){var c= b(this).attr("data-number"),a=b(this).attr("data-author");b(this).RecentComments({numComments:null===c||""===c||"undefined"===c?5:c,adminBlog:null===a||""===a||"undefined"===a?"":a})})}; jQuery(document).ready(function(){jQuery(window).resize(function(){jQuery(".list-tabwrap").removeAttr("style")})});function navcall(){if(configSummary.defaultNavi==="PageNavi"){pageNavi()}else{loadMorePost()}}; //]]>
Komentar
Posting Komentar