/gi;function b(j){d.getScript("http://"+j+".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").addClass("process");d("#main-wrapper .textlast").hide();d("#main-wrapper .xitem1").append('Loading...');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,w,o,s,r,v,q,p="";w=d(this).parent(".post-body");o=w.children("textarea").val();q=o.replace(/<(.*?)>/g,"").replace(/[\n\r]+/g," ");s=d("").append(o.replace(c,""));r=s.find("img");iframex=s.find("iframe");parens=d(this).parents(".post");v=parens.find(".post-title.entry-title a").attr("href");titlex=parens.find(".post-title.entry-title a").text();if(r.length===0&&iframex.length===0){n=''}else{if(r.length===0&&iframex.length>0){var t=iframex[0].src;var u=t.match(/(\?v=|\&v=|\/\d\/|\/embed\/|\/v\/|\.be\/)([a-zA-Z0-9\-\_]+)/);n=''}else{n=''}}p=n+'
"+q.substring(0,i.summaryLength)+"…
";d(this).html(p)});d(i.postContainerSelector).append(m);datenya(d);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("a").removeClass("process");d("#main-wrapper .xitem1 .load").remove();d("#main-wrapper .textlast").show();i.loading=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 j=d('
- ";ntotal=0;for(var y=0;y=d.options.numComments){break}var h=e[y];for(var u=0;u':"");var r=o.lastIndexOf("/")+1,t=o.lastIndexOf("."),F=o.split("-").join(" ").substring(r,t)+"...";E=h.published.$t.substring(0,10);var q=E.substring(0,4),v=E.substring(5,7),B=E.substring(8,10),w=d.options.MonthNames[parseInt(v,10)-1],p=h.published.$t.substring(11,16),j=p.substring(0,2),x=p.substring(2,5);if(j<12){s="AM"}else{s="PM"}if(j===0){j=12}if(j>12){j=j-12}f+=' ";n=("content" in h)?h.content.$t:("summary" in h)?h.summary.$t:"";var g=n.replace(/(<([^>]+)>)/gi,"");if(g!==""&&g.length>d.options.characters){g=g.substring(0,d.options.characters);g+="..."}else{g=g}f+=(d.options.characters>0?"
"+g+"
":"");f+=" - "}}f+="
";d.$el.html(f).removeClass(d.options.loadingClass)}else{d.$el.html("No result!").removeClass(d.options.loadingClass)}},"jsonp")};d.init()};a.RecentComments.defaultOptions={blogURL:"",numComments:4,characters:100,avatarSize:50,loadingClass:"loadingxx",Showimage:true,defaultAvatar:"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHFz5RpKdvyYXO8FhIOg3Be3xBZ_MJiU35ARf5dkirICNblGCJKgZOuox29neBDEGZf81t7_IerS61Defyo281YvVKUiK2aDKWLiLmxmMVdol4O7LmWk8KvAoMYvTWiBN3nILKkX2mpf2q/s70/user-anonymous-icon.png",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],maxfeeds:50,adminBlog:""};a.fn.RecentComments=function(b){return this.each(function(){(new a.RecentComments(this,b))})}})(jQuery); //Menu Call function menunav(b){b("#mobilenav").click(function(){b("#menunav").slideToggle();b(this).toggleClass("active");return false});b(".sf-menu ul").each(function(){var d=b(this).parent("li");d.append("")});function a(){var d=b(window).width();if(d>979){b("#menunav").css("display","block");b("#menunav").superfish({animation:{height:"show"},animationOut:{height:"hide"}});b(".sf-menu i").css("display","none")}else{if(d<=979&&b("#mobilenav").attr("class")==="active"){b("#menunav").css("display","block");b("#menunav").superfish("destroy");b(".sf-menu i").css("display","block")}else{if(d<=979&&b("#mobilenav").attr("class")!=="active"){b("#menunav").css("display","none");b("#menunav").superfish("destroy");b(".sf-menu i").css("display","block")}}}}a();b(window).resize(a);b(".sf-menu i").click(function(){var d=b(this).parent("li");var e=d.children("ul");e.slideToggle();b(this).toggleClass("active");return false});var c=window.location.href;b("#menunav a").each(function(){if(this.href===c){var d=b(this).parents("li").children("a").addClass("current")}})}; //Ajax JSON Search box by Taufik modif by MKR URL: https://plus.google.com/108949996304093815163/about function searchxx(a){(function(d){var f={blogURL:"",srcBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s1600/grey.gif",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(w){var v=w.feed.entry,r,q,u,s,h,k,m="";if(v!==undefined){m="
"+f.findText+" ""+g+""
";m+='×
- ';for(var o=0;o"+g+"");for(var n=0,t=v[o].link.length;n)<[^<]*)*<\/script>/gi;h=d("").append(r.replace(p,""));k=h.find("img");if("media$thumbnail" in v[o]){q=v[o].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+f.scrthumbSize+"-c")}else{if(k.length!=0){q=k[0].src}else{q=f.srcBlank}}}r=r.replace(/<\S[^>]*>/g,"");if(r.length>f.summaryLength){r=r.substring(0,f.summaryLength)+"..."}r=r.replace(l,""+g+"");m+='
- '+(f.Showthumb===true?'':"")+""+u+""+(f.summaryLength>0?"
"+r+"
":"")+""}m+="
'+k+"
").removeClass("loading");a("#newstick").ticker({speed:d.options.Speed,direction:d.options.direction,titleText:d.options.titleText,displayType:d.options.displayType})}else{d.$el.html("No result!").removeClass("loading")}},"jsonp")};d.init()};a.NewsTicker.defaultOptions={blogURL:"",MaxPost:4,Speed:0.1,direction:"ltr",titleText:"Latest",displayType:"reveal",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]};a.fn.NewsTicker=function(b){return this.each(function(){(new a.NewsTicker(this,b))})}})(jQuery); //Scroll Top by MKR (function(a){a(window).scroll(function(){if(a(this).scrollTop()>280){a("#top").removeAttr("href");a("#top").fadeIn()}else{a("#top").fadeOut()}});a(function(){a("#top").click(function(){a("html, body").animate({scrollTop:0},"slow");return false})})})(jQuery); //Ajax JSON Related Post by MKR function relatedPostsWidget(a){(function(e){var f={blogURL:"",maxPosts:4,maxTags:4,maxPostsPerTag:4,containerSelector:"#related_posts",tags:null,loadingText:"",loadingClass:"loadingxx",relevantTip:"",rlt_summary:100,relatedTitle:"Related Posts",readMoretext:"[...]",rlpBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s1600/grey.gif",rlt_thumb:70,recentTitle:"Recent Posts",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(x,p){k++;if(x.feed.entry){for(var q=0;q)<[^<]*)*<\/script>/gi;l=e("
").append(n.replace(r,""));m=l.find("img");if("media$thumbnail" in v){w=v.media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+f.rlt_thumb+"-c")}else{if(m.length!=0){w=m[0].src}else{w=f.rlpBlank}}n=n.replace(/<\S[^>]*>/g,"");if(n.length>f.rlt_summary){n=n.substring(0,f.rlt_summary)}u=v.title.$t;if(location.href.toLowerCase()!=s.toLowerCase()){i(s,u,w,n)}}}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,t,v,m){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 o=e.trim(e(this).text().replace(/\n/g,""));if(e.inArray(o,f.tags)==-1){f.tags[f.tags.length]=o}})}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 n=0,m=f.tags.length;n
').addClass(d.options.loadingClass);var f=function(h){var m=h.length,l,k;if(m===0){return false}while(--m){l=Math.floor(Math.random()*(m+1));k=h[m];h[m]=h[l];h[l]=k}return h};var g=function(v){var q,k,r,m,u,l="",s=(d.options.RandompostActive===true?f(v.feed.entry):v.feed.entry);for(var o=0,h=s.length;o)<[^<]*)*<\/script>/gi;newdowm=a("
").append(r.replace(p,""));imgb=newdowm.find("img");if("media$thumbnail" in s[o]){u=s[o].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+d.options.ImageSize);if(s[o].media$thumbnail.url.indexOf("img.youtube.com")!=-1){u=s[o].media$thumbnail.url.replace("default","0")}}else{if(imgb.length!=0){u=imgb[0].src}else{u=d.options.pBlank}}r=r.replace(/<\S[^>]*>/g,"");if(r.length>d.options.Summarylength){r=r.substring(0,d.options.Summarylength)+"..."}k=s[o].title.$t;l+='
"}d.$el.find("ul.featpost").append(l);a(".featuredpost",d.$el).flexslider({animation:"fade",selector:".featpost > li",animationLoop:true,mousewheel:true,prevText:"",nextText:"",before:function(){d.$el.find(".labeltext").stop().animate({bottom:-200,opacity:0},1000)},after:function(){d.$el.find(".labeltext").stop().animate({bottom:10,opacity:1},1000)}});d.$el.removeClass(d.options.loadingClass)};var e=function(i,h){return Math.floor(Math.random()*(h-i+1))+i};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(h){var i=(d.options.MaxPost>h.feed.openSearch$totalResults.$t)?1:e(1,(h.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="+i+"&alt=json-in-script",g,"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",g,"jsonp")}};d.init()};a.AutofeaturedPost.defaultOptions={blogURL:"",MaxPost:4,ImageSize:500,Summarylength:150,RandompostActive:false,loadingClass:"loadingxx",pBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s72-c/grey.gif",tagName:"Wags"};a.fn.AutofeaturedPost=function(b){return this.each(function(){(new a.AutofeaturedPost(this,b))})}})(jQuery); //Manual Featured Post (image Widget) by MKR function manualfeaturedPost(b){var a=b("#main-top-manualslide");var c=a.children(".Image");if(c.length>0){a.append('
')}c.each(function(){var e=b(this);var h=e.find("h2").text();var g=e.find(".widget-content img").attr("src");var f=e.find(".widget-content a").attr("href");var d=e.find(".caption").text();b("
").appendTo("#main-top-manualslide ul.featpost");b(this).remove()});if(c.length>0){b("#main-top-manualslide .featuredpost").flexslider({animation:"fade",selector:".featpost > li",animationLoop:true,mousewheel:true,prevText:"",nextText:"",before:function(){b("#manualslidenya").find(".labeltext").stop().animate({bottom:-200,opacity:0},1000)},after:function(){b("#manualslidenya").find(".labeltext").stop().animate({bottom:10,opacity:1},1000)}})}}; //Ajax Recent Post by MKR (function(a){a.RecentPostbyTag=function(c,b){var d=this;d.$el=a(c);d.init=function(){d.options=a.extend({},a.RecentPostbyTag.defaultOptions,b);d.$el.html('
').addClass(d.options.loadingClass);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",function(B){var E,h,D,r,H,t,G,s,q,w,F,y,C,n="",f=B.feed.entry;if(f!==undefined){for(var z=0,p=f.length;z
").append(D.replace(e,""));G=t.find("img");if("media$thumbnail" in f[z]){s=f[z].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/"+d.options.ImageSize);if(f[z]===f[0]&&d.options.postType!=="s"){s=f[z].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/"+d.options.FirstImageSize)}else{if(f[z].media$thumbnail.url.indexOf("img.youtube.com")!=-1){s=f[z].media$thumbnail.url.replace("default","0")}}}else{if(G.length!=0){s=G[0].src}else{s=d.options.pBlank}}D=D.replace(/<\S[^>]*>/g,"");if(D.length>d.options.Summarylength){D=D.substring(0,d.options.Summarylength)+"..."}h=f[z].title.$t;C=f[z].published.$t.substring(0,10);q=C.substring(0,4);w=C.substring(5,7);F=C.substring(8,10);y=d.options.MonthNames[parseInt(w,10)-1];n+='
"}a("ul",d.$el).append(n);if(d.options.postType==="s"){var o=a(c).parents(".widget");var I=o.children("h2");if(d.options.tagName!=false){I.wrapInner('')}var m,g;var k=d.$el.width();if(a(window).width()<479){g=1;m=k/g}else{if(a(window).width()<979){g=2;m=k/g}else{if(a(window).width()<1025){g=3;m=k/g}else{g=4;m=k/g}}}a(".rcbytag",d.$el).flexslider({animation:"slide",selector:".rcentpost > li",animationLoop:true,itemWidth:m,minItems:1,move:g,mousewheel:true,maxItems:4});d.$el.removeClass(d.options.loadingClass)}else{if(d.options.tagName!=false){d.$el.append('
').removeClass(d.options.loadingClass)}}d.$el.removeClass(d.options.loadingClass)}else{d.$el.html("No result! Or Error Loading Feed")}},"jsonp")};d.init()};a.RecentPostbyTag.defaultOptions={blogURL:"",MaxPost:4,FirstImageSize:"s220-p",ImageSize:"s80-p",ShowDesc:false,ShowDate:true,ShowComment:true,Summarylength:100,postType:"v",loadingClass:"loadingxx",pBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s72-c/grey.gif",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); //]]>
/gi;function b(j){d.getScript("http://"+j+".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").addClass("process");d("#main-wrapper .textlast").hide();d("#main-wrapper .xitem1").append('Loading...');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,w,o,s,r,v,q,p="";w=d(this).parent(".post-body");o=w.children("textarea").val();q=o.replace(/<(.*?)>/g,"").replace(/[\n\r]+/g," ");s=d("").append(o.replace(c,""));r=s.find("img");iframex=s.find("iframe");parens=d(this).parents(".post");v=parens.find(".post-title.entry-title a").attr("href");titlex=parens.find(".post-title.entry-title a").text();if(r.length===0&&iframex.length===0){n=''}else{if(r.length===0&&iframex.length>0){var t=iframex[0].src;var u=t.match(/(\?v=|\&v=|\/\d\/|\/embed\/|\/v\/|\.be\/)([a-zA-Z0-9\-\_]+)/);n=''}else{n=''}}p=n+'
"+q.substring(0,i.summaryLength)+"…
";d(this).html(p)});d(i.postContainerSelector).append(m);datenya(d);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("a").removeClass("process");d("#main-wrapper .xitem1 .load").remove();d("#main-wrapper .textlast").show();i.loading=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 j=d('
- ";ntotal=0;for(var y=0;y=d.options.numComments){break}var h=e[y];for(var u=0;u':"");var r=o.lastIndexOf("/")+1,t=o.lastIndexOf("."),F=o.split("-").join(" ").substring(r,t)+"...";E=h.published.$t.substring(0,10);var q=E.substring(0,4),v=E.substring(5,7),B=E.substring(8,10),w=d.options.MonthNames[parseInt(v,10)-1],p=h.published.$t.substring(11,16),j=p.substring(0,2),x=p.substring(2,5);if(j<12){s="AM"}else{s="PM"}if(j===0){j=12}if(j>12){j=j-12}f+=' ";n=("content" in h)?h.content.$t:("summary" in h)?h.summary.$t:"";var g=n.replace(/(<([^>]+)>)/gi,"");if(g!==""&&g.length>d.options.characters){g=g.substring(0,d.options.characters);g+="..."}else{g=g}f+=(d.options.characters>0?"
"+g+"
":"");f+=" - "}}f+="
";d.$el.html(f).removeClass(d.options.loadingClass)}else{d.$el.html("No result!").removeClass(d.options.loadingClass)}},"jsonp")};d.init()};a.RecentComments.defaultOptions={blogURL:"",numComments:4,characters:100,avatarSize:50,loadingClass:"loadingxx",Showimage:true,defaultAvatar:"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHFz5RpKdvyYXO8FhIOg3Be3xBZ_MJiU35ARf5dkirICNblGCJKgZOuox29neBDEGZf81t7_IerS61Defyo281YvVKUiK2aDKWLiLmxmMVdol4O7LmWk8KvAoMYvTWiBN3nILKkX2mpf2q/s70/user-anonymous-icon.png",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],maxfeeds:50,adminBlog:""};a.fn.RecentComments=function(b){return this.each(function(){(new a.RecentComments(this,b))})}})(jQuery); //Menu Call function menunav(b){b("#mobilenav").click(function(){b("#menunav").slideToggle();b(this).toggleClass("active");return false});b(".sf-menu ul").each(function(){var d=b(this).parent("li");d.append("")});function a(){var d=b(window).width();if(d>979){b("#menunav").css("display","block");b("#menunav").superfish({animation:{height:"show"},animationOut:{height:"hide"}});b(".sf-menu i").css("display","none")}else{if(d<=979&&b("#mobilenav").attr("class")==="active"){b("#menunav").css("display","block");b("#menunav").superfish("destroy");b(".sf-menu i").css("display","block")}else{if(d<=979&&b("#mobilenav").attr("class")!=="active"){b("#menunav").css("display","none");b("#menunav").superfish("destroy");b(".sf-menu i").css("display","block")}}}}a();b(window).resize(a);b(".sf-menu i").click(function(){var d=b(this).parent("li");var e=d.children("ul");e.slideToggle();b(this).toggleClass("active");return false});var c=window.location.href;b("#menunav a").each(function(){if(this.href===c){var d=b(this).parents("li").children("a").addClass("current")}})}; //Ajax JSON Search box by Taufik modif by MKR URL: https://plus.google.com/108949996304093815163/about function searchxx(a){(function(d){var f={blogURL:"",srcBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s1600/grey.gif",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(w){var v=w.feed.entry,r,q,u,s,h,k,m="";if(v!==undefined){m="
"+f.findText+" ""+g+""
";m+='×
- ';for(var o=0;o"+g+"");for(var n=0,t=v[o].link.length;n)<[^<]*)*<\/script>/gi;h=d("").append(r.replace(p,""));k=h.find("img");if("media$thumbnail" in v[o]){q=v[o].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+f.scrthumbSize+"-c")}else{if(k.length!=0){q=k[0].src}else{q=f.srcBlank}}}r=r.replace(/<\S[^>]*>/g,"");if(r.length>f.summaryLength){r=r.substring(0,f.summaryLength)+"..."}r=r.replace(l,""+g+"");m+='
- '+(f.Showthumb===true?'':"")+""+u+""+(f.summaryLength>0?"
"+r+"
":"")+""}m+="
'+k+"
").removeClass("loading");a("#newstick").ticker({speed:d.options.Speed,direction:d.options.direction,titleText:d.options.titleText,displayType:d.options.displayType})}else{d.$el.html("No result!").removeClass("loading")}},"jsonp")};d.init()};a.NewsTicker.defaultOptions={blogURL:"",MaxPost:4,Speed:0.1,direction:"ltr",titleText:"Latest",displayType:"reveal",MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]};a.fn.NewsTicker=function(b){return this.each(function(){(new a.NewsTicker(this,b))})}})(jQuery); //Scroll Top by MKR (function(a){a(window).scroll(function(){if(a(this).scrollTop()>280){a("#top").removeAttr("href");a("#top").fadeIn()}else{a("#top").fadeOut()}});a(function(){a("#top").click(function(){a("html, body").animate({scrollTop:0},"slow");return false})})})(jQuery); //Ajax JSON Related Post by MKR function relatedPostsWidget(a){(function(e){var f={blogURL:"",maxPosts:4,maxTags:4,maxPostsPerTag:4,containerSelector:"#related_posts",tags:null,loadingText:"",loadingClass:"loadingxx",relevantTip:"",rlt_summary:100,relatedTitle:"Related Posts",readMoretext:"[...]",rlpBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s1600/grey.gif",rlt_thumb:70,recentTitle:"Recent Posts",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(x,p){k++;if(x.feed.entry){for(var q=0;q)<[^<]*)*<\/script>/gi;l=e("
").append(n.replace(r,""));m=l.find("img");if("media$thumbnail" in v){w=v.media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+f.rlt_thumb+"-c")}else{if(m.length!=0){w=m[0].src}else{w=f.rlpBlank}}n=n.replace(/<\S[^>]*>/g,"");if(n.length>f.rlt_summary){n=n.substring(0,f.rlt_summary)}u=v.title.$t;if(location.href.toLowerCase()!=s.toLowerCase()){i(s,u,w,n)}}}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,t,v,m){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 o=e.trim(e(this).text().replace(/\n/g,""));if(e.inArray(o,f.tags)==-1){f.tags[f.tags.length]=o}})}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 n=0,m=f.tags.length;n
').addClass(d.options.loadingClass);var f=function(h){var m=h.length,l,k;if(m===0){return false}while(--m){l=Math.floor(Math.random()*(m+1));k=h[m];h[m]=h[l];h[l]=k}return h};var g=function(v){var q,k,r,m,u,l="",s=(d.options.RandompostActive===true?f(v.feed.entry):v.feed.entry);for(var o=0,h=s.length;o)<[^<]*)*<\/script>/gi;newdowm=a("
").append(r.replace(p,""));imgb=newdowm.find("img");if("media$thumbnail" in s[o]){u=s[o].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/s"+d.options.ImageSize);if(s[o].media$thumbnail.url.indexOf("img.youtube.com")!=-1){u=s[o].media$thumbnail.url.replace("default","0")}}else{if(imgb.length!=0){u=imgb[0].src}else{u=d.options.pBlank}}r=r.replace(/<\S[^>]*>/g,"");if(r.length>d.options.Summarylength){r=r.substring(0,d.options.Summarylength)+"..."}k=s[o].title.$t;l+='
"}d.$el.find("ul.featpost").append(l);a(".featuredpost",d.$el).flexslider({animation:"fade",selector:".featpost > li",animationLoop:true,mousewheel:true,prevText:"",nextText:"",before:function(){d.$el.find(".labeltext").stop().animate({bottom:-200,opacity:0},1000)},after:function(){d.$el.find(".labeltext").stop().animate({bottom:10,opacity:1},1000)}});d.$el.removeClass(d.options.loadingClass)};var e=function(i,h){return Math.floor(Math.random()*(h-i+1))+i};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(h){var i=(d.options.MaxPost>h.feed.openSearch$totalResults.$t)?1:e(1,(h.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="+i+"&alt=json-in-script",g,"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",g,"jsonp")}};d.init()};a.AutofeaturedPost.defaultOptions={blogURL:"",MaxPost:4,ImageSize:500,Summarylength:150,RandompostActive:false,loadingClass:"loadingxx",pBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s72-c/grey.gif",tagName:"Wags"};a.fn.AutofeaturedPost=function(b){return this.each(function(){(new a.AutofeaturedPost(this,b))})}})(jQuery); //Manual Featured Post (image Widget) by MKR function manualfeaturedPost(b){var a=b("#main-top-manualslide");var c=a.children(".Image");if(c.length>0){a.append('
')}c.each(function(){var e=b(this);var h=e.find("h2").text();var g=e.find(".widget-content img").attr("src");var f=e.find(".widget-content a").attr("href");var d=e.find(".caption").text();b("
").appendTo("#main-top-manualslide ul.featpost");b(this).remove()});if(c.length>0){b("#main-top-manualslide .featuredpost").flexslider({animation:"fade",selector:".featpost > li",animationLoop:true,mousewheel:true,prevText:"",nextText:"",before:function(){b("#manualslidenya").find(".labeltext").stop().animate({bottom:-200,opacity:0},1000)},after:function(){b("#manualslidenya").find(".labeltext").stop().animate({bottom:10,opacity:1},1000)}})}}; //Ajax Recent Post by MKR (function(a){a.RecentPostbyTag=function(c,b){var d=this;d.$el=a(c);d.init=function(){d.options=a.extend({},a.RecentPostbyTag.defaultOptions,b);d.$el.html('
').addClass(d.options.loadingClass);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",function(B){var E,h,D,r,H,t,G,s,q,w,F,y,C,n="",f=B.feed.entry;if(f!==undefined){for(var z=0,p=f.length;z
").append(D.replace(e,""));G=t.find("img");if("media$thumbnail" in f[z]){s=f[z].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/"+d.options.ImageSize);if(f[z]===f[0]&&d.options.postType!=="s"){s=f[z].media$thumbnail.url.replace(/\/s[0-9]+\-c/g,"/"+d.options.FirstImageSize)}else{if(f[z].media$thumbnail.url.indexOf("img.youtube.com")!=-1){s=f[z].media$thumbnail.url.replace("default","0")}}}else{if(G.length!=0){s=G[0].src}else{s=d.options.pBlank}}D=D.replace(/<\S[^>]*>/g,"");if(D.length>d.options.Summarylength){D=D.substring(0,d.options.Summarylength)+"..."}h=f[z].title.$t;C=f[z].published.$t.substring(0,10);q=C.substring(0,4);w=C.substring(5,7);F=C.substring(8,10);y=d.options.MonthNames[parseInt(w,10)-1];n+='
"}a("ul",d.$el).append(n);if(d.options.postType==="s"){var o=a(c).parents(".widget");var I=o.children("h2");if(d.options.tagName!=false){I.wrapInner('')}var m,g;var k=d.$el.width();if(a(window).width()<479){g=1;m=k/g}else{if(a(window).width()<979){g=2;m=k/g}else{if(a(window).width()<1025){g=3;m=k/g}else{g=4;m=k/g}}}a(".rcbytag",d.$el).flexslider({animation:"slide",selector:".rcentpost > li",animationLoop:true,itemWidth:m,minItems:1,move:g,mousewheel:true,maxItems:4});d.$el.removeClass(d.options.loadingClass)}else{if(d.options.tagName!=false){d.$el.append('
').removeClass(d.options.loadingClass)}}d.$el.removeClass(d.options.loadingClass)}else{d.$el.html("No result! Or Error Loading Feed")}},"jsonp")};d.init()};a.RecentPostbyTag.defaultOptions={blogURL:"",MaxPost:4,FirstImageSize:"s220-p",ImageSize:"s80-p",ShowDesc:false,ShowDate:true,ShowComment:true,Summarylength:100,postType:"v",loadingClass:"loadingxx",pBlank:"http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s72-c/grey.gif",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); //]]>
Kunjungi Sumber Artikel di: http://www.bolatainment.net/2013/09/wags-seksi-ini-klaim-punya-payudara.html Bolatainment
0 comments:
Post a Comment