국기 방화에 대한 기독자유당의 투표 결과
').hide().appendTo('.demographics').fadeIn('fast') $('상태').hide().appendTo('.demographics').fadeIn('fast'); } // GET CITY DEMO if(getCookie2('city')==undefined){$.ajax({url:'https://secure.isidewith.com/_scripts/ajax/nearest_big_city/',type:'GET',async:false,dataType:'json'}).done(function(d){if(d!=''){document.cookie='city_id='+d.id+'; path=/; domain=.isidewith.com';document.cookie='city='+d.city+'; path=/; domain=.isidewith.com';}else{document.cookie='city_id=; path=/; domain=.isidewith.com';document.cookie='city=; path=/; domain=.isidewith.com';}})} if (getCookie2('city')!=undefined&≥tCookie2('city')!=''&≥tCookie2('country_id')!=undefined&≥tCookie2('country_id')==9325548){ $(''+getCookie2('city')+'').hide().appendTo('.demographics').fadeIn('fast') } else { //$('Seoul').hide().appendTo('.demographics').fadeIn('fast') $('도시').hide().appendTo('.demographics').fadeIn('fast'); } // GET PARTY DEMO if (0) { $('Saenuri Partys').hide().appendTo('.demographics').fadeIn('fast'); } else { $('정당').hide().appendTo('.demographics').fadeIn('fast'); } // GET WEBSITE DEMO // $('페이스 북').hide().appendTo('.demographics').fadeIn('fast'); // GET CENSUS DEMO // IF DEMO SET if ($('.demographics .demo').length!=0) { if ($('.demographics .demo').attr('id')=='demo_region') { $('.demographics #demo_region').not('.demo').replaceWith($('.demographics .demo')); } else if ($('.demographics .demo').attr('id')=='demo_city') { $('.demographics #demo_city').not('.demo').replaceWith($('.demographics .demo')); } else if ($('.demographics .demo').attr('id')=='demo_party') { $('.demographics #demo_party').not('.demo').replaceWith($('.demographics .demo')); } else if ($('.demographics .demo').attr('id')=='demo_website') { $('.demographics #demo_website').not('.demo').replaceWith($('.demographics .demo')); } $('.demographics .demo').show(); } // VERT ALIGN NEWS $('.news_articles .news_article').each(function(){if($(this).hasClass('left') && $(this).next().length != 0 && $(this).next().hasClass('right') && $(this).height()<$(this).next().height()){$(this).height($(this).next().height())}else if($(this).hasClass('right') && $(this).prev().hasClass('left') && $(this).height()<$(this).prev().height()){$(this).height($(this).prev().height())}}); if (getCookie2('poll')==null){ $('#tryit').hide();	$('#answerit').show();	} // DEMOGRAPHICS TABS $('.demographics a:eq(0)').click(function(){ if ($('#demo_filter').is(':hidden')) { $('.demographics a').removeClass('on'); $(this).addClass('on'); $('#demo_filter').show(); $('#visualize_pie,#visualize_line,#visualize_map').hide(); } else { $('.demographics a').removeClass('on'); $('#demo_filter').hide(); if ($('#visualize_'+getCookie2('visualize')).length==0) { $('#visualize_pie').show(); $('#pie').addClass('on'); } else { $('#visualize_'+getCookie2('visualize')).show(); $('#'+getCookie2('visualize')).addClass('on'); console.log(getCookie2('visualize')); } } return false; }); setDemoOverlays(); // VISUALIZATION $('.visualization a').click(function(){ $('.visualization a').removeClass('on'); $(this).addClass('on'); var visualize = $(this).attr('id'); $('#visualize_pie,#visualize_line,#visualize_map').fadeOut('fast',function(){$('#visualize_'+visualize).show()}); document.cookie='visualize='+$(this).attr('id')+'; path=/; domain=.isidewith.com'; window.history.pushState(null,"Visualize",$(this).attr('href')); if ($(this).attr('id')=='map'){ drawMarkersMap(); } else if ($(this).attr('id').substring(0,3)=='lin') { $.getJSON('/_scripts/ajax/ghpd/2924496367_2908700246.js',function(data){drawChart('historical_trend',data);}); $.getJSON('/_scripts/ajax/ghpp/2924496367_2908700246.js',function(data2){drawBarChart('historical_trend_popularity',data2)}); } return false; }); if (window.location.hash.substring(1,4)=='lin') { document.cookie='visualize=line; path=/; domain=.isidewith.com'; } else if (window.location.hash.substring(1,4)=='map') { document.cookie='visualize=map; path=/; domain=.isidewith.com'; } else if (window.location.hash.substring(1,4)=='pie') { document.cookie='visualize=pie; path=/; domain=.isidewith.com'; } if (true && getCookie2('visualize')=='line'&&$('#visualize_line').length!=0){ $('#visualize_pie,#visualize_map').hide(); $('#visualize_line,.legend').show(); $.getJSON('/_scripts/ajax/ghpd/2924496367_2908700246.js',function(data){drawChart('historical_trend',data)}); $.getJSON('/_scripts/ajax/ghpp/2924496367_2908700246.js',function(data2){drawBarChart('historical_trend_popularity',data2)}); } else if (getCookie2('visualize')=='map'&&$('#visualize_map').length!=0){ drawMarkersMap(); $('#visualize_line,#visualize_pie').hide(); } else { if(getCookie2('visualize')==undefined){document.cookie='visualize=pie; path=/; domain=.isidewith.com';} $('#visualize_line,#visualize_map').hide(); } $('#visualize_line,#visualize_map,#visualize_pie').css('opacity',1); $('#'+getCookie2('visualize')).addClass('on'); // USER SUBMITTED STANCES $('.user_submitted:gt(5)').hide(); $('.user_submitted:lt(6)').each(function(){addFacebookLike($(this).attr('id'))}); if (5<$('.user_submitted').length) { $('
').appendTo('body').find('a').click(function(){ if (getCookie2('logged_in')) { document.location='https://kr.isidewith.com/poll/2924496367/2908700246?highlight_translations=1&translate_to=17'; return false; } else { document.location='https://kr.isidewith.com/social-login?r=https%3A%2F%2Fkr.isidewith.com%2Fpoll%2F2924496367%2F2908700246%3Fhighlight_translations%3D1%26translate_to%3D17'; return false; } }); $('