Overblog Seguir este blog
Administration Create my blog

Matriz BCG (Boston Consulting Group) La matriz BCG es un modelo grafico de estudios estratégicos de una empresa, el cual fue desarrollado en los años 1970 por Boston Consulting Group para examinar en el mercado por medio de una matriz que enlaza la tasa...

Las estrategias que son exitosas en el mercadeo son las que generalmente se concentran en los cuatro elementos llamados las 4P las cuales son: precio, producto, promoción y plaza. Si se enfoca en esta mezcla de mercado es posible que una estrategia de...

'; var _gaq = _gaq || []; _gaq.push(['_setAccount', '']); _gaq.push(['_trackPageview']); _gaq.push(['_trackPageLoadTime']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); var ias = new Array(); ias.counter = 1, ias.MAXPAGE = 10; // Twitter controls var TwitterControls = function(elements) { $(elements).find(".ob-tweet").each(function() { var datatwitter = $(this).find("a[data-twitter]").attr("data-twitter"); $(this).parent().parent().find(".tweet-reply").attr("href", "https://twitter.com/intent/tweet?in_reply_to=" + datatwitter); $(this).parent().parent().find(".tweet-retweet").attr("href", "https://twitter.com/intent/retweet?tweet_id=" + datatwitter); $(this).parent().parent().find(".tweet-favorite").attr("href", "https://twitter.com/intent/favorite?tweet_id=" + datatwitter); }); }, // Disable tweets render TwitterDisabled = function(elements, twitter) { $(elements).find(".twitter-tweet").removeClass("twitter-tweet"); if(twitter){ //Twitter render !function(d,s,id){ var js, fjs = d.getElementsByTagName(s)[0]; if(!d.getElementById(id)){ js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js,fjs); } }(document,"script","twitter-wjs"); } }, // Social popup SocialPopup = function(elements) { $(elements).find(".tweet-reply, .tweet-retweet, .tweet-favorite, .share a").click(function() { var url = ($(this).prop("href")!="http://acualonit.overblog.com/#")?$(this).prop("href"):$(this).attr("onclick"); var popup = window.open(url,'',"width=650, height=400, scrollbars=0, left=" +((screen.width - 650)/2) + ", top=" + ((screen.height - 400)/2) ); if (window.focus){ popup.focus(); } return false; }); }, // Opening of the posts with fancybox ItemFancybox = function (selector) { var ItemPermalink, shareBar, url, location; $(selector).fancybox({ autoHeight : true, autoSize : false, closeEffect : "elastic", fitToView : false, margin : [80, 20, 20, 20], openEffect : "none", padding : 0, scrolling : "no", topRatio : 0, type : "ajax", width : 610, helpers : { overlay : { showEarly : false }, title : null }, afterLoad: function() { shareBar = $(".share-bar", this.content); this.content = $(".post", this.content); }, afterShow: function() { if(!$.browser.msie || $.browser.msie && $.browser.version > 9.0 ){ url = $(this.element).attr('href'); location = window.location.pathname; history.pushState("", "", url); } // Insert share bar $(".fancybox-inner").append(shareBar); // OB callback if (typeof OB != "undefined") { OB.restart && OB.restart(); } // FB callback if (typeof FB != "undefined") { FB.XFBML.parse(document.body); } //Pinterest render $.ajax({ type: "GET", url: "//assets.pinterest.com/js/pinit.js", dataType: "script" }); //Twitter render if (typeof twttr != "undefined") { twttr.widgets.load(); } else { !function(d,s,id){ var js, fjs = d.getElementsByTagName(s)[0]; if(!d.getElementById(id)){ js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js,fjs); } }(document,"script","twitter-wjs"); } // Disable image link $('.ob-link-img').click(function() { return false; }); $('.ob-link-img').hover(function() { $(this).css('cursor','default'); }); }, beforeClose : function() { if(!$.browser.msie || $.browser.msie && $.browser.version > 9.0 ){ history.pushState("", "", location); } // kill Disqus if(typeof(DISQUS) === 'object' ){ DISQUS = false; } } }); }, //Force scrollbar when content don't have one ForceScrollBar = function() { if($(window).scrollTop() + $(window).height() == $(document).height()){ $('html').height($(document).height()+10); } }; // Facebook comments & like button (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=284865384904712"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); $(document).ready(function(){ var container = $(".main"); // Masonry container.imagesLoaded(function(){ container.masonry({ itemSelector : ".masonry-item", columnWidth : 245, isAnimated : false }); }); TwitterControls($(".masonry-item")); TwitterDisabled($(".masonry-item")); SocialPopup($(".masonry-item")); ItemFancybox($(".permalink")); ForceScrollBar(); // Load more with Masonry jQuery.ias({ container : ".main", item : ".masonry-item", pagination : ".load-more", next : ".load-more a", loader : "

Cargando nuevos artículos...

", history : false, tresholdMargin : -200, triggerPageTreshold: ias.MAXPAGE+1, beforePageChange: function(){ if (ias.counter >= ias.MAXPAGE) { $('.load-more').show(); return false; } }, onRenderComplete: function(items){ ias.counter++; }, onLoadItems : function(items) { var newElems; items.shift(); newElems = $(items); newElems.css({ opacity: 0 }); newElems.imagesLoaded(function() { newElems.animate({ opacity: 1 }); container.masonry( "appended", newElems, false ); }); TwitterControls(items); TwitterDisabled(items); SocialPopup(items); ForceScrollBar(); } }); // Placeholder Script if($.browser.msie && $.browser.version <= 9.0 ){ $('input[placeholder]').each(function(){ var input = $(this); $(input).val(input.attr('placeholder')); $(input).focus(function(){ if (input.val() == input.attr('placeholder')) { input.val(''); } }); $(input).blur(function(){ if (input.val() == '' || input.val() == input.attr('placeholder')) { input.val(input.attr('placeholder')); } }); }); } // Scroll top button $(window).scroll(function() { if($(window).scrollTop() <= 0) { $('.scroll-to-top').slideUp("250"); } else { if($('.scroll-to-top').length == 0) { $('body').append( '
'+ "Ir arriba"+ '
'); } $('.scroll-to-top').slideDown("250"); } }); $('.scroll-to-top a').live('click', function(event){ event.preventDefault(); $('html,body').animate({scrollTop: 0}, 'slow'); }); // Backstretch if($.browser.msie && $.browser.version <= 8.0 ){ $.backstretch('http://img.over-blog-kiwi.com/0/27/01/47/201304/ob_e186fce6ce68b8fd113f4117d51ff260_aapara-blogg.jpg'); $('body').css('background', 'none'); } // Archives // Hide years without months $(".arch_year").each(function() { if ($(this).find(".arch_month li").length == 0) { $(this).hide(); } }); $(".arch_month").hide(); $('.arch_year > a').click(function() { $(this).siblings(".arch_month").slideToggle(1, function(){ container.masonry('reload') }); return false; }); });