').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+='
'+n+''+(d.options.ShowDate===true?'
'+J+' '+D+' '+v+"":"")+(d.options.ShowComment===true?'
":"")+"
"+H+"
"+(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://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); //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,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8FSJ32oUJZfxurwXFwshZ8NgNpHCD_indEJpee3aDgCCLSpVxqANCTs-x0bgAxd4o3AQphmK01cppsqaf3qpIK9e9JgfIe4QSqsSmkH3Oppfoz-1c3u-peMwAl4RMqYmGjtwCbmrvxTs/s36/03.gif",":))");i(/\s;\(\(+/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-ccSFbK95Ew9VtTcxATvJggrcJdifes8JcDkhOg-tcW6fSEDWj2CrpJuHqveQg5i6ylPdWMJT1kOuQFNcjFO3NVU5LI39qvsLl66mdGKdE50ccXyN34f2nsYlstOKhyphenhyphen6BgtGWf9ai9OI/s47/06.gif",";((");i(/\s:\)+/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiStgrlxkb2eNMEy0MCzOHwP15DeMRfl8UOIcqh2tTnNEkTaxhaEm0yd20TIKdAtRbmE_RzgoVvLTqPq7PUib8IsblBlNxBhI0rYD_RSD0_-u4V1qAXPv_SX_1Y1D6I14WnGFXYTn7k8GI/s36/01.gif",":)");i(/\s:-\)+/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg8DcIZE90eZ1aRtzLibvJ6ADrK_2XUNQqwyvIP33_V4g7m_EcmrUjbeCZG5P8Euxy7QhohwM2Ajiwg5_I6O0fRkr_Lqlc7QVqE8gc_q40_onB0oXUHbstV1doFoJKqfov7MRl6-YMj6Q/s36/02.gif",":-)");i(/\s=\)\)+/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6BO7AaHSjOsZdq0HIl6MIzIfIVoHixvsbv8xdvADnMbosKqZwpYg4ZjJYvVC5afCZ8_1-X43zMnuIBt6rOOzKhuObMoi7Aeq4A5W3b9vUF6Ly3Vb30gxcLuZJBwV2Az-IZJgLw0juaEs/s36/03a.gif","=))");i(/\s;\(+/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpbRh3_fuCvUs71oJxB97CX6FZ4EiSj5rwQxcTKGBZvp0D-YQh239zNNxDgqTCz8donijSxQFUksmDHKRrst0Pilb9WwuLI-3Pv3ocudq7WrEwzwQmUFM-fXEmSCWRNTisCQAYdWASRNA/s36/04.gif",";(");i(/\s;-\(+/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl1xGwGf3AnKa0EJi-QBx6qfhuKfMVZCOcB26H6ludGU9PEEoYg26Z1cV_35PWb23tFyyTmnzzjnWPy0bEJ35fBFyQrKtaiGDELD07S3yexK7T04TL1fRtLWPSXlJGxs352STNWqWACI8/s36/05.gif",";-(");i(/\s:d/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYhBXqydEJoWcyyyotOsYCv6cgKoc9fq0qOjDt5YkXYaLd7vKiB_kpa9h0v0zhExr46NVhaLtZ0Jtjj05vU7ETZBcYUDsONOQwxRJq_-rFCRkQVC70NQXYGU-I_V-_PrCsFXoPm5mY9Yk/s36/7.gif",":d");i(/\s:-d/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAnxp54UdLW3eE3sBZ6dkuUCmBUp5k2UcbiqFuRQ2t1cuJIx_lN2o4OvULLFq6GqMlisBT5s0CO1phbk4MkUERVi_yq4lfKXR91iEc2p01rHhDYBS2BuL0Goqjq7mQPswq545N0ug6fRs/s36/8.gif",":-d");i(/\s@-\)+/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO3Pdgp-rTAN5a3oxwh9K8kdyBTGqxLrub0T_Zc-ZHnsKoLcNyQkPOFlRctWIq8YOUb1jdUD1ocKOh_YaxO4bwzIqAiV1ncH1pRdCUoSWabRmmjGXJC1z9c8vM5otETq_-EwXgQnzR6g4/s36/09.gif","@-)");i(/\s:p/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbuBbP8Cuw2aE778QgTKXgULXkx0JDS6GMmB1SdT_jN7s_Firzgnw4BY7kJar6tYj14cvwl5LGeu1KE78R2Z32SvDBGX5AVb85i3yN9_fgnhKQl6WKSjDJOPojMS7XKB1pUJ4BEk-J3Kk/s36/10.gif",":p");i(/\s:o/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvqSpF53NrXcSgJegavgXuIIwZw4oTnVMjquyS5sZDLbYQtXXXVr-CTBaFSoYQwsrtOU0XgyGd5nAtIleH9_dHz525GYLEdbGLNXRcKcuNIpIxwLnvncV6sOms6RnZ-7SqkL8a5wBdIxM/s36/11.gif",":o");i(/\s:>\)+/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXkRxXmpreNSKKc3hcYbfKGq4axK-7-uzBLWVDgBpmY6AbBKnIrYwpnuFd30n_hrm1wAYiKz_0JyGDEtiSUW1dLvWt_hf_iaGaG-JByVwUZrN_wSFMaALwmZjEIVu84fErajXQTx12Zd8/s36/12.gif",":>)");i(/\s\(o\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhGnVRrROTta92gwhhfMFW6oLWrmMHSPZBruhsj_str30F-BSee7XObKXB0_V_DV_mV2emVIoWrgBaR78AzLYLfAZINngViPJ_hxhehcLUz4TyavfhA7QBmfAjRaq2tv2OZWmSObhgb94/s36/13.gif","(o)");i(/\s\[-\(+/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheZRZ8KSyPK4M7Q_Dq9z4PvyNyYCz2RLVWIWfIn7vwFts0ycsb5b_j1PCBpYpuPksSB1RecB_HOBNQn86YoQci89ML4YOmn5GBwSWlc5Za-9tmB00ZXjEXyIJcBAyS5EUkkn7pGHPSH9Q/s36/14.gif","[-(");i(/\s:-\?/g,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMXc1K1YdxfySP079gO-vhnxKWOdL_D-i57Phmd23F0vfpAnJJJSluxtNLQz1gE28ab3eZ10srxh49y0sAJr3lIquV0UXrdZXIl-hzXkQFSis9FCxxN3__3DU6z5CfmyxdaTuSAWr05zo/s36/15.gif",":-?");i(/\s\(p\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVo2ak0C054I1yd_JmPYg-MxHv399Pja-6mZJUWGwB0QkWxqz9YOqaRPquQJ_P7zpkjm5zSpp1Qj7KzqQbJ58OvbYDhNp2pOMxysVdgTteW4JEE8H_QvjOBtOkIbqWCQvi6_UP3gX3p0w/s36/16.gif","(p)");i(/\s:-s/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhay3bI1BZ-ZVyWOvc6k9A7wjHSqZzTxU9fumW0vC_CoGXAl9Zr84cxqiGuZuwofKoZUYqEfWJfOfh4JqB474-t6QCcrbiBoXSjEOWIQ3efBvD7vgDrIWc4dtMQXKnBGOQcWjr6aizxoJ0/s36/17.gif",":-s");i(/\s\(m\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqQHcTcXuG3wxw_Tvju1vg1U0lU1qilw_Di0cIXjFkZrpCVroKmKOOlLeiVK65oeD9ZlQ_0E-C-2taxCQ7H-ct6Ie0M4IlkDN2pYmq41WXMhDQXrtnAmg5zTWQfXW1LEr5_aFXqPlww_4/s36/18.gif","(m)");i(/\s8-\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKfbYr74qmXwjZe-NNKjTjQrhNUZL9HrZ_Zob_yB8rp9ZbDEIMLzfSQWezvlHxtLWKiuw1GYB8_Yztkv6LMajLJwT1cQ6lHje4GVIjlsOxl7H93c-OgWs6dL2qiOU1XpRoCO6uXBC0-os/s36/19.gif","8-)");i(/\s:-t/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilk_cVBch4eSeKxwmHggc8n5_ucgeR4lojHQUw3nBZeAPiptwHPMi5oh3g5z_y2F1adAiPuEqNKIrdTkK-avrOOcvUp1vtTJEyJgIbsLJ0D4ZvdrspzUlFVibxkVKQPNXQC4Z5vfvMmMs/s36/20.gif",":-t");i(/\s:-b/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikdMkIu_squCLnXgFCIx3n9zubBjAL4ZPcGeMMGSN7XOF6nHSSORB9WGecrk8Ueostp40gDdV8V3waazgmbOfPdvyN0QcosTqWJ7LgScOeQli18R0uFzq9LNGdb0sPuCuHo30J1r9oW3o/s36/21.gif",":-b");i(/\sb-\(+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhio-zYnwkZyfZuCjEgraFoLctAT-T5vvQBEanBJEoqvewzD_zbB2k6Oay2l05CDbTo3_cG9zed51N6EFGLDuuf11MBnWvxIATJS135FOrg7nz-uLJR-jt1hFD-FFFXI89DbGYfklpA3rE/s35/22.gif","b-(");i(/\s:-#/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYvesBzfEs-9Ygefb4rQF5fp2u0hpgOAbex9kVK-RpRQQzqnXO-25AEnyUoaTNwGDFZdyIHNg3o1DUgFa5orCfGrvu85V5uZiqVcKDC_5fJSctVMc7EbWe6sc19b3tTysYfkeQ-hruvFA/s36/23.gif",":-#");i(/\s=p~/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8wDJptsFmnoty7jOrNQPKUDCEzGVakFAM0rI7HULUbft_nHMaLQsKVmLahg-X9J78PJLskxkl3KNzl65Cvq4ZKOo55u_YnK-3Lfc62PGO37L_K7m-gym-NRrd-qy4wdJ6gM3La57TxvU/s36/24.gif","=p~");i(/\s\$-\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvrHROOGkRwVXKui89Rc_8ECpl1Xm4hhoYUpzlBlAw5zIqV2kVTEgyNDDZqy-1-a6K0NQhsHt8Z5bnYiTnMKtvSh2B5u42LVby-EdFasn9medR7JSBhjygK2CuNhdDjhYocGcnvm67KPk/s36/25.gif","$-)");i(/\s\(b\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSrTBlTn_CCMd2K2l3yUFEWvOngOVatrBXhjGTHwNegP95lTKlgOiSzX1r2oEeJBdpo7TxTJ9xIUE9MByf8dxYfh_gUBtpe4w3pU_QhJrFpTR0t6w6RE7dIsp8ouvv87ez3p292bOO184/s36/26.gif","(b)");i(/\s\(f\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSAePP-JUAN3RtuaG0NbPTIIdX9ZIahRcpCkkciATNMYgkSsrSI1SXllkCyxc8mF0bNfz9QkZPtsK9TzJjn0t7nZrzooUyL0gDgCS1S3q-gsP_PWOXTHTsVtMK8CoWBDvQdLHxmFAM8D4/s36/27.gif'","(f)");i(/\sx-\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC1szVM7t9N0bcS_lNOG1WL-kaOKemiR1zbGI3YUcRe1FfmL90vJJ2BIM-9NCYthvx_WumRgdTApTk4E5NB5Bz8t5HHmHLFZxcKffdcyAlVfZDhQdELRkZOPio56spqB8aibu-ww15Wc0/s36/28.gif","x-)");i(/\s\(k\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglNxZdSBmjrkkmXprmuWoC17BDYYvAKUnAVGjZ3bj9XPH2vHvffCrZCCZGkn8grjcNlCYClYA0wVR94Wr9XYLmIqrBNy0s4U1DiVoz5hjZ6aCRSNqr4IE90YjN6Rt9fPZOm-FWWnYjkXg/s36/29.gif","(k)");i(/\s\(h\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9tnmcfkknn-cL4vC9-Ity6OW4FFeoSgl1TjU8yHBi0eQrBIgPXC90F8OC03M_szQMiw1o6Vg3Hpc1mJDFXl3J19fqmNdTMJ8SSBKmMvA_1L0QS1H_YDAR0b27BOuk6MTVicR7BFrmvG8/s36/30.gif","(h)");i(/\s\(c\)+/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuZmjPKp8pY8Ig7qIes7oNB6FZSsZng7wISC-18qVMJRUs1WmoEzxTU1CknoA3QNVG938B3TGAMD8XdsH5Z9o7WYqdFbRS29KrkRwdzk5MpSyKOEKoOcWMirTHgS02BpN7dF_YZhZCvuU/s36/31.gif","(c)");i(/\scheer/ig,"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyOOUKwsFc75_xrGbbWd_cO0-_LIbIv_FpiAKISWavr2R6uyDI-Qior7KVrDBlIULBtgzLuM1GXyjMWzTU4Qi0bVAp2kzqtttA_eCffs1f5xwGq-cynDvh4nus9k3cFjy3Qri8C5stqao/s36/32.gif","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:"Latest",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+='
- '+e+""+s+" "+n+'
- "}b(c.Container).html('
'+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://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s1600/grey.gif",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('
'+u+''+(f.ShowDate===true?'
'+v+' '+x+' '+y+"":"")+(f.ShowComment===true?'
":"")+"
"+m+'
")};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://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s72-c/grey.gif",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:"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmaAan2ii75IioSRMAvufVxP-BauLDw4JeOdzmpm3Ud3mRNKn6BUu-dtPJYwepE1pGPa0dwPqwAcRrhUOTlNzQpWys1qzFj6kmxoXVGS-3799OWgG0nW4cSLLSGMioyJ29mtASN_3oVcaY/s70/user-anonymous-icon.png",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)}; //]]>