Kematian Dan Biografi Tupac Shakur - Lingkungan Sosial dan Hukum
/gi;function b(j){d.getScript("http://"+j+"http://.disqus.com/blogger_index.js")}function e(){if(i.loading){return}i.loading=true;if(!i.olderPostsLink){i.loadMoreDiv.hide();return}i.loadMoreDiv.find("a").hide();i.loadMoreDiv.find("img").show();d.get(i.olderPostsLink,"html").done(function(l){var j=d("").append(l.replace(c,""));var k=j.find("a.blog-pager-older-link");if(k){i.olderPostsLink=k.attr("href")}else{i.olderPostsLink="";i.loadMoreDiv.hide()}var m=j.find(i.postContainerSelector).children(".date-outer");m.find(".post-summary").each(function(){var n,B,o,t,u,y,r,C="",q="";B=d(this).parent(".post-body");o=B.children("textarea").val();r=o.replace(/<(.*?)>/g,"").replace(/[\n\r]+/g," ");u=d("").append(o.replace(c,""));t=u.find("img");iframex=u.find("iframe");parens=d(this).parents(".post");y=parens.find(".post-title.entry-title a").attr("href");titlex=parens.find(".post-title.entry-title a").text();if(t.length===0&&iframex.length===0){n=' '}else{if(t.length===0&&iframex.length>0){var v=iframex[0].src;if(v.indexOf("youtube.com")!=-1||v.indexOf("youtu.be")!=-1){var x=v.match(/(\?v=|\&v=|\/\d\/|\/embed\/|\/v\/|\.be\/)([a-zA-Z0-9\-\_]+)/);n=' '}else{n=' '}}else{if(i.slideffect===true&&t.length>1){var p=(i.maxImage>t.length?t.length:i.maxImage);for(var w=0,A=p;w
'}n='
'+C+"
";var s=d(this).attr("id");setTimeout(function(){d("#"+s+" .slideximg").flexslider({animation:"fade",selector:".imgslide > li",slideshowSpeed:i.slideSpeed})},20)}else{n=' '}}}q=n+'
"+r.substring(0,i.summaryLength)+"…
";d(this).html(q)});d(i.postContainerSelector).append(m);datenya({monthName:i.monthName});viewMode({viewmodedefault:i.viewmodedefault,cookielist:i.cookielist,cookiegrid:i.cookiegrid});if(window._gaq){window._gaq.push(["_trackPageview",i.olderPostsLink])}if(window.gapi&&window.gapi.plusone&&window.gapi.plusone.go){window.gapi.plusone.go()}if(window.disqus_shortname){b(window.disqus_shortname)}if(window.FB&&window.FB.XFBML&&window.FB.XFBML.parse){window.FB.XFBML.parse()}i.loadMoreDiv.find("img").hide();i.loadMoreDiv.find("a").show();i.loading=false});return false}function h(){if(_WidgetManager._GetAllData().blog.pageType=="item"){return}i.olderPostsLink=d("a.blog-pager-older-link").attr("href");if(!i.olderPostsLink){return}var k=d('');i.loadMoreDiv=d('
');i.loadMoreDiv.append(k);i.loadMoreDiv.append(j);i.loadMoreDiv.insertBefore(d("#blog-pager"));d("#blog-pager").hide()}f.ready(h)})(jQuery)}; // Ajax Page Navigation by MKR function pageNavi(a){(function(e){var i={postperpage:6,numshowpage:3,previous:"«",next:"»",loadAjax:true,thumbnailSize:"s180-c",summaryLength:200,viewmodedefault:"grid",cookielist:"list",cookiegrid:"grid",monthName:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],slideffect:true,maxImage:5,slideSpeed:5000,BackupImage:"http://ift.tt/1hfN01j"};i=e.extend({},i,a);var g="/";var d=location.href;var k;var l;var j;var f;var m=function(n){var s="";nomerkiri=parseInt(i.numshowpage/2);if(nomerkiri==i.numshowpage-nomerkiri){i.numshowpage=nomerkiri*2+1}mulai=j-nomerkiri;if(mulai<1){mulai=1}maksimal=parseInt(n/i.postperpage)+1;if(maksimal-1==n/i.postperpage){maksimal=maksimal-1}akhir=mulai+i.numshowpage-1;if(akhir>maksimal){akhir=maksimal}var u=parseInt(j)-1;if(j>1){if(j==2){if(l=="page"){s+=' '+i.previous+""}else{s+=''+i.previous+" "}}}if(mulai>1){if(l=="page"){s+='1 '}else{s+='1 '}}if(mulai>2){s+=' ... '}for(var t=mulai;t<=akhir;t++){if(j==t){s+=''+t+""}else{if(t==1){if(l=="page"){s+='1 '}else{s+=''+t+" "}else{s+=''+t+" "}}}}if(akhir'+maksimal+" "}else{s+=''+maksimal+" "}}var q=parseInt(j)+1;if(j'+i.next+" "}else{s+=''+i.next+" "}}var r=document.getElementsByName("pageArea");var o=document.getElementById("blog-pager");for(var v=0;v0){s=""}if(o){o.innerHTML=s}e("#blog-pager").css("display","block");e("#blog-pager a.xpagex, #blog-pager a.xlabelx").click(function(){if(i.loadAjax){e(".loadingpost").show()}var p=e(this).attr("alt");jsonstart=(p-1)*i.postperpage;k=p;if(l=="page"){e.get(g+"feeds/posts/summary?start-index="+jsonstart+"&max-results=1&alt=json-in-script",h,"jsonp")}else{e.get(g+"feeds/posts/summary/-/"+f+"?start-index="+jsonstart+"&max-results=1&alt=json-in-script",h,"jsonp")}return false});e(".loadingpost").hide()};var b=function(n){var p=n.feed;var o=parseInt(p.openSearch$totalResults.$t,10);m(o)};var c=function(){var n=d;if(n.indexOf("/search/label/")!=-1){if(n.indexOf("?updated-max")!=-1){f=n.substring(n.indexOf("/search/label/")+14,n.indexOf("?updated-max"))}else{if(n.indexOf("?&max")!=-1){f=n.substring(n.indexOf("/search/label/")+14,n.indexOf("?&max"))}else{f=n.substr(n.lastIndexOf("/"))}}}if(n.indexOf("?q=")==-1&&n.indexOf(".html")==-1){if(n.indexOf("/search/label/")==-1){l="page";if(d.indexOf("#PageNo=")!=-1){j=d.substring(d.indexOf("#PageNo=")+8,d.length)}else{j=1}e.get(g+"feeds/posts/summary?max-results=1&alt=json-in-script",b,"jsonp")}else{l="label";if(n.indexOf("&max-results=")==-1){i.postperpage=20}if(d.indexOf("#PageNo=")!=-1){j=d.substring(d.indexOf("#PageNo=")+8,d.length)}else{j=1}e.get(g+"feeds/posts/summary/-/"+f+"?max-results=1&alt=json-in-script",b,"jsonp")}}};c();var h=function(o){post=o.feed.entry[0];var n=post.published.$t.substring(0,19)+post.published.$t.substring(23,29);var s=encodeURIComponent(n);if(l=="page"){var p="/search?updated-max="+s+"&max-results="+i.postperpage+"#PageNo="+k}else{var p="/search/label/"+f+"?updated-max="+s+"&max-results="+i.postperpage+"#PageNo="+k}if(!i.loadAjax){location.href=p}else{var r=function(t){e.getScript("http://"+t+"http://.disqus.com/blogger_index.js")};var q=/
)<[^<]*)*<\/script>/gi;e.get(p,"html").done(function(u){var t=e("").append(u.replace(q,""));var v=t.find("div.blog-posts").children(".date-outer");v.find(".post-summary").each(function(){var w,K,x,D,E,I,B,L="",A="";K=e(this).parent(".post-body");x=K.children("textarea").val();B=x.replace(/<(.*?)>/g,"").replace(/[\n\r]+/g," ");E=e("").append(x.replace(q,""));D=E.find("img");iframex=E.find("iframe");parens=e(this).parents(".post");I=parens.find(".post-title.entry-title a").attr("href");titlex=parens.find(".post-title.entry-title a").text();if(D.length===0&&iframex.length===0){w=' '}else{if(D.length===0&&iframex.length>0){var F=iframex[0].src;if(F.indexOf("youtube.com")!=-1||F.indexOf("youtu.be")!=-1){var H=F.match(/(\?v=|\&v=|\/\d\/|\/embed\/|\/v\/|\.be\/)([a-zA-Z0-9\-\_]+)/);w=' '}else{w=' '}}else{if(i.slideffect===true&&D.length>1){var y=(i.maxImage>D.length?D.length:i.maxImage);for(var G=0,J=y;G
'}w='
'+L+"
";var C=e(this).attr("id");setTimeout(function(){e("#"+C+" .slideximg").flexslider({animation:"fade",selector:".imgslide > li",slideshowSpeed:i.slideSpeed})},20)}else{w=' '}}}A=w+'
"+B.substring(0,i.summaryLength)+"…
";e(this).html(A)});e("div.blog-posts").html(v);datenya({monthName:i.monthName});viewMode({viewmodedefault:i.viewmodedefault,cookielist:i.cookielist,cookiegrid:i.cookiegrid});d=p;c();if(window._gaq){window._gaq.push(["_trackPageview",i.olderPostsLink])}if(window.gapi&&window.gapi.plusone&&window.gapi.plusone.go){window.gapi.plusone.go()}if(window.disqus_shortname){r(window.disqus_shortname)}if(window.FB&&window.FB.XFBML&&window.FB.XFBML.parse){window.FB.XFBML.parse()}})}}})(jQuery)}; // Ajax JSON Search box by Taufik url http://ift.tt/1agc3Nt modif by MKR: function searchxx(a){(function(d){var f={blogURL:"",srcBlank:"http://ift.tt/1hfN1Co",findText:"Search results for keyword",NotfindText:"No result!",Showthumb:true,LoadingText:"Searching...",scrthumbSize:50,summaryLength:100};f=d.extend({},f,a);var b=d("#ajax-search-form"),e=b.find(":text");b.append('
');var c=d("#search-result");b.on("submit",function(){var g=e.val();c.show().html('
'+f.LoadingText+"
");d.get((f.blogURL===""?window.location.protocol+"//"+window.location.host:f.blogURL)+"/feeds/posts/default?alt=json-in-script&q="+g+"&max-results=9999",function(x){var v=x.feed.entry,s,r,u,t,h,l,n="";if(v!==undefined){n="
"+f.findText+" ""+g+""
";n+='×
";c.html(n);var q=d("#search-result .box-wrap").antiscroll().data("antiscroll");q.refresh()}else{c.html('
').addClass(d.options.loadingClass);var e=function(F){var I,n,H,w,L,y,K,x,v,B,J,D,G,q="",k=(d.options.Random===true?shuffleArray(F.feed.entry):F.feed.entry);if(k!==undefined){var u=d.$el.find(".recntmore");var g=d.$el.find("ul li");var t=k.length;for(var E=0;E )<[^<]*)*<\/script>/gi;y=a("").append(H.replace(h,""));K=y.find("img");if("media$thumbnail" in k[E]){x=k[E].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/"+d.options.ImageSize);if(k[E]===k[0]&&d.options.postType!=="s"){x=k[E].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/"+d.options.FirstImageSize)}else{if(k[E].media$thumbnail.url.indexOf("img.youtube.com")!=-1){x=k[E].media$thumbnail.url.replace("default","0")}}}else{if(K.length!=0){x=K[0].src}else{x=d.options.pBlank}}H=H.replace(/<\S[^>]*>/g,"");if(H.length>d.options.Summarylength){H=H.substring(0,d.options.Summarylength)+"..."}n=k[E].title.$t;G=k[E].published.$t.substring(0,10);v=G.substring(0,4);B=G.substring(5,7);J=G.substring(8,10);D=d.options.MonthNames[parseInt(B,10)-1];q+='
"+(k[E]===k[0]&&d.options.postType!=="s"&&!g.length?'
":"")}if(u.length){d.$el.find(".recntright ul").append(q);d.$el.find(".box-wrap").antiscroll().data("antiscroll").refresh()}else{a("ul",d.$el).append(q)}if(d.options.postType==="s"){var r=a(c).parents(".widget");var M=r.children("h2");if(d.options.tagName!=false){M.wrapInner(' ')}var p,m;var o=d.$el.width();if(o<300){m=1;p=o/m}else{if(o<450){m=2;p=o/m}else{if(o<700){m=3;p=o/m}else{m=4;p=o/m}}}a(".rcbytag",d.$el).flexslider({animation:"slide",selector:".rcentpost > li",animationLoop:true,itemWidth:p,minItems:1,move:m,mousewheel:true,maxItems:4})}else{var s=(d.options.tagName!==false?'
":'
");if(!u.length){d.$el.find(".recntright").append(s);d.$el.find(".box-wrap").antiscroll().data("antiscroll");if(!d.options.AjaxLoad){a(".morepostag.rect").hide()}}if(g.length+d.options.MaxPost>=F.feed.openSearch$totalResults.$t){d.$el.find(".morepostag").hide()}d.$el.find(".morepostag a.recntmore").removeClass("loadingnya")}d.$el.removeClass(d.options.loadingClass)}else{d.$el.html("No result! Or Error Loading Feed")}};if(d.options.Random===true){a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results=0&orderby=published&alt=json-in-script",function(g){var h=(d.options.MaxPost>g.feed.openSearch$totalResults.$t)?1:getRandomInt(1,(g.feed.openSearch$totalResults.$t-d.options.MaxPost));a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&start-index="+h+"&alt=json-in-script",e,"jsonp")},"jsonp")}else{var f=a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&alt=json-in-script",e,"jsonp");a.when(f).done(function(){if(d.options.AjaxLoad){d.$el.find(".morepostag a.recntmore").click(function(){d.$el.find(".morepostag a.recntmore").addClass("loadingnya");var h=d.$el.find("ul li");var g=h.length+1;a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&start-index="+g+"&alt=json-in-script",e,"jsonp");return false})}})}};d.init()};a.RecentPostbyTag.defaultOptions={blogURL:"",MaxPost:5,FirstImageSize:"s220-p",ImageSize:"s80-p",ShowDesc:false,ShowDate:true,ShowComment:true,Random:false,Summarylength:100,MoreText:"View All About",LoadMoreText:"Load More Post",MoreNumPost:6,AjaxLoad:true,postType:"v",loadingClass:"loadingxx",pBlank:"http://ift.tt/1hfN01j",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tagName:false};a.fn.RecentPostbyTag=function(b){return this.each(function(){(new a.RecentPostbyTag(this,b))})}})(jQuery); //Emoticon by MKR window.emoticonx=(function(){var b=function(m){var j=m||{},l=j.emoRange||"#comments p, div.emoWrap",k=j.putEmoAbove||"iframe#comment-editor",h=j.topText||"Click to see the code!",a=j.emoMessage||"To insert emoticon you must added at least one space before the code.";$(k).before('
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
'+h+"
"+a+"
");var i=function(c,d,e){$(l).each(function(){$(this).html($(this).html().replace(/
:/g,"
:").replace(/
;/g,"
;").replace(/
=/g,"
=").replace(/
\^/g,"
^").replace(c," "))})};i(/\s:\)\)+/g,"http://ift.tt/1eAo59x",":))");i(/\s;\(\(+/g,"http://ift.tt/1agc6J2",";((");i(/\s:\)+/g,"http://ift.tt/1eAo31r",":)");i(/\s:-\)+/g,"http://ift.tt/1agc6J4",":-)");i(/\s=\)\)+/g,"http://ift.tt/1eAo31t","=))");i(/\s;\(+/g,"http://ift.tt/1agc3NE",";(");i(/\s;-\(+/g,"http://ift.tt/1eAo59B",";-(");i(/\s:d/ig,"http://ift.tt/1agc43U",":d");i(/\s:-d/ig,"http://ift.tt/1eAo5WR",":-d");i(/\s@-\)+/g,"http://ift.tt/1agc43Y","@-)");i(/\s:p/ig,"http://ift.tt/1eAo5WT",":p");i(/\s:o/ig,"http://ift.tt/1agc6J8",":o");i(/\s:>\)+/g,"http://ift.tt/1eAo5WV",":>)");i(/\s\(o\)+/ig,"http://ift.tt/1agc6Ja","(o)");i(/\s\[-\(+/g,"http://ift.tt/1eAo5pT","[-(");i(/\s:-\?/g,"http://ift.tt/1agc6Jc",":-?");i(/\s\(p\)+/ig,"http://ift.tt/1eAo5pX","(p)");i(/\s:-s/ig,"http://ift.tt/1agc6Je",":-s");i(/\s\(m\)+/ig,"http://ift.tt/1eAo5pZ","(m)");i(/\s8-\)+/ig,"http://ift.tt/1agc6Ji","8-)");i(/\s:-t/ig,"http://ift.tt/1eAo5q1",":-t");i(/\s:-b/ig,"http://ift.tt/1agc44b",":-b");i(/\sb-\(+/ig,"http://ift.tt/1eAo5X1","b-(");i(/\s:-#/ig,"http://ift.tt/1agc4kp",":-#");i(/\s=p~/ig,"http://ift.tt/1eAo5q3","=p~");i(/\s\$-\)+/ig,"http://ift.tt/1agc4kr","$-)");i(/\s\(b\)+/ig,"http://ift.tt/1eAo5q5","(b)");i(/\s\(f\)+/ig,"http://ift.tt/1agc4kv'","(f)");i(/\sx-\)+/ig,"http://ift.tt/1eAo5X5","x-)");i(/\s\(k\)+/ig,"http://ift.tt/1agc6ZC","(k)");i(/\s\(h\)+/ig,"http://ift.tt/1eAo5q7","(h)");i(/\s\(c\)+/ig,"http://ift.tt/1agc6ZE","(c)");i(/\scheer/ig,"http://ift.tt/1eAo5Gl","cheer");$("div.emoWrap").one("click",function(){if(a){alert(a)}});$(".emo").css("cursor","pointer").on("click",function(c){$(".emoKey").remove();$(this).after('
";$(f).html(c);a=$("#labelxnya .box-wrap").antiscroll().data("antiscroll");a.refresh()}else{$(f).html("No Label!")}},"jsonp");$(".xitem1 .liat").click(function(){$("#labelxnya").slideToggle("fast");$(this).toggleClass("active");a.refresh();return false})};return function(a){b(a)}})(); //Ajax JSON NewsTicker by MKR function NewsTicker(a){(function(b){var c={blogURL:"",MaxPost:10,Speed:0.1,direction:"ltr",titleText:"Berita",displayType:"reveal",Container:"#newsticker",tagName:false,MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]};c=b.extend({},c,a);b(c.Container).addClass("loading");b.get((c.blogURL===""?window.location.protocol+"//"+window.location.host:c.blogURL)+"/feeds/posts/summary"+(c.tagName===false?"":"/-/"+c.tagName)+"?max-results="+c.MaxPost+"&orderby=published&alt=json-in-script",function(t){var v,f,l,o,w,p,h,e,s,u,n,g="",d=t.feed.entry;if(d!==undefined){for(var r=0,k=d.length;r<12?"AM":"PM");if(e===0){e=12}if(e>12){e=e-12}g+='
'+g+"
").removeClass("loading");b("#newstick").ticker({speed:c.Speed,direction:c.direction,titleText:c.titleText,displayType:c.displayType})}else{b(c.Container).html("No result!").removeClass("loading")}},"jsonp")})(jQuery)}; //Ajax JSON Related Post by MKR function relatedPostsWidget(a){(function(e){var f={blogURL:"",maxPosts:5,maxTags:5,maxPostsPerTag:5,containerSelector:"#related_posts",tags:null,loadingText:"",loadingClass:"loadingxx",relevantTip:"",ShowComment:true,ShowDate:true,DateFloat:false,ShowDesc:true,rlt_summary:100,relatedTitle:"Related Posts",readMoretext:"Read more »",rlpBlank:"http://ift.tt/1hfN1Co",rlt_thumb:70,recentTitle:"Recent Posts",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],postScoreClass:"",onLoad:false};f=e.extend({},f,a);var k=0,b=null,g=null;if(!f.containerSelector){document.write('
');f.containerSelector="#related_posts"}var c=function(A,v){k++;if(A.feed.entry){for(var z=0,o=A.feed.entry.length;z
)<[^<]*)*<\/script>/gi;t=e("").append(q.replace(m,""));F=t.find("img");s=("media$thumbnail" in n)?n.media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+f.rlt_thumb+"-c"):(F.length!=0)?F[0].src:f.rlpBlank;q=q.replace(/<\S[^>]*>/g,"");if(q.length>f.rlt_summary){q=q.substring(0,f.rlt_summary)+"..."}H=n.title.$t;B=n.published.$t.substring(0,10);p=B.substring(0,4);w=B.substring(5,7);E=B.substring(8,10);y=f.MonthNames[parseInt(w,10)-1];if(location.href.toLowerCase()!=D.toLowerCase()){i(D,H,s,q,p,E,y,G)}}}if(k>=f.tags.length){g.attr("class","");e("#related-posts-loadingtext",b).remove();if(f.maxPosts>0){e("li:gt("+(f.maxPosts-1)+")",g).remove()}}};var i=function(q,u,w,m,y,v,x,z){var r=e("li",g);for(var p=0,l=r.length;p=0;o--){var n=e("a",r.eq(o));if(j(n)>s){if(p-o>1){r.eq(o).after(r.eq(p))}return}}if(p>0){r.eq(0).before(r.eq(p))}return}}g.append('
")};var j=function(l){var m=parseInt(l.attr("score"));return m>0?m:1};var h=function(l,m){l.attr("score",m);if(f.relevantTip){l.attr("title",f.relevantTip.replace("\d",m))}if(f.postScoreClass){l.attr("class",f.postScoreClass+m)}};var d=function(){if(f.containerSelector!="#related_posts"){var l=e(f.containerSelector);if(l.length!=1){return}b=e('
').appendTo(l)}else{b=e(f.containerSelector)}if(!f.tags){f.tags=[];e('a[rel="tag"]:lt('+f.maxTags+")").each(function(){var n=e.trim(e(this).text().replace(/\n/g,""));if(e.inArray(n,f.tags)==-1){f.tags[f.tags.length]=n}})}if(f.tags.length==0&&!f.recentTitle){return}if(f.tags.length==0){e("
"+f.recentTitle+"
").appendTo(b)}else{if(f.relatedTitle){e("
"+f.relatedTitle+"
").appendTo(b)}}if(f.loadingText){e('
'+f.loadingText+"
").appendTo(b)}g=e("").appendTo(b);if(f.tags.length==0){e.get((f.blogURL===""?window.location.protocol+"//"+window.location.host:f.blogURL)+"/feeds/posts/default?max-results="+f.maxPostsPerTag+"&orderby=published&alt=json-in-script",c,"jsonp")}else{for(var m=0;m
').addClass(d.options.loadingClass);var e=function(v){var y,h,x,p,A,w,q,n,s,z,k="",g=(d.options.RandompostActive===true?shuffleArray(v.feed.entry):v.feed.entry);for(var u=0,m=g.length;u
)<[^<]*)*<\/script>/gi;newdowm=a("").append(x.replace(f,""));imgb=newdowm.find("img");if("media$thumbnail" in g[u]){q=g[u].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+d.options.ImageSize);if(g[u].media$thumbnail.url.indexOf("img.youtube.com")!=-1){q=g[u].media$thumbnail.url.replace("default","0")}}else{if(imgb.length!=0){q=imgb[0].src}else{q=d.options.pBlank}}x=x.replace(/<\S[^>]*>/g,"");if(x.length>d.options.Summarylength){x=x.substring(0,d.options.Summarylength)+"..."}h=g[u].title.$t;w=g[u].published.$t.substring(0,10);n=w.substring(0,4);s=w.substring(5,7);z=w.substring(8,10);nmbln=d.options.MonthNames[parseInt(s,10)-1];k+='
"}d.$el.find("ul.featpost").append(k);d.$el.find(".featuredpost").flexslider({animation:d.options.animation,selector:".featpost > li",animationLoop:true,mousewheel:true,slideshowSpeed:d.options.slideSpeed,before:function(){d.$el.find(".labeltext").stop().animate({left:-600,opacity:0},1000);d.$el.find(".titlex").stop().animate({left:700,opacity:0},1000)},after:function(){d.$el.find(".labeltext").stop().animate({left:0,opacity:1},1000);d.$el.find(".titlex").stop().animate({left:10,opacity:1},1000)}});d.$el.removeClass(d.options.loadingClass)};if(d.options.RandompostActive===true){a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results=0&orderby=published&alt=json-in-script",function(f){var g=(d.options.MaxPost>f.feed.openSearch$totalResults.$t)?1:getRandomInt(1,(f.feed.openSearch$totalResults.$t-d.options.MaxPost));a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&start-index="+g+"&alt=json-in-script",e,"jsonp")},"jsonp")}else{a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&alt=json-in-script",e,"jsonp")}};d.init()};a.AutofeaturedPost.defaultOptions={blogURL:"",MaxPost:4,ImageSize:500,Summarylength:150,slideSpeed:5000,ShowDate:true,ShowComment:true,animation:"slide",NoCommentText:"No Comment",OneCommentText:"Comment",CommentText:"Comments",RandompostActive:true,loadingClass:"loadingxx",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pBlank:"http://ift.tt/1hfN01j",tagName:false};a.fn.AutofeaturedPost=function(b){return this.each(function(){(new a.AutofeaturedPost(this,b))})}})(jQuery); //Scroll Top by MKR (function(a){a(window).scroll(function(){if(a(this).scrollTop()>250){a("#top").removeAttr("href");a("#top").stop().animate({height:40,opacity:1},{duration:500,queue:false})}else{a("#top").stop().animate({height:0,opacity:0},{duration:500,queue:false})}});a(function(){a("#top").click(function(){a("html, body").animate({scrollTop:0},"slow");return false})})})(jQuery); //Ajax JSON Recent Commnet function RecentComments(a){(function(b){var c={blogURL:"",numComments:4,characters:100,id_containrc:"#rcentcomnets",avatarSize:50,loadingClass:"loadingxx",Showimage:true,defaultAvatar:"http://ift.tt/1afqgwl",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],maxfeeds:50,adminBlog:""};c=b.extend({},c,a);b(c.id_containrc).addClass(c.loadingClass);b.get((c.blogURL===""?window.location.protocol+"//"+window.location.host:c.blogURL)+"/feeds/comments/default?alt=json-in-script&orderby=published",function(y){var e,d=y.feed.entry;if(d!==undefined){e="
- ";ntotal=0;for(var x=0;x=c.numComments){break}var g=d[x];for(var t=0;t ':"");var q=n.lastIndexOf("/")+1,s=n.lastIndexOf("."),E=n.split("-").join(" ").substring(q,s)+"...";D=g.published.$t.substring(0,10);var p=D.substring(0,4),u=D.substring(5,7),A=D.substring(8,10),v=c.MonthNames[parseInt(u,10)-1],o=g.published.$t.substring(11,16),h=o.substring(0,2),w=o.substring(2,5);if(h<12){r="AM"}else{r="PM"}if(h===0){h=12}if(h>12){h=h-12}e+='
";var m=g.content.$t;var f=m.replace(/(<([^>]+)>)/gi,"");if(f!==""&&f.length>c.characters){f=f.substring(0,c.characters);f+="..."}else{f=f}e+=(c.characters>0?""+f+"
":"");e+=" - "}}e+="
";b(c.id_containrc).html(e).removeClass(c.loadingClass)}else{b(c.id_containrc).html("No result!").removeClass(c.loadingClass)}},"jsonp")})(jQuery)}; //Manual Featured Post by MKR function manualfeaturedPost(a){(function(d){var f={slideSpeed:5000,animation:"slide"};f=d.extend({},f,a);var b,e,c;b=d("#main-top-manualslide");e=b.children(".Image");c=e.length;if(c){b.append('
');e.each(function(){var k,j,i,g,h=d(this);k=h.find("h2").text();j=h.find(".widget-content img").attr("src");i=h.find(".widget-content a").attr("href");g=h.find(".caption").text();d("
").append('
").appendTo("#main-top-manualslide ul.featpost");d(this).remove()});d("#main-top-manualslide .featuredpost").flexslider({animation:f.animation,selector:".featpost > li",animationLoop:true,mousewheel:true,slideshowSpeed:f.slideSpeed,before:function(){d("#main-top-manualslide").find(".labeltext").stop().animate({left:-600,opacity:0},1000);d("#main-top-manualslide").find(".titlex").stop().animate({left:700,opacity:0},1000)},after:function(){d("#main-top-manualslide").find(".labeltext").stop().animate({left:0,opacity:1},1000);d("#main-top-manualslide").find(".titlex").stop().animate({left:10,opacity:1},1000)}})}})(jQuery)}; //]]>
/gi;function b(j){d.getScript("http://"+j+"http://.disqus.com/blogger_index.js")}function e(){if(i.loading){return}i.loading=true;if(!i.olderPostsLink){i.loadMoreDiv.hide();return}i.loadMoreDiv.find("a").hide();i.loadMoreDiv.find("img").show();d.get(i.olderPostsLink,"html").done(function(l){var j=d("").append(l.replace(c,""));var k=j.find("a.blog-pager-older-link");if(k){i.olderPostsLink=k.attr("href")}else{i.olderPostsLink="";i.loadMoreDiv.hide()}var m=j.find(i.postContainerSelector).children(".date-outer");m.find(".post-summary").each(function(){var n,B,o,t,u,y,r,C="",q="";B=d(this).parent(".post-body");o=B.children("textarea").val();r=o.replace(/<(.*?)>/g,"").replace(/[\n\r]+/g," ");u=d("").append(o.replace(c,""));t=u.find("img");iframex=u.find("iframe");parens=d(this).parents(".post");y=parens.find(".post-title.entry-title a").attr("href");titlex=parens.find(".post-title.entry-title a").text();if(t.length===0&&iframex.length===0){n=' '}else{if(t.length===0&&iframex.length>0){var v=iframex[0].src;if(v.indexOf("youtube.com")!=-1||v.indexOf("youtu.be")!=-1){var x=v.match(/(\?v=|\&v=|\/\d\/|\/embed\/|\/v\/|\.be\/)([a-zA-Z0-9\-\_]+)/);n=' '}else{n=' '}}else{if(i.slideffect===true&&t.length>1){var p=(i.maxImage>t.length?t.length:i.maxImage);for(var w=0,A=p;w
'}n='
'+C+"
";var s=d(this).attr("id");setTimeout(function(){d("#"+s+" .slideximg").flexslider({animation:"fade",selector:".imgslide > li",slideshowSpeed:i.slideSpeed})},20)}else{n=' '}}}q=n+'
"+r.substring(0,i.summaryLength)+"…
";d(this).html(q)});d(i.postContainerSelector).append(m);datenya({monthName:i.monthName});viewMode({viewmodedefault:i.viewmodedefault,cookielist:i.cookielist,cookiegrid:i.cookiegrid});if(window._gaq){window._gaq.push(["_trackPageview",i.olderPostsLink])}if(window.gapi&&window.gapi.plusone&&window.gapi.plusone.go){window.gapi.plusone.go()}if(window.disqus_shortname){b(window.disqus_shortname)}if(window.FB&&window.FB.XFBML&&window.FB.XFBML.parse){window.FB.XFBML.parse()}i.loadMoreDiv.find("img").hide();i.loadMoreDiv.find("a").show();i.loading=false});return false}function h(){if(_WidgetManager._GetAllData().blog.pageType=="item"){return}i.olderPostsLink=d("a.blog-pager-older-link").attr("href");if(!i.olderPostsLink){return}var k=d('');i.loadMoreDiv=d('
');i.loadMoreDiv.append(k);i.loadMoreDiv.append(j);i.loadMoreDiv.insertBefore(d("#blog-pager"));d("#blog-pager").hide()}f.ready(h)})(jQuery)}; // Ajax Page Navigation by MKR function pageNavi(a){(function(e){var i={postperpage:6,numshowpage:3,previous:"«",next:"»",loadAjax:true,thumbnailSize:"s180-c",summaryLength:200,viewmodedefault:"grid",cookielist:"list",cookiegrid:"grid",monthName:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],slideffect:true,maxImage:5,slideSpeed:5000,BackupImage:"http://ift.tt/1hfN01j"};i=e.extend({},i,a);var g="/";var d=location.href;var k;var l;var j;var f;var m=function(n){var s="";nomerkiri=parseInt(i.numshowpage/2);if(nomerkiri==i.numshowpage-nomerkiri){i.numshowpage=nomerkiri*2+1}mulai=j-nomerkiri;if(mulai<1){mulai=1}maksimal=parseInt(n/i.postperpage)+1;if(maksimal-1==n/i.postperpage){maksimal=maksimal-1}akhir=mulai+i.numshowpage-1;if(akhir>maksimal){akhir=maksimal}var u=parseInt(j)-1;if(j>1){if(j==2){if(l=="page"){s+=' '+i.previous+""}else{s+=''+i.previous+" "}}}if(mulai>1){if(l=="page"){s+='1 '}else{s+='1 '}}if(mulai>2){s+=' ... '}for(var t=mulai;t<=akhir;t++){if(j==t){s+=''+t+""}else{if(t==1){if(l=="page"){s+='1 '}else{s+=''+t+" "}else{s+=''+t+" "}}}}if(akhir'+maksimal+" "}else{s+=''+maksimal+" "}}var q=parseInt(j)+1;if(j'+i.next+" "}else{s+=''+i.next+" "}}var r=document.getElementsByName("pageArea");var o=document.getElementById("blog-pager");for(var v=0;v0){s=""}if(o){o.innerHTML=s}e("#blog-pager").css("display","block");e("#blog-pager a.xpagex, #blog-pager a.xlabelx").click(function(){if(i.loadAjax){e(".loadingpost").show()}var p=e(this).attr("alt");jsonstart=(p-1)*i.postperpage;k=p;if(l=="page"){e.get(g+"feeds/posts/summary?start-index="+jsonstart+"&max-results=1&alt=json-in-script",h,"jsonp")}else{e.get(g+"feeds/posts/summary/-/"+f+"?start-index="+jsonstart+"&max-results=1&alt=json-in-script",h,"jsonp")}return false});e(".loadingpost").hide()};var b=function(n){var p=n.feed;var o=parseInt(p.openSearch$totalResults.$t,10);m(o)};var c=function(){var n=d;if(n.indexOf("/search/label/")!=-1){if(n.indexOf("?updated-max")!=-1){f=n.substring(n.indexOf("/search/label/")+14,n.indexOf("?updated-max"))}else{if(n.indexOf("?&max")!=-1){f=n.substring(n.indexOf("/search/label/")+14,n.indexOf("?&max"))}else{f=n.substr(n.lastIndexOf("/"))}}}if(n.indexOf("?q=")==-1&&n.indexOf(".html")==-1){if(n.indexOf("/search/label/")==-1){l="page";if(d.indexOf("#PageNo=")!=-1){j=d.substring(d.indexOf("#PageNo=")+8,d.length)}else{j=1}e.get(g+"feeds/posts/summary?max-results=1&alt=json-in-script",b,"jsonp")}else{l="label";if(n.indexOf("&max-results=")==-1){i.postperpage=20}if(d.indexOf("#PageNo=")!=-1){j=d.substring(d.indexOf("#PageNo=")+8,d.length)}else{j=1}e.get(g+"feeds/posts/summary/-/"+f+"?max-results=1&alt=json-in-script",b,"jsonp")}}};c();var h=function(o){post=o.feed.entry[0];var n=post.published.$t.substring(0,19)+post.published.$t.substring(23,29);var s=encodeURIComponent(n);if(l=="page"){var p="/search?updated-max="+s+"&max-results="+i.postperpage+"#PageNo="+k}else{var p="/search/label/"+f+"?updated-max="+s+"&max-results="+i.postperpage+"#PageNo="+k}if(!i.loadAjax){location.href=p}else{var r=function(t){e.getScript("http://"+t+"http://.disqus.com/blogger_index.js")};var q=/
)<[^<]*)*<\/script>/gi;e.get(p,"html").done(function(u){var t=e("").append(u.replace(q,""));var v=t.find("div.blog-posts").children(".date-outer");v.find(".post-summary").each(function(){var w,K,x,D,E,I,B,L="",A="";K=e(this).parent(".post-body");x=K.children("textarea").val();B=x.replace(/<(.*?)>/g,"").replace(/[\n\r]+/g," ");E=e("").append(x.replace(q,""));D=E.find("img");iframex=E.find("iframe");parens=e(this).parents(".post");I=parens.find(".post-title.entry-title a").attr("href");titlex=parens.find(".post-title.entry-title a").text();if(D.length===0&&iframex.length===0){w=' '}else{if(D.length===0&&iframex.length>0){var F=iframex[0].src;if(F.indexOf("youtube.com")!=-1||F.indexOf("youtu.be")!=-1){var H=F.match(/(\?v=|\&v=|\/\d\/|\/embed\/|\/v\/|\.be\/)([a-zA-Z0-9\-\_]+)/);w=' '}else{w=' '}}else{if(i.slideffect===true&&D.length>1){var y=(i.maxImage>D.length?D.length:i.maxImage);for(var G=0,J=y;G
'}w='
'+L+"
";var C=e(this).attr("id");setTimeout(function(){e("#"+C+" .slideximg").flexslider({animation:"fade",selector:".imgslide > li",slideshowSpeed:i.slideSpeed})},20)}else{w=' '}}}A=w+'
"+B.substring(0,i.summaryLength)+"…
";e(this).html(A)});e("div.blog-posts").html(v);datenya({monthName:i.monthName});viewMode({viewmodedefault:i.viewmodedefault,cookielist:i.cookielist,cookiegrid:i.cookiegrid});d=p;c();if(window._gaq){window._gaq.push(["_trackPageview",i.olderPostsLink])}if(window.gapi&&window.gapi.plusone&&window.gapi.plusone.go){window.gapi.plusone.go()}if(window.disqus_shortname){r(window.disqus_shortname)}if(window.FB&&window.FB.XFBML&&window.FB.XFBML.parse){window.FB.XFBML.parse()}})}}})(jQuery)}; // Ajax JSON Search box by Taufik url http://ift.tt/1agc3Nt modif by MKR: function searchxx(a){(function(d){var f={blogURL:"",srcBlank:"http://ift.tt/1hfN1Co",findText:"Search results for keyword",NotfindText:"No result!",Showthumb:true,LoadingText:"Searching...",scrthumbSize:50,summaryLength:100};f=d.extend({},f,a);var b=d("#ajax-search-form"),e=b.find(":text");b.append('
');var c=d("#search-result");b.on("submit",function(){var g=e.val();c.show().html('
'+f.LoadingText+"
");d.get((f.blogURL===""?window.location.protocol+"//"+window.location.host:f.blogURL)+"/feeds/posts/default?alt=json-in-script&q="+g+"&max-results=9999",function(x){var v=x.feed.entry,s,r,u,t,h,l,n="";if(v!==undefined){n="
"+f.findText+" ""+g+""
";n+='×
";c.html(n);var q=d("#search-result .box-wrap").antiscroll().data("antiscroll");q.refresh()}else{c.html('
').addClass(d.options.loadingClass);var e=function(F){var I,n,H,w,L,y,K,x,v,B,J,D,G,q="",k=(d.options.Random===true?shuffleArray(F.feed.entry):F.feed.entry);if(k!==undefined){var u=d.$el.find(".recntmore");var g=d.$el.find("ul li");var t=k.length;for(var E=0;E )<[^<]*)*<\/script>/gi;y=a("").append(H.replace(h,""));K=y.find("img");if("media$thumbnail" in k[E]){x=k[E].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/"+d.options.ImageSize);if(k[E]===k[0]&&d.options.postType!=="s"){x=k[E].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/"+d.options.FirstImageSize)}else{if(k[E].media$thumbnail.url.indexOf("img.youtube.com")!=-1){x=k[E].media$thumbnail.url.replace("default","0")}}}else{if(K.length!=0){x=K[0].src}else{x=d.options.pBlank}}H=H.replace(/<\S[^>]*>/g,"");if(H.length>d.options.Summarylength){H=H.substring(0,d.options.Summarylength)+"..."}n=k[E].title.$t;G=k[E].published.$t.substring(0,10);v=G.substring(0,4);B=G.substring(5,7);J=G.substring(8,10);D=d.options.MonthNames[parseInt(B,10)-1];q+='
"+(k[E]===k[0]&&d.options.postType!=="s"&&!g.length?'
':"")+(k[E]===k[t+1]&&d.options.postType!=="s"&&!g.length?"
"+s+"
":"")}if(u.length){d.$el.find(".recntright ul").append(q);d.$el.find(".box-wrap").antiscroll().data("antiscroll").refresh()}else{a("ul",d.$el).append(q)}if(d.options.postType==="s"){var r=a(c).parents(".widget");var M=r.children("h2");if(d.options.tagName!=false){M.wrapInner(' ')}var p,m;var o=d.$el.width();if(o<300){m=1;p=o/m}else{if(o<450){m=2;p=o/m}else{if(o<700){m=3;p=o/m}else{m=4;p=o/m}}}a(".rcbytag",d.$el).flexslider({animation:"slide",selector:".rcentpost > li",animationLoop:true,itemWidth:p,minItems:1,move:m,mousewheel:true,maxItems:4})}else{var s=(d.options.tagName!==false?'
":'
");if(!u.length){d.$el.find(".recntright").append(s);d.$el.find(".box-wrap").antiscroll().data("antiscroll");if(!d.options.AjaxLoad){a(".morepostag.rect").hide()}}if(g.length+d.options.MaxPost>=F.feed.openSearch$totalResults.$t){d.$el.find(".morepostag").hide()}d.$el.find(".morepostag a.recntmore").removeClass("loadingnya")}d.$el.removeClass(d.options.loadingClass)}else{d.$el.html("No result! Or Error Loading Feed")}};if(d.options.Random===true){a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results=0&orderby=published&alt=json-in-script",function(g){var h=(d.options.MaxPost>g.feed.openSearch$totalResults.$t)?1:getRandomInt(1,(g.feed.openSearch$totalResults.$t-d.options.MaxPost));a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&start-index="+h+"&alt=json-in-script",e,"jsonp")},"jsonp")}else{var f=a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&alt=json-in-script",e,"jsonp");a.when(f).done(function(){if(d.options.AjaxLoad){d.$el.find(".morepostag a.recntmore").click(function(){d.$el.find(".morepostag a.recntmore").addClass("loadingnya");var h=d.$el.find("ul li");var g=h.length+1;a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&start-index="+g+"&alt=json-in-script",e,"jsonp");return false})}})}};d.init()};a.RecentPostbyTag.defaultOptions={blogURL:"",MaxPost:5,FirstImageSize:"s220-p",ImageSize:"s80-p",ShowDesc:false,ShowDate:true,ShowComment:true,Random:false,Summarylength:100,MoreText:"View All About",LoadMoreText:"Load More Post",MoreNumPost:6,AjaxLoad:true,postType:"v",loadingClass:"loadingxx",pBlank:"http://ift.tt/1hfN01j",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tagName:false};a.fn.RecentPostbyTag=function(b){return this.each(function(){(new a.RecentPostbyTag(this,b))})}})(jQuery); //Emoticon by MKR window.emoticonx=(function(){var b=function(m){var j=m||{},l=j.emoRange||"#comments p, div.emoWrap",k=j.putEmoAbove||"iframe#comment-editor",h=j.topText||"Click to see the code!",a=j.emoMessage||"To insert emoticon you must added at least one space before the code.";$(k).before('
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
'+h+"
"+a+"
");var i=function(c,d,e){$(l).each(function(){$(this).html($(this).html().replace(/
:/g,"
:").replace(/
;/g,"
;").replace(/
=/g,"
=").replace(/
\^/g,"
^").replace(c," "))})};i(/\s:\)\)+/g,"http://ift.tt/1eAo59x",":))");i(/\s;\(\(+/g,"http://ift.tt/1agc6J2",";((");i(/\s:\)+/g,"http://ift.tt/1eAo31r",":)");i(/\s:-\)+/g,"http://ift.tt/1agc6J4",":-)");i(/\s=\)\)+/g,"http://ift.tt/1eAo31t","=))");i(/\s;\(+/g,"http://ift.tt/1agc3NE",";(");i(/\s;-\(+/g,"http://ift.tt/1eAo59B",";-(");i(/\s:d/ig,"http://ift.tt/1agc43U",":d");i(/\s:-d/ig,"http://ift.tt/1eAo5WR",":-d");i(/\s@-\)+/g,"http://ift.tt/1agc43Y","@-)");i(/\s:p/ig,"http://ift.tt/1eAo5WT",":p");i(/\s:o/ig,"http://ift.tt/1agc6J8",":o");i(/\s:>\)+/g,"http://ift.tt/1eAo5WV",":>)");i(/\s\(o\)+/ig,"http://ift.tt/1agc6Ja","(o)");i(/\s\[-\(+/g,"http://ift.tt/1eAo5pT","[-(");i(/\s:-\?/g,"http://ift.tt/1agc6Jc",":-?");i(/\s\(p\)+/ig,"http://ift.tt/1eAo5pX","(p)");i(/\s:-s/ig,"http://ift.tt/1agc6Je",":-s");i(/\s\(m\)+/ig,"http://ift.tt/1eAo5pZ","(m)");i(/\s8-\)+/ig,"http://ift.tt/1agc6Ji","8-)");i(/\s:-t/ig,"http://ift.tt/1eAo5q1",":-t");i(/\s:-b/ig,"http://ift.tt/1agc44b",":-b");i(/\sb-\(+/ig,"http://ift.tt/1eAo5X1","b-(");i(/\s:-#/ig,"http://ift.tt/1agc4kp",":-#");i(/\s=p~/ig,"http://ift.tt/1eAo5q3","=p~");i(/\s\$-\)+/ig,"http://ift.tt/1agc4kr","$-)");i(/\s\(b\)+/ig,"http://ift.tt/1eAo5q5","(b)");i(/\s\(f\)+/ig,"http://ift.tt/1agc4kv'","(f)");i(/\sx-\)+/ig,"http://ift.tt/1eAo5X5","x-)");i(/\s\(k\)+/ig,"http://ift.tt/1agc6ZC","(k)");i(/\s\(h\)+/ig,"http://ift.tt/1eAo5q7","(h)");i(/\s\(c\)+/ig,"http://ift.tt/1agc6ZE","(c)");i(/\scheer/ig,"http://ift.tt/1eAo5Gl","cheer");$("div.emoWrap").one("click",function(){if(a){alert(a)}});$(".emo").css("cursor","pointer").on("click",function(c){$(".emoKey").remove();$(this).after('
";$(f).html(c);a=$("#labelxnya .box-wrap").antiscroll().data("antiscroll");a.refresh()}else{$(f).html("No Label!")}},"jsonp");$(".xitem1 .liat").click(function(){$("#labelxnya").slideToggle("fast");$(this).toggleClass("active");a.refresh();return false})};return function(a){b(a)}})(); //Ajax JSON NewsTicker by MKR function NewsTicker(a){(function(b){var c={blogURL:"",MaxPost:10,Speed:0.1,direction:"ltr",titleText:"Berita",displayType:"reveal",Container:"#newsticker",tagName:false,MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]};c=b.extend({},c,a);b(c.Container).addClass("loading");b.get((c.blogURL===""?window.location.protocol+"//"+window.location.host:c.blogURL)+"/feeds/posts/summary"+(c.tagName===false?"":"/-/"+c.tagName)+"?max-results="+c.MaxPost+"&orderby=published&alt=json-in-script",function(t){var v,f,l,o,w,p,h,e,s,u,n,g="",d=t.feed.entry;if(d!==undefined){for(var r=0,k=d.length;r<12?"AM":"PM");if(e===0){e=12}if(e>12){e=e-12}g+='
'+g+"
").removeClass("loading");b("#newstick").ticker({speed:c.Speed,direction:c.direction,titleText:c.titleText,displayType:c.displayType})}else{b(c.Container).html("No result!").removeClass("loading")}},"jsonp")})(jQuery)}; //Ajax JSON Related Post by MKR function relatedPostsWidget(a){(function(e){var f={blogURL:"",maxPosts:5,maxTags:5,maxPostsPerTag:5,containerSelector:"#related_posts",tags:null,loadingText:"",loadingClass:"loadingxx",relevantTip:"",ShowComment:true,ShowDate:true,DateFloat:false,ShowDesc:true,rlt_summary:100,relatedTitle:"Related Posts",readMoretext:"Read more »",rlpBlank:"http://ift.tt/1hfN1Co",rlt_thumb:70,recentTitle:"Recent Posts",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],postScoreClass:"",onLoad:false};f=e.extend({},f,a);var k=0,b=null,g=null;if(!f.containerSelector){document.write('
');f.containerSelector="#related_posts"}var c=function(A,v){k++;if(A.feed.entry){for(var z=0,o=A.feed.entry.length;z
)<[^<]*)*<\/script>/gi;t=e("").append(q.replace(m,""));F=t.find("img");s=("media$thumbnail" in n)?n.media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+f.rlt_thumb+"-c"):(F.length!=0)?F[0].src:f.rlpBlank;q=q.replace(/<\S[^>]*>/g,"");if(q.length>f.rlt_summary){q=q.substring(0,f.rlt_summary)+"..."}H=n.title.$t;B=n.published.$t.substring(0,10);p=B.substring(0,4);w=B.substring(5,7);E=B.substring(8,10);y=f.MonthNames[parseInt(w,10)-1];if(location.href.toLowerCase()!=D.toLowerCase()){i(D,H,s,q,p,E,y,G)}}}if(k>=f.tags.length){g.attr("class","");e("#related-posts-loadingtext",b).remove();if(f.maxPosts>0){e("li:gt("+(f.maxPosts-1)+")",g).remove()}}};var i=function(q,u,w,m,y,v,x,z){var r=e("li",g);for(var p=0,l=r.length;p=0;o--){var n=e("a",r.eq(o));if(j(n)>s){if(p-o>1){r.eq(o).after(r.eq(p))}return}}if(p>0){r.eq(0).before(r.eq(p))}return}}g.append('
")};var j=function(l){var m=parseInt(l.attr("score"));return m>0?m:1};var h=function(l,m){l.attr("score",m);if(f.relevantTip){l.attr("title",f.relevantTip.replace("\d",m))}if(f.postScoreClass){l.attr("class",f.postScoreClass+m)}};var d=function(){if(f.containerSelector!="#related_posts"){var l=e(f.containerSelector);if(l.length!=1){return}b=e('
').appendTo(l)}else{b=e(f.containerSelector)}if(!f.tags){f.tags=[];e('a[rel="tag"]:lt('+f.maxTags+")").each(function(){var n=e.trim(e(this).text().replace(/\n/g,""));if(e.inArray(n,f.tags)==-1){f.tags[f.tags.length]=n}})}if(f.tags.length==0&&!f.recentTitle){return}if(f.tags.length==0){e("
"+f.recentTitle+"
").appendTo(b)}else{if(f.relatedTitle){e("
"+f.relatedTitle+"
").appendTo(b)}}if(f.loadingText){e('
'+f.loadingText+"
").appendTo(b)}g=e("").appendTo(b);if(f.tags.length==0){e.get((f.blogURL===""?window.location.protocol+"//"+window.location.host:f.blogURL)+"/feeds/posts/default?max-results="+f.maxPostsPerTag+"&orderby=published&alt=json-in-script",c,"jsonp")}else{for(var m=0;m
').addClass(d.options.loadingClass);var e=function(v){var y,h,x,p,A,w,q,n,s,z,k="",g=(d.options.RandompostActive===true?shuffleArray(v.feed.entry):v.feed.entry);for(var u=0,m=g.length;u
)<[^<]*)*<\/script>/gi;newdowm=a("").append(x.replace(f,""));imgb=newdowm.find("img");if("media$thumbnail" in g[u]){q=g[u].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+d.options.ImageSize);if(g[u].media$thumbnail.url.indexOf("img.youtube.com")!=-1){q=g[u].media$thumbnail.url.replace("default","0")}}else{if(imgb.length!=0){q=imgb[0].src}else{q=d.options.pBlank}}x=x.replace(/<\S[^>]*>/g,"");if(x.length>d.options.Summarylength){x=x.substring(0,d.options.Summarylength)+"..."}h=g[u].title.$t;w=g[u].published.$t.substring(0,10);n=w.substring(0,4);s=w.substring(5,7);z=w.substring(8,10);nmbln=d.options.MonthNames[parseInt(s,10)-1];k+='
"}d.$el.find("ul.featpost").append(k);d.$el.find(".featuredpost").flexslider({animation:d.options.animation,selector:".featpost > li",animationLoop:true,mousewheel:true,slideshowSpeed:d.options.slideSpeed,before:function(){d.$el.find(".labeltext").stop().animate({left:-600,opacity:0},1000);d.$el.find(".titlex").stop().animate({left:700,opacity:0},1000)},after:function(){d.$el.find(".labeltext").stop().animate({left:0,opacity:1},1000);d.$el.find(".titlex").stop().animate({left:10,opacity:1},1000)}});d.$el.removeClass(d.options.loadingClass)};if(d.options.RandompostActive===true){a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results=0&orderby=published&alt=json-in-script",function(f){var g=(d.options.MaxPost>f.feed.openSearch$totalResults.$t)?1:getRandomInt(1,(f.feed.openSearch$totalResults.$t-d.options.MaxPost));a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&start-index="+g+"&alt=json-in-script",e,"jsonp")},"jsonp")}else{a.get((d.options.blogURL===""?window.location.protocol+"//"+window.location.host:d.options.blogURL)+"/feeds/posts/default"+(d.options.tagName===false?"":"/-/"+d.options.tagName)+"?max-results="+d.options.MaxPost+"&orderby=published&alt=json-in-script",e,"jsonp")}};d.init()};a.AutofeaturedPost.defaultOptions={blogURL:"",MaxPost:4,ImageSize:500,Summarylength:150,slideSpeed:5000,ShowDate:true,ShowComment:true,animation:"slide",NoCommentText:"No Comment",OneCommentText:"Comment",CommentText:"Comments",RandompostActive:true,loadingClass:"loadingxx",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pBlank:"http://ift.tt/1hfN01j",tagName:false};a.fn.AutofeaturedPost=function(b){return this.each(function(){(new a.AutofeaturedPost(this,b))})}})(jQuery); //Scroll Top by MKR (function(a){a(window).scroll(function(){if(a(this).scrollTop()>250){a("#top").removeAttr("href");a("#top").stop().animate({height:40,opacity:1},{duration:500,queue:false})}else{a("#top").stop().animate({height:0,opacity:0},{duration:500,queue:false})}});a(function(){a("#top").click(function(){a("html, body").animate({scrollTop:0},"slow");return false})})})(jQuery); //Ajax JSON Recent Commnet function RecentComments(a){(function(b){var c={blogURL:"",numComments:4,characters:100,id_containrc:"#rcentcomnets",avatarSize:50,loadingClass:"loadingxx",Showimage:true,defaultAvatar:"http://ift.tt/1afqgwl",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],maxfeeds:50,adminBlog:""};c=b.extend({},c,a);b(c.id_containrc).addClass(c.loadingClass);b.get((c.blogURL===""?window.location.protocol+"//"+window.location.host:c.blogURL)+"/feeds/comments/default?alt=json-in-script&orderby=published",function(y){var e,d=y.feed.entry;if(d!==undefined){e="
- ";ntotal=0;for(var x=0;x=c.numComments){break}var g=d[x];for(var t=0;t ':"");var q=n.lastIndexOf("/")+1,s=n.lastIndexOf("."),E=n.split("-").join(" ").substring(q,s)+"...";D=g.published.$t.substring(0,10);var p=D.substring(0,4),u=D.substring(5,7),A=D.substring(8,10),v=c.MonthNames[parseInt(u,10)-1],o=g.published.$t.substring(11,16),h=o.substring(0,2),w=o.substring(2,5);if(h<12){r="AM"}else{r="PM"}if(h===0){h=12}if(h>12){h=h-12}e+='
";var m=g.content.$t;var f=m.replace(/(<([^>]+)>)/gi,"");if(f!==""&&f.length>c.characters){f=f.substring(0,c.characters);f+="..."}else{f=f}e+=(c.characters>0?""+f+"
":"");e+=" - "}}e+="
";b(c.id_containrc).html(e).removeClass(c.loadingClass)}else{b(c.id_containrc).html("No result!").removeClass(c.loadingClass)}},"jsonp")})(jQuery)}; //Manual Featured Post by MKR function manualfeaturedPost(a){(function(d){var f={slideSpeed:5000,animation:"slide"};f=d.extend({},f,a);var b,e,c;b=d("#main-top-manualslide");e=b.children(".Image");c=e.length;if(c){b.append('
');e.each(function(){var k,j,i,g,h=d(this);k=h.find("h2").text();j=h.find(".widget-content img").attr("src");i=h.find(".widget-content a").attr("href");g=h.find(".caption").text();d("
").append('
").appendTo("#main-top-manualslide ul.featpost");d(this).remove()});d("#main-top-manualslide .featuredpost").flexslider({animation:f.animation,selector:".featpost > li",animationLoop:true,mousewheel:true,slideshowSpeed:f.slideSpeed,before:function(){d("#main-top-manualslide").find(".labeltext").stop().animate({left:-600,opacity:0},1000);d("#main-top-manualslide").find(".titlex").stop().animate({left:700,opacity:0},1000)},after:function(){d("#main-top-manualslide").find(".labeltext").stop().animate({left:0,opacity:1},1000);d("#main-top-manualslide").find(".titlex").stop().animate({left:10,opacity:1},1000)}})}})(jQuery)}; //]]>
Source http://ift.tt/1q4Cw8Q
Comments
Post a Comment