CINXE.COM
Shintoism Adherents by Country
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="http://cdn3.chartsbin.com/css/3.31-min.css" type="text/css"> <link rel="alternate" type="application/rss+xml" href="http://feed.chartsbin.com/chartsbinlatest" title="ChartsBins Latest updates"> <link rel="icon" href="http://cdn3.chartsbin.com/images/favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="http://cdn3.chartsbin.com/images/favicon.ico" type="image/x-icon"> <meta name="copyright" content="Copyright ChartsBin - 2011"> <meta name="author" content="ChartsBin"> <meta name="Distribution" content="Global"> <meta name="Rating" content="General"> <meta name="Robots" content="INDEX,FOLLOW"> <meta name="Revisit-after" content="7 Days"> <!--DoubleClick ad code start --> <script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'> </script> <script type='text/javascript'> try{ GS_googleAddAdSenseService("ca-pub-6729665102039572"); GS_googleEnableAllServices(); }catch(e){} </script> <script type='text/javascript'> try{ GA_googleAddSlot("ca-pub-6729665102039572", "view_page_above_chart_big"); GA_googleAddSlot("ca-pub-6729665102039572", "view_page_below_related_chart"); }catch(e){} </script> <script type='text/javascript'> try{ GA_googleFetchAds(); }catch(e){} </script> <!-- DoubleClick ad code end--> <script type="text/javascript"> function loadScript(a){var e=document.createElement("script");e.type="text/javascript";e.async=true;e.src=a;(document.getElementsByTagName('body')[0]||document.getElementsByTagName('head')[0]).appendChild(e)} document.write(unescape("%3Cscript src='http://cdn3.chartsbin.com/js/3.31-min.js' type='text/javascript'%3E%3C/script%3E")); </script> <style type="text/css">#my_chart{ background: none no-repeat scroll center 0 transparent; text-align: center}</style> <title>Shintoism Adherents by Country</title> <link rel="image_src" href="http://cdn3.chartsbin.com/chartimages/l_nd8_b9971adca259e9db7d03b25f458fa2e1" > <meta name="thumbnail" content="http://cdn3.chartsbin.com/chartimages/l_nd8_b9971adca259e9db7d03b25f458fa2e1"> <meta name="description" content="This chart shows current shintoism followers by Country. Number of Shintoism followers in the world: 1.57% (106,603,977 people)."> <meta name="keywords" content="world,population,religion,reference,maps,statistics,shintoism,research,data,stats,statistics,reference,map,gis"> <meta property="og:title" content="Shintoism Adherents by Country"/> <meta property="og:type" content="article"/> <meta property="og:site_name" content="ChartsBin"/> <meta property="og:url" content="http://chartsbin.com/view/nd8"/> <meta property="og:image" content="http://cdn3.chartsbin.com/chartimages/l_nd8_b9971adca259e9db7d03b25f458fa2e1"/> <meta property="fb:admins" content="1076167130" /> </head> <body> <div id="doc4"> <div id="hd"> <!--<div class="notice box_round">Please check this out: <a href="http://chartsbin.com/project/urban_water.html">Today is World Water Day<a></div>--> <div id="topnav"> <a href="http://chartsbin.com/about/apply" title="Create your own interactive chart">Register to create your own interactive chart</a> | <a href="https://chartsbin.com/login" title="ChartsBin.com Login">Login »</a> </div> <div id="logo"><a href="/" title="ChartsBin.com Home"><img height="32" width="170" alt="ChartsBin.com Logo" src="http://cdn3.chartsbin.com/images/logo_new.png"></a></div> <div id="cse-search-form"> <form action="http://chartsbin.com/search.php" id="cse-search-box"> <input type="hidden" name="cx" value="partner-pub-6729665102039572:6542568855"> <input type="hidden" name="cof" value="FORID:10"> <input type="hidden" name="ie" value="UTF-8"> <input type="text" name="q" size="55" class="gsc-input" autocomplete="off"> <button type="submit" class="btn gsc-button" name="sa"><span class="text" style="padding:0 10px 2px;">Search</span></button> </form> </div> <div id="toplinks" class="box_shadow"> <ul> <li><a class="" href="http://chartsbin.com/graph" style="margin: 0 0 0 0.5em;padding:2px;border-right: 2px solid #FFFFFF;"><span class="text cb32icon home">All</span></a></li> <li><a class="" href="http://chartsbin.com/graph/country_info">Country info</a></li> <li><a class="" href="http://chartsbin.com/graph/drugs_and_crime">Drugs & Crime</a></li> <li><a class="" href="http://chartsbin.com/graph/environment">Environment</a></li> <li><a class="" href="http://chartsbin.com/graph/economic">Economic</a></li> <li><a class="" href="http://chartsbin.com/graph/food_and_agriculture">Food & Agriculture</a></li> <li><a class="" href="http://chartsbin.com/graph/health">Health</a></li> <li><a class="" href="http://chartsbin.com/graph/social">Social</a></li> <li><a class="" href="http://chartsbin.com/graph/society">Society</a></li> </ul> <ul style="float: right;"> <li><a style="text-align: right; width: 130px; background-color:#2D2D2D !important; color:#cacaca !important;">More ▼</a> <ul> <li><a class="" href="http://chartsbin.com/graph/education">Education</a></li> <li><a class="" href="http://chartsbin.com/graph/energy">Energy</a></li> <li><a class="" href="http://chartsbin.com/graph/immigration">Immigration</a></li> <li><a class="" href="http://chartsbin.com/graph/infrastructure">Infrastructure</a></li> <li><a class="" href="http://chartsbin.com/graph/information_and_communication_technology">Information & Communication Technology</a></li> <li><a class="" href="http://chartsbin.com/graph/people">People</a></li> <li><a class="" href="http://chartsbin.com/graph/population">Population</a></li> <li><a class="" href="http://chartsbin.com/graph/religion">Religion</a></li> <li><a class="" href="http://chartsbin.com/graph/sports">Sports</a></li> <li><a class="" href="http://chartsbin.com/graph/tourism">Tourism</a></li> <li><a class="" href="http://chartsbin.com/graph/work">Work</a></li> <li><a class="" href="http://chartsbin.com/graph/others">Others</a></li> </ul> </li> </ul> <div class="clear"></div> </div> <!--<div class="crumb-nav"><a href="/" title="ChartsBin.com Home">Home</a> » <a href="/graph" title="List of All Visualizations">List of All Visualizations</a> » </div>--> <div style="margin-top: .5em;"> <div class="ads-728x90"> <!-- view_page_above_chart_big --> <script type='text/javascript'> try{ GA_googleFillSlot("view_page_above_chart_big"); }catch(e){} </script> <!--<img src="https://www.google.com/adsense/static/en_US/images/leaderboard_img.jpg">--> </div> <div class="ads-200x90 description"> <!--<a href="/about/apply"><img width="200" height="90" src="http://cdn3.chartsbin.com/images/ad1.png"></a>--> <form onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=ChartsbinLatest', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow" method="post" action="http://feedburner.google.com/fb/a/mailverify" style="text-align: center;"><p><b>Get free updates by Email</b></p><p style="margin-bottom: 4px;"><input type="text" name="email" style="width: 140px;" class="textfield"></p><input type="hidden" name="uri" value="ChartsbinLatest"><input type="hidden" value="en_US" name="loc"><button aria-disabled="false" class="btn" type="submit"><span class="text">Get Email Updates!</span></button></form> </div> </div> <div class="clear"></div> </div> <div id="bd"> <div class="yui-g" style="border-bottom: 1px dotted #C8C7C6; margin-top: 1em;"> <a title="If you have information about a country not listed here or if you find any of the information outdated." id="report-error" href="http://chartsbin.com/about/error&id=nd8" style="float: left; margin: 0.4em 0pt 0pt;"><span class="text cb32icon bug">Report an error</span></a> <div class="follow-us"> <div id="fbpagelike"></div> <div id="google_translate_element_home_page" style="float:left"></div><script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element_home_page'); } </script> <span class="text">Follow us...</span> <a title="Follow chartsbin on Twitter" href="http://www.twitter.com/chartsbin"><span class="text cb32icon tw"></span></a> <a title="Follow us on Facebook" href="http://www.facebook.com/chartsbin"><span class="text cb32icon fb"></span></a> <a title="Subscribe to chartsbin by RSS" href="http://feed.chartsbin.com/chartsbinlatest"><span class="text cb32icon rss"></span></a> <a title="Subscribe to chartsbin by Email" href="http://feedburner.google.com/fb/a/mailverify?uri=ChartsbinLatest&loc=en_US" onclick="window.open('http://feedburner.google.com/fb/a/mailverify?uri=ChartsbinLatest', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow"><span class="text cb32icon mail" style="margin:0"></span></a> </div> </div> <div class="yui-g"> <div id="chart-title"> <!-- google_ad_section_start --> <h1>Shintoism Adherents by Country</h1> <!-- google_ad_section_end --> </div><div id="install-chrome"></div> <noscript><div id="no-chart">Hello, you have JavaScript turned off. Please enable JavaScript to see this interactive data visualization.</div></noscript> <div style="height: 400px;"><div id="my_chart" style="height: 400px;"><img height="100%" alt="Shintoism Adherents by Country" src="http://cdn3.chartsbin.com/chartimages/l_nd8_b9971adca259e9db7d03b25f458fa2e1"></div></div> <script type='text/javascript' src='http://www.google.com/jsapi'></script><script type='text/javascript'>google.load('visualization', '1', {'packages': ['geomap']});google.setOnLoadCallback(drawMap);function drawMap() { var data = new google.visualization.DataTable({ cols: [{id: 'A', label: 'country_code', type: 'string'},{id: 'B', label: 'Shintoist', type: 'number'},{id: 'C', label: 'country_name', type: 'string'},{id: 'C', label: 'region_code', type: 'string'}],rows: [{c:[{v: 'CA'}, {v: 0.1,f: '0.1% (33,487)'}, {v: 'Canada'},{v: '021'}]},{c:[{v: 'JP'}, {v: 83.9,f: '83.9% (106,619,012)'}, {v: 'Japan'},{v: '030'}]},{c:[{v: 'KR'}, {v: 0.1,f: '0.1% (48,509)'}, {v: 'Korea, South'},{v: '030'}]}] }); var options = {}; options['colors'] = [0xffe5b4,0xCC6600,0x993300]; options['dataMode'] = 'regions'; options['width'] = '948px'; options['height'] = '400px'; options['showLegend'] =false; var container = document.getElementById('my_chart'); var geomap = new google.visualization.GeoMap(container); geomap.draw(data, options); google.visualization.events.addListener(geomap, 'zoomOut', zoomHandler); google.visualization.events.addListener(geomap, 'select', selectHandler); function selectHandler(){ var selected = geomap.getSelection(); var region = data.getValue(selected[0].row, 3); if(region!=''){ options['showZoomOut'] = true; options['region'] = region; geomap.draw(data, options); } } function zoomHandler(){ options['showZoomOut'] = false; options['region'] = 'world'; geomap.draw(data, options); }};</script> </div> <div class="yui-g"> <div id="chart-ratings-views"> <span class="fleft" style="margin:5px 10px 0 0; width:83px"> <span class="bar-rating-control" title="214 votes. Average rating is 60.4% postive."> <span title="60.4% postive." class="like-bar" style="width: 60.4%;"></span> <span title="39.6% negative." class="dislike-bar" style="width: 39.6%;"></span> </span> </span> <span class="fleft" style="font-weight: bold; margin-right: 5px;" id="rating-result">Do you like this chart?</span> <a class="btn" onclick="return false;" id="like_button"><span class="text">✔ Yes</span></a> <a class="btn" onclick="return false;" id="dislike_button"><span class="text">✖</span></a> <a class="btn" onclick="return false;" id="sharing-link"><span class="text">✚ Share</span></a> <a class="btn" onclick="return false;" id="reference-link"><span class="text">References and Data Table</span></a> <a class="btn download-link" title="To Embed or download this chart/map" href="http://chartsbin.com/about/embedthis&id=nd8&title=Shintoism+Adherents+by+Country&ver=b9971adca259e9db7d03b25f458fa2e1"><span class="text">HTML Embed code</span></a> <a id="buy-link" title="To buy this chart/map" class="btn" href="http://chartsbin.com/about/buythis&id=nd8&title=Shintoism+Adherents+by+Country"><span class="text" style="">$ Buy Now</span></a> <span class="chart-views"><span>28,378</span> views</span> <div class="clear"></div> </div> </div> <div id="sharing" class="yui-g hide" style="padding: 5px 5px 0pt; border: 1px solid rgb(238, 238, 238);"> <span id="fb_like" class="fleft" style="line-height:0;"></span> <span class="fleft" style="width: 100px;"><g:plusone size="medium" href="http://chartsbin.com/view/nd8"></g:plusone></span> <span class="fleft" style="position: relative; width: 110px;" id="tweetmeme"> <a href="http://twitter.com/share" class="twitter-share-button" data-text="Shintoism Adherents by Country" data-url="http://chartsbin.com/view/nd8" data-count="horizontal" data-via="chartsbin" data-related="pdviz:PDViz an infographic inspiration site.">Tweet</a> </span> <span id="stumblememe" class="fleft" style="line-height:0; width: 90px;"></span> <span class="addthis_toolbox addthis_default_style fleft"> <a class="addthis_counter addthis_pill_style"></a> </span> </div> <div class="yui-g" id="main-desc"> <div class="chart-metadata" style="border: none; background: none;"> <!-- google_ad_section_start --> <div id="chart-description" class="description"><span><p>This chart shows current <a name="Shintoism" target="_blank" href="http://en.wikipedia.org/wiki/Shintoism">shintoism</a> followers by Country.</p> <p>Number of Shintoism followers in the world: <strong>1.57% (106,603,977 people)</strong>.</p></span></div> <!-- google_ad_section_end --> <div id="chart-last-updated"><hr><label>Last updated: </label><span>15 years ago</span></div> <!-- google_ad_section_start --> <div id="chart-category"><label>Category: </label><span><a href="http://chartsbin.com/graph/religion">Religion</a></span></div> <div id="chart-tags" style="padding-bottom:4px;" class="tagged"><label>Tags: </label><a href="http://chartsbin.com/search.php?q=world">world</a> <a href="http://chartsbin.com/search.php?q=population">population</a> <a href="http://chartsbin.com/search.php?q=religion">religion</a> <a href="http://chartsbin.com/search.php?q=reference">reference</a> <a href="http://chartsbin.com/search.php?q=maps">maps</a> <a href="http://chartsbin.com/search.php?q=statistics">statistics</a> <a href="http://chartsbin.com/search.php?q=shintoism">shintoism</a> </div> <!-- google_ad_section_end --> </div> </div> <div class="yui-g" id="html-table"> </div> <div class="yui-g" id="references"> <div class="more_meta_head"> <ul class="icon_list"> <li class="select"><a href="#" onclick="return false;" id="chart-source-link"><span class="icon i_reference"></span>References</a></li> <li><a class="download-link" title="To Embed or download this chart/map" href="http://chartsbin.com/about/embedthis&id=nd8&title=Shintoism+Adherents+by+Country&ver=b9971adca259e9db7d03b25f458fa2e1"><span class="icon i_code"></span>Embed or download</a></li> </ul> <div class="clear"></div> </div> <!-- google_ad_section_start --> <div class="chart-source chart-metadata hide" style="display: block;"> <div style="padding-bottom:0.5em"> <h2>Source</h2> <div id="external-reference" class="description"><ul><li><cite>The Office of International Religious Freedom 2008, <em>International Religious Freedom</em>, 2008, The U.S. State Department, United States, viewed 16th September, 2009, <<a href="http://www.state.gov/g/drl/rls/irf/index.htm" target="_blank" onClick="javascript:pageTracker._trackPageview('outgoing/www.state.gov');">http://www.state.gov/g/drl/rls/irf/index.htm</a>>.</cite></li><li><cite>The Association of Religion Data Archives 2006, <em>National Profiles</em>, Department of Sociology, The Pennsylvania State University, University Park, PA, viewed 16th September, 2009, <<a href="http://www.thearda.com/internationalData/" target="_blank" onClick="javascript:pageTracker._trackPageview('outgoing/www.thearda.com');">http://www.thearda.com/internationalData/</a>>.</cite></li><li><cite>Central Intelligence Agency 2009, <em>The World Factbook 2009</em>, ISSN 1553-8133, Washington, DC, viewed 16th September, 2009, <<a href="https://www.cia.gov/library/publications/the-world-factbook/index.html" target="_blank" onClick="javascript:pageTracker._trackPageview('outgoing/www.cia.gov');">https://www.cia.gov/library/publications/the-world-factbook/index.html</a>>.</cite></li></ul></div> <hr> <h2>Citation</h2> <span id="embed-citation-box"><cite> ChartsBin statistics collector team 2009, <em>Shintoism Adherents by Country</em>, ChartsBin.com, viewed 21st February, 2025, <http://chartsbin.com/view/nd8>.</cite> </span> </div> </div> <!-- google_ad_section_end --> </div> <div class="yui-g" id="chart-read-more"><span><a id="chart-read-more-link" onclick="return false;" href="#main-desc">Read more »</a></span></div> <div class="yui-g"> <div id="chart-comments" style="padding:0;margin:0;"> <div class="more_comment_head" id="disqus-loader"> <ul class="icon_list"> <li style="padding-top: 30px;"><a href="#disqus_thread" class="load-disqus"><span class="icon i_add_comment"></span>Add new comment</a></li> <li style="width: 2em;"><span> </span></li> <li><textarea style="width: 600px;height:75px;color: #666;" class="load-disqus hover">Respond to this visualizations...</textarea></li> </ul> <div class="clear"></div> </div> <div id="disqus_thread"><span id="disqus-loading" style="display:none;">Loading...</span></div> <noscript><a href="http://disqus.com/forums/chartsbin/?url=http://chartsbin.com/view/nd8">Click here to view the discussion thread.</a></noscript> </div> </div> <div class="yui-g"> <div id="related-chart" class="related-bar"><h2>Related charts / graphs</h2></div> <div class="next-chart"> <div class="chart-image"><a href="http://chartsbin.com/view/sgx" title="Chinese Folk Religion Adherents by Country"> <img class="lazy-load" alt="Chinese Folk Religion Adherents by Country" tsrc="http://cdn3.chartsbin.com/chartimages/s_sgx" src="http://cdn3.chartsbin.com/images/bg.png" width="220" height="110"> </a></div> <div class="chart-detail"> <h3><a href="http://chartsbin.com/view/sgx" title="Chinese Folk Religion Adherents by Country">Chinese Folk Religion Adherents by Country</a></h3> <div class="view-count">3.70 rating | 30,904 views | 0 comments</div> </div> </div> <div class="next-chart"> <div class="chart-image"><a href="http://chartsbin.com/view/wq1" title="Buddhism Adherents by Country"> <img class="lazy-load" alt="Buddhism Adherents by Country" tsrc="http://cdn3.chartsbin.com/chartimages/s_wq1" src="http://cdn3.chartsbin.com/images/bg.png" width="220" height="110"> </a></div> <div class="chart-detail"> <h3><a href="http://chartsbin.com/view/wq1" title="Buddhism Adherents by Country">Buddhism Adherents by Country</a></h3> <div class="view-count">4.04 rating | 21,944 views | 0 comments</div> </div> </div> <div class="next-chart"> <div class="chart-image"><a href="http://chartsbin.com/view/5e4" title="Islam Adherents by Country"> <img class="lazy-load" alt="Islam Adherents by Country" tsrc="http://cdn3.chartsbin.com/chartimages/s_5e4" src="http://cdn3.chartsbin.com/images/bg.png" width="220" height="110"> </a></div> <div class="chart-detail"> <h3><a href="http://chartsbin.com/view/5e4" title="Islam Adherents by Country">Islam Adherents by Country</a></h3> <div class="view-count">4.15 rating | 30,608 views | 4 comments</div> </div> </div> <div class="next-chart"> <div class="chart-image"><a href="http://chartsbin.com/view/3k5" title="Jainism Adherents by Country"> <img class="lazy-load" alt="Jainism Adherents by Country" tsrc="http://cdn3.chartsbin.com/chartimages/s_3k5" src="http://cdn3.chartsbin.com/images/bg.png" width="220" height="110"> </a></div> <div class="chart-detail"> <h3><a href="http://chartsbin.com/view/3k5" title="Jainism Adherents by Country">Jainism Adherents by Country</a></h3> <div class="view-count">3.38 rating | 21,460 views | 0 comments</div> </div> </div> </div> <div class="yui-g" style="margin-top:1.5em;"> <!-- view_page_below_related_chart --> <script type='text/javascript'> try{ GA_googleFillSlot("view_page_below_related_chart"); }catch(e){} </script> <!--<img src="https://www.google.com/adsense/static/en_US/images/leaderboard_img.jpg">--> </div> <div class="yui-g"> <div class="related-bar" style="border:none;"><h2 style="">You Might Also Like Our Friends' Posts</h2></div> <div id="2leep" style="margin-top:0.5em;" onclick="_gaq.push(['_trackEvent','linkEx','2leep','2leep']);"></div> </div> </div> <div id="ft"><div id="copyright">Copyright 2011 ChartsBin.com. All rights reserved.</div><a title="About US" href="/about/">About</a> | <a title="Chat" href="https://chartsbin.campfirenow.com/7025b">Chat</a> | <a title="Contact US" href="/about/contact">Contact</a> | <a title="Sign Up" href="/about/apply">Sign Up</a> | <a title="Privacy Policy" href="/about/privacy">Privacy</a> | <a title="Legal" href="/about/legal">Legal</a> | <a href="http://chartsbin.uservoice.com" target="_blank" title="Feedback">Feedback</a></div> </div> <script type="text/javascript"> var _qevents = _qevents || [], _gaq = _gaq || [],_kmq = _kmq || [],secure = "http://",quantserveSSL = "edge", reinvigorateSSL = "",hasSVG = !!document.createElementNS && !!document.createElementNS("http://www.w3.org/2000/svg", "svg").createSVGRect; if(document.location.protocol == "https:"){ secure = "https://"; quantserveSSL = "secure"; reinvigorateSSL = "ssl-"; } _gaq.push(['_setAccount', 'UA-1842699-9'],['_setCustomVar', 1, 'hasSVG', hasSVG.toString(), 1 ],['_trackPageview'],['_trackPageLoadTime']); _qevents.push({ qacct:"p-c439YeBRW9Mx6" }); (function () { loadScript(secure + "www.google-analytics.com/ga.js"); loadScript(secure + quantserveSSL +".quantserve.com/quant.js"); loadScript(secure + reinvigorateSSL + "include.reinvigorate.net/re_.js"); })(); setTimeout(function(){ try {reinvigorate.track("9t5z6-h1zo2a79q9");} catch(err) {} }, 1000); </script> <noscript><img src="//pixel.quantserve.com/pixel/p-c439YeBRW9Mx6.gif" style="display: none;" height="1" width="1" alt="Quantcast"/></noscript> <script type="text/javascript"> var addthis_config = { username:"chartsbin", ui_cobrand: "ChartsBin.com", ui_header_color: "#ffffff", ui_header_background: "#000000", services_exclude: "print", data_ga_tracker: "gaPageTracker", data_track_clickback : true }, addthis_share = { url: "http://chartsbin.com/view/nd8", title: "Shintoism Adherents by Country" }, gaPageTracker, url = 'http%3A%2F%2Fchartsbin.com%2Fview%2Fnd8', title = 'Shintoism Adherents by Country', style = 'compact', qs; //var urlimage = 'http://cdn3.chartsbin.com/chartimages/d_nd8_b9971adca259e9db7d03b25f458fa2e1'; /*for disqus */ var disqus_url = 'http://chartsbin.com/view/nd8'; //window.disqus_no_style = true; function setCBCookie(text){ var expires = new Date(); expires.setDate(expires.getDate()+1); document.cookie = text+expires.toUTCString(); } $(document).ready(function () { if($.browser.chrome || $.browser.safari){ $("#toplinks ul ul").css('left',"-167px"); } $(".download-link").attr("href",$(".download-link").attr("href")+""); $(".download-link").colorbox({ width:"800", open: document.cookie.indexOf('download=true')!=-1, onOpen:function(){ setCBCookie("download=true; expires="); _gaq.push(['_trackEvent','more','embed',title]); }, onClosed:function(){ setCBCookie("download=false; expires="); } }); $("#buy-link").colorbox({ width:"800", open: document.cookie.indexOf('buythis=true')!=-1, onOpen:function(){ setCBCookie("buythis=true; expires="); _gaq.push(['_trackEvent','more','buy',title]); }, onClosed:function(){ setCBCookie("buythis=false; expires="); } }); $("#report-error").colorbox({width:"800"}); //$("#main-desc").css("overflow-y","hidden").css("height","44"); //$("#html-table, #references").hide(); //$("#chart-read-more").show(); $("#reference-link").bind({ click:function(){ $("#main-desc").css("height","auto"); $("#html-table, #references").show(); $("#chart-read-more").hide(); _gaq.push(['_trackEvent','more','read-more-reference-link',title]); $('html, body').animate({ scrollTop: $('#chart-tags').offset().top }, 1000); return false; } }); $("#chart-read-more-link").bind({ click:function(){ $("#main-desc").css("height","auto"); $("#html-table, #references").show(); $("#chart-read-more").hide(); _gaq.push(['_trackEvent','more','read-more',title]); return false; } }); $(".load-disqus").click(function(){ loadScript("http://disqus.com/forums/chartsbin/embed.js"); $("#disqus-loader").fadeOut('slow'); $(".load-disqus").unbind("click"); _gaq.push(['_trackEvent','more','showComments',title]); return false; }); if(document.location.href.toLowerCase().indexOf('disqus_thread')!=-1){ $(".load-disqus").trigger('click'); } if(document.location.href.toLowerCase().indexOf('comment-')!=-1){ $(".load-disqus").trigger('click'); } var isRelatedChartLoad= false; var is2leepLoad= false; $(window).scroll(function(){ if($.belowTheFold("#related-chart")){ $(this).trigger("loadRelatedChart"); isRelatedChartLoad = true; } if($.belowTheFold("#2leep")){ $(this).trigger("load2leep"); is2leepLoad = true; } if(is2leepLoad && isRelatedChartLoad){ $(window).unbind("scroll"); } }); $.belowTheFold = function(element) { return ($(window).height() + $(window).scrollTop()+10) >= $(element).offset().top; } $('#embed-link').bind('click',function(){ $('#chart-embed-link').trigger("click"); }); $("#sharing-link").bind({ click:function(){ $(window).trigger("loadShare"); $('#sharing').toggle(); _gaq.push(['_trackEvent','more','share',title]); return false; } }); $(window).one("loadShare", function() { try{ gaPageTracker = _gat._getTrackerByName(); }catch(e){} $("#fb_like").html('<iframe scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fchartsbin.com%2Fview%2Fnd8&show_faces=false&layout=button_count&width=100&action=like&font=arial&colorscheme=light"/>'); $("#stumblememe").html('<iframe src="http://www.stumbleupon.com/badge/embed/1/?url=http://chartsbin.com/view/nd8" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:74px; height: 18px;" allowTransparency="true"></iframe>'); loadScript("http://platform.twitter.com/widgets.js"); //loadScript("http://www.google.com/buzz/api/button.js"); loadScript("https://apis.google.com/js/plusone.js"); loadScript("http://s7.addthis.com/js/250/addthis_widget.js#username=chartsbin&domready=1"); //loadScript("http://widgets.digg.com/buttons.js"); }); $("#fbpagelike").html('<iframe scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fchartsbin.com%2Fview%2Fnd8&show_faces=false&layout=button_count&width=100&action=like&font=arial&colorscheme=light"/>'); $(window).one("loadRelatedChart", function() { $.each($("img.lazy-load"), function() { $(this).attr("src", $(this).attr("tsrc")); }); }); $(window).one("load2leep", function() { $(add_2leep()).appendTo("#2leep"); }); $("input#table-search").quicksearch("table#search-data tbody tr", {noResults: '#noresults',loader: 'span.loading'}); qs = $("input#table-search-new").quicksearch("table#publishpreviewtable tbody tr", {noResults: '#noresults',loader: 'span.loading',stripeRows: ['','odd']}); $(window).trigger("scroll"); $('#like_button').bind('click',function(){ ratingfunction(this,5); }); $('#dislike_button').bind('click',function(){ ratingfunction(this,1); }); function ratingfunction(id,rating){ $.ajax({ type: "POST", url: "/post/ratings", data: { rating: rating, chart_ID: "nd8" }, dataType: 'json', async : false, success: function(js){ $("#rating-result").html(js.message); if(js.error==1){ //nothing }else{ $('#like_button').unbind('click'); $('#dislike_button').unbind('click'); } } }); $(".rate-buttons").removeClass("rate-buttons-active"); $(id).addClass("rate-buttons-active"); } }); </script> <script type="text/javascript"> function add_2leep(){ var list = [["5067","Canada's Polar Bears At Extreme Risks"],["5252","2009: Second Warmest Year On Record"],["7006","The 15 Most Beautiful Photos Tweeted From The Space [Pics]"],["10076","Deadliest Volcanoes of the World"],["11265","The Sun [Pics]"],["16859","The 5 Micro-Countries Around the World"]]; var leep = '<style type="text/css">a.leep_title_twoBigger8027:link, a.leep_title_twoBigger8027:visited, a.leep_title_twoBigger8027:active {font-size:13px; font-family:arial,helvetica,clean,sans-serif; line-height: 1.231em; font-weight:normal; text-decoration: none; color:#005C9C; letter-spacing:0.04em} a.leep_title_twoBigger8027:hover {text-decoration:underline;}</style>'; leep = leep + '<table width="948" cellspacing="5" cellpadding="3" style="clear:left; overflow:hidden; margin: 0 auto; border:0px solid #cccccc; background-color:#ffffff;"><tr>'; for (x in list) { leep = leep + '<td valign="top" align="center" style="overflow:hidden; text-align: center;" width="16%">'; leep = leep + '<div style="text-align:center;margin: 0 auto; display:table; border-spacing: 0px; border: ;padding:;"><a href="http://2leep.com/news/'+list[x][0]+'/358/1/" rel="nofollow" target="_blank"><img src="http://2leep.com/img/'+list[x][0]+'-140.jpg" width="140" border=0 class="leepHor8027"></a></div>'; leep = leep + '<div style="overflow:hidden; padding:2px; margin: 0 auto; text-align: center; width: 100%;"><a href="http://2leep.com/news/'+list[x][0]+'/358/1/" rel="nofollow" target="_blank" class="leep_title_twoBigger8027">'; leep = leep + list[x][1]+'</a><br/></div>'; leep = leep + '</td>'; } leep = leep + '</tr></table>'; return leep; } </script></body> </html>