Skip to main content

BJP wins all five seats in Uttarakhand





$(document).ready(function () {
$('div.tag-button').each(function() {
var x = $(this).find("a").text() ;
var url = $("a",this).attr('href');
var isAdded = false;
var newtab = "";
if(DevIdf.isDesktop || DevIdf.isLargeDesktop){
newtab ='target="_blank"';
}
$('div[id^="content-body"] > p:not(:has(*))').each(function() {
if(!isAdded){
var re = new RegExp("((^" +x+"|"+ x + ")[,. ()] *)","i");
if($(this).html().match(re) !=null){
$(this).html($(this).html().replace( re, '$1'));
isAdded=true;
}
}
});
});
});

$(function () {
var close = true;
$('.close').click(function(){
close = false;
$('#stickyfooterarticle').hide();
});
var w = $(window).width();
var stickyfooterimg= false;
var slideFotterStaus="down";
if($('#stickyfooterarticle').length > 0){
var withoutbodycontent =$('div[id^="content-body"]' ).length;
if(!DevIdf.isMobile){
$(window).scroll(function() {
if(withoutbodycontent > 0){
stickyfooterarticleheight =$('div[id^="content-body"]' ).offset().top + $('div[id^="content-body"]' ).height() - $(window).height();
var scrollpos = $(window).scrollTop() | $("body").scrollTop();
if(scrollpos > stickyfooterarticleheight && close && slideFotterStaus == "down"){
if(w < 1200){
$('.back-top').css("bottom", "175px");
}
$('#stickyfooterarticle').css("visibility", "visible");
}else{ if(w 230){
if(w < 1200){
$('.back-top').css("bottom", "175px");
}
$('#stickyfooterarticle').css("visibility", "visible");
}
else{ if(w < 1200){
$('.back-top').css("bottom", "70px");
}
$('#stickyfooterarticle').css("visibility", "hidden");
}
});
}
else{ $('#stickyfooterarticle').css({"visibility":"visible","position":"relative"});
}
}
});

#audio_player {
background: #133b5a;
padding: 10px;
margin-top: 10px;
display: table;
width: 100%;
}
.jp-audio, .jp-audio-stream{
font-size: 16px;
font-family: Verdana,Arial,sans-serif;
line-height: 1.6;
}
.jp-interface {
width: 100%;
display: table;
background: #231f20;
padding: 5px;
border-radius: 10px;
}
.jp-jplayer {
background-color: #000;
margin-right: 15px;
float: left;
}
.jp-audio {
width: calc(100% - 135px);
float: left;
}
.audiologo {
float: left;
padding: 0 10px 10px 0;
}
.mobileaudiologo {display:none;}
.audioplayerwrap {
float: left;
width: calc(100% - 90px);
position: relative;
}
#seek-bar {
width: calc(100% - 110px);
height: 6px;
display: inline-block;
vertical-align: middle;
border-radius: 15px;
overflow: visible;
background: #828282;
cursor: pointer;
}
.jp-seek-bar {
background: #828282;
width: 100% !important;
border-radius: 20px;
height:100%
}
.jp-play-bar {
background: #fff;
position: relative;
overflow: visible !important;
border-radius: 20px;
height:100%;
width:0%;
}
.jp-play-bar:before ,.jp-volume-bar-value:before{
content: "";
width: 14px;
height: 14px;
position: absolute;
border-radius: 100%;
top: -4px;
right: -10px;
background: #2a5e88;
overflow:visible !important;
}
#duarationtime{
position: unset;
float:right;
clear:both;
line-height: 32px;
width: unset;
}
.jp-duration {
float: left;
display: inline;
text-align: right;
cursor: pointer;
}
.jp-current-time, .jp-duration {
opacity: 0.8;
font-family: Myriad Pro;
font-size: 16px;
text-align: right;
color: rgba(255, 255, 255, 0.5);
font-style: normal;
float: left;
}
.timebar{
float: left;
display: inline;
text-align: right;
cursor: pointer;
padding: 0 5px;
opacity: 0.8;
font-family: Myriad Pro;
font-size: 16px;
text-align: right;
color: rgba(255, 255, 255, 0.5);
}
.jp-audio .jp-controls {
padding: 0;
display: inline-block;
}
.jp-toggles{display:none;}
.audioplayicons a {
position:relative;
padding: 5px;
font-size: 24px;
line-height: 1.25;
color: rgba(255, 255, 255, 0.3);
}
.audioplayicons a.jp-play{color:#fff;}
.fa-step-backward:before {
content: "f048";
}
.fa-step-forward:before {
content: "f051";
}
.fa-forward:before {
content: "f04e";
}
.fa-backward:before {
content: "f04a";
}
.fa-volume-off:before {
content: "f026";
}
.fa-volume-down:before {
content: "f027";
}
.fa-share:before {
content: "f064";
}
.fa-code:before {
content: "f121";
}
.fa-copy:before, .fa-files-o:before {
content: "f0c5";
}
.fa-stop:before {
content: "f04d";
}
.jp-state-playing .jp-play .fa-play:before{
content: "f04c";
}
.audioplayicons {
display: table;
width: 100%;
padding-top: 10px;
border-top: 1px solid;
clear: both;
}
#playlist{display:none;}
.jp-volume-bar {
background: #828282;
width: calc(100% - 40px);
height: 6px;
border-radius: 20px;
float: left;
margin-top: 12px;
cursor: pointer;
overflow:visible;
margin-right:10px;
}
.jp-volume-controls {
position: unset;
width: 35%;
float: right;
}
.audioplayicons a.jp-mute {
padding: 0 3px;
width: 25px;
display: inline-block;
}
.jp-state-muted .jp-mute .fa-volume-up:before{
content: "f026";
}
.jp-volume-bar-value{
background: #fff;
position: relative;
height: 100%;
border-radius: 20px;
cursor: pointer;
}
.jp-title {
color: #fff;
}
a#share {
display: none;
}
#audiosharediv ul.audioshare {
width: 100%;
margin: 0;
padding: 0;
list-style-type: none;
}
#audiosharediv ul.audioshare li {
display: inline-block;
margin-right: 10px;
}
ul.audioshare li a {
display: block;
}
ul.audioshare li a i {
width: 45px;
height: 45px;
border: 1px solid;
border-radius: 100%;
padding: 13px;
color: #fff;
}
ul.audioshare li .tw {
background: #55acee;
}
ul.audioshare li .fb {
background: #3b5998;
}
ul.audioshare li .wa {
background: #43d854;
}
ul.audioshare li .mailaudio {
background: #133b5a;
}
ul.audioshare li .redit{
background: #828282;
}
ul.audioshare li .embedcode{
background: #828282;
}
#audiosharediv{
position: fixed;
background: rgba(0, 0, 0, 0.5);
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999999;display:none;
}
.audiosharewrapper{
position: relative;
margin: 30px auto;
width: 310px;
top: 40%;
background: #fff;
padding: 15px 0px 10px 10px;
}
.textcode{
width: 100%;
padding-right: 10px;
margin-top: 15px;
display: table;
}
.copycode{
float: right;
color: #fff;
background-color: transparent;
border: 1px solid #828282;
background: #828282;
}
.copycode:hover {
background: #828282;
}
a#share:after {
content: "Share";
position: absolute;
top: 5px;
left: 30px;
font-size: 16px;
}
.textcode textarea {
resize: vertical;
width: 100%;
margin-bottom:10px;
}
@media (max-width: 767px) and (min-width: 1px) {
.jp-jplayer{ width: 80px !important;
height: 80px !important;
margin: 10px;
}
.jp-jplayer img{ width: 80px !important;
height: 80px !important;object-fit:contain;
}
.jp-audio {
width: 100%;
float: none;
}
.audioplayerwrap {
width: 100%;
}
.seekbar {
padding: 5px;
}
.jp-title {
margin-bottom: 5px;
height: 85px;
overflow: hidden;
padding: 10px 10px 10px 0;
position: relative;
}
.audioplayicons {
width: calc(100% - 50px);
border-top: none;
clear: both;
float: left;
}
#audio_player {
padding: 0px;
}
.jp-interface {
border-radius: 0;
}
.mobileaudiologo {
padding: 5px;
width: 50px;
float: left;
display:block;
}
.jp-volume-controls {
display:none;
}
a#share:after {
top: 7px;
left: 35px;
}
.audiologo {
padding: 10px 10px 10px 0;
width: 70px;
}
.audioplayicons a {
font-size: 20px;
}
h4.jp-title:after {
content: '';
position: absolute;
display: block;
width: 80%;
height: 16px;
bottom: 0;
z-index: 1;
background: -moz-linear-gradient(top,rgba(19,59,90,0) 0,rgba(19,59,90,1) 19%);
background: -webkit-linear-gradient(top,rgba(19,59,90,0) 0,rgba(19,59,90,1) 19%);
background: linear-gradient(to right,rgba(255,255,255,0) 0,rgb(19, 59, 90) 50%,rgb(19, 59, 90) 100%);
right: 0;
}
}


/* New text -Start*/
#main-menu>ul>li:nth-child(3){position:relative;}
#main-menu>ul>li:nth-child(3):after {
content: " New!";
top: -8px;
left: 37px;
color: rgb(255, 0, 31);
font-size: 10px;
font-family: 'Fira Sans', sans-serif; font-weight:600;
position: absolute;
} /* New text - End*/
@media(max-width: 420px) {
div[id^='content-body-'] .ng_header{
width: 100%;
}
}
.article-block-multiple .live-snippet-border{overflow: visible;}
.dropdown {
top: auto !important;
}
.microsite-sections {
width: 87%;
}
/*home leadstory -Start*/
@media (max-width: 767px) and (min-width: 1px){
.ls50x3Bluebg-text.leadmobwrap {height:auto;}
header.sticky .logo-block {top:0px;}
}
/*home leadstory -end */
.timebar {
cursor: default;
}
.audioplayicons a:hover {
color: #fff;
}
.jp-current-time, .jp-duration {
cursor: default;
}
@media ( max-width : 1024px) and (min-width: 768px) {
.jp-volume-controls {
display: none;
}
button.ui-datepicker-trigger {
width: 13px;
height: 28px;
z-index: 99999999;
}
}
@media ( max-width : 767px) {
button.ui-datepicker-trigger {
width: 13px;
height: 28px;
z-index: 99999999;
}
.date-picker-cont {
width: 175px;
}
}


function appURL(){ return "https://www.thehindu.com/";
}




var loadDeferredStyles = function() {
var addStylesNode = document.getElementById("deferred-styles");
var replacement = document.createElement("div");
replacement.innerHTML = addStylesNode.textContent;
document.body.appendChild(replacement)
addStylesNode.parentElement.removeChild(addStylesNode);
};
var raf = window.requestAnimationFrame || window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
if (raf) raf(function() { window.setTimeout(loadDeferredStyles, 0); });
else window.addEventListener('load', loadDeferredStyles);

(function(w,d,s,l,i){w[l]=w[l]||;w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-W5VV9N');


if(isDeviceEnabled("[large, medium]") && isNonSubcribedUser()) {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1522819933630-0'); });
}






if(isDeviceEnabled("[medium, small]") && isNonSubcribedUser()) {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1527225526136-0'); });
}






if(isDeviceEnabled("[large, medium]") && isNonSubcribedUser()) {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1527169441053-0'); });
}







var iframe = document.getElementById('budgetid');
if(DevIdf.isMobile){
iframe.setAttribute('src', 'https://creatives.thehindu.com/31-01-2019/ThBgMob31Jan04/index.html');
iframe.style.height="60px";
}
else{
iframe.setAttribute('src', 'https://creatives.thehindu.com/31-01-2019/ThBgDesk31Jan02/index.html');
}
























North



BJP wins all five seats in Uttarakhand










more-in


loksabha2014


Battleground 2014/ North





The contest in the hill State, which was largely between the Congress and the Bharatiya Janata Party (BJP), concluded by the victory of the BJP over all five seats on Friday.


The State, which was formed in the year 2000, witnessed its third Lok Sabha polls on May 7. In the year 2004 the BJP won three seats, and the Congress and the SP won one seat each. In the year 2009 the Congress won all five seats in the State.


In the 2009 general election, the former Chief Minister Vijay Bahuguna won from Tehri. However, in the 2012 by-elections, his son Saket Bahuguna lost BJP’s Mala Rajya Laxmi Shah by 22,694 votes. The two again contested against each other, but, this time Ms. Shah won against Mr. Saket Bahuguna by a large margin of 1.92 lakh votes.


The Congress was witnessing a strong anti-incumbency in the State, much of which was a result of the shoddy rehabilitation and reconstruction works under the Vijay Bahuguna government. In February Harish Rawat took over as the State’s Chief Minister. The change of guard happened three months before the Lok Sabha polls so that Mr. Rawat could redeem the image of his party in the State.


The first shock to the Congress came with its MP from the Pauri seat Satpal Maharaj defecting to the BJP in March. Mr. Maharaj would contest against BJP stalwart B.C. Khanduri on the Pauri seat. After his defection it was a tough task for the Congress to find a candidate who could compete with Mr. Khanduri.


With three former BJP chief ministers contesting the polls – Ramesh Pokhriyal Nishank from Haridwar, Mr. Khanduri from Pauri and Bhagat Singh Koshiyari from Nainital – the party already had an upper hand. While the BJP had announced its candidates by mid-March, the announcement by the Congress happened in the second week of April, this to added to BJP’s advantage.


Mr. Rawat won from the Hardwar seat in the 2009 Lok Sabha polls. This time his wife Renuka Rawat represented the seat for the Congress. Though the Hardwar contest was being perceived as a tough one, on Friday Ms. Rawat lost to Mr. Nishank by 1.77 lakh votes.


On all five seats the contest was largely between the Congress and the BJP. Mr. Koshiyari who was the BJP candidate from the Nainital-Udham Singh Nagar seat won by 2.84 lakh votes against K.C. Singh Baba from the Congress, who was the sitting MP from the seat.


BJP stalwart Mr. Khanduri, who has served four terms as an MP from the Pauri seat, won from the same seat again by 1.84 lakh votes against Harak Singh Rawat from the Congress.


The BJP swept away the Almora seat too where Ajay Tamta from the BJP won by 0.95 lakh votes against Pradeep Tamta from the Congress who was the sitting MP from the seat.




$(document).ready(function () {
// Removing empty paragraphs first
$("#content-body-14269002-11622107 p").filter(function () {
var html = $.trim($(this).html());
if (html == '' || html == ' ')
return true;
}).remove();
// Taking a subset of paragraphs using offset and maximum
var offset = 1;
var max = -1;
if (offset > 1) {
$("#content-body-14269002-11622107").children().slice(0, offset - 1).remove();
}
if (max > -1) {
$("#content-body-14269002-11622107").children().slice(max).remove();
}
// Show dateline field at the beginning of the first paragraph
var showDateline = false;
var datelineStr = "Dehradun";
if (offset <= 1 && showDateline == true && datelineStr != "") {
var firstChild = $("#content-body-14269002-11622107").children().get(0);
if ("P" == firstChild.nodeName.toUpperCase()) {
$(firstChild).prepend("" + datelineStr + " - ");
}
else {
$(firstChild).before("" + datelineStr + "");
}
}
});

$(document).ready(function () {
$('a.tweetable').click(function(){
var text = $(this).text();
$('[href*="#"]').attr('href', 'https://twitter.com/intent/tweet?text='+text+" "+url);
});
});













Related Topics

Results
National
Other States
North

Uttarakhand


national elections




function footerStickyCarousel() {
$('.footercar:last').on('init', function(event, slick) {
$('.textcount').append(' / ');
$('.current').text(slick.currentSlide + 1);
$('.totalslides').text(slick.slideCount);
})
.slick({
slidesToShow: 4,
slidesToScroll: 1,
autoplay: false,
autoplaySpeed: 0,
speed: 300,
draggable: true,
swipeToSlide: true,
arrows: true,
prevArrow: '

',
nextArrow: '
',
responsive: [{
breakpoint: 1599,
settings: {
slidesToShow: 4,
slidesToScroll: 1
}
},
{
breakpoint: 1023,
settings: {
slidesToShow: 2,
slidesToScroll: 1
}
},
{
breakpoint: 768,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
dots:false
}
}
]
})
.on('beforeChange', function(event, slick, currentSlide, nextSlide) {
$('.current').text(nextSlide + 1);
});
}
function destroyCarousel() {
if($('.footercar').hasClass('slick-initialized'))
{
$('.footercar').slick('destroy');
} }
function recommendedstories(data){
if(data.articles.length > 0 && (!infiniteScroll) ){
$('#stickyfooterarticle').show();
for (var i=0;i

'+arttitle+'



';
$('#recommededstories').append(html);
}
WFImager.update($(document));
footerStickyCarousel();
}
}


#storyNextPopUp {
display: none !important;
}
@media ( max-width : 1023px) and (min-width: 768px) {
.back-top {
bottom: 125px;
}
}




Recommended for you



Close X





$(document).ready(function() {
$('#stickyfooterarticle').hide();
// console.log("transaction Id :", transactionId);
if(transactionId != "")
{ CrossdomainAjax("https://tai.thehindu.com/userreco?section=north&size=10&aid=11622107&transactionId="+transactionId,recommendedstories);
}
});



if(isNonSubcribedUser()){
window._taboola = window._taboola || ;
_taboola.push({
mode: 'alternating-thumbnails-a',
container: 'taboola-below-article-thumbnails',
placement: 'Below Article Thumbnails',
target_type: 'mix'
});
}

if(isDeviceEnabled("[large, medium]") && isNonSubcribedUser()) {
var slotName = 'div-gpt-ad-1518418788389-1';
var idStart = "content-body-";
var articleSize = document.getElementsByClassName("article").length - 1;
var componentContainer = document.getElementsByClassName("article")[articleSize].getElementsByTagName("div");
for (var i = 0; i = idStart.length) && (id.substring(0, idStart.length) == idStart)) {
var pTagList = componentContainer[i].getElementsByTagName('P');
if (pTagList.length > 1) {
var secondPTag = componentContainer[i].getElementsByTagName('p')[1];
Element.prototype.appendAfter = function(element) {
element.parentNode.insertBefore(this, element.nextSibling);
};
var newElement = document.createElement('div');
newElement.id = slotName;
newElement.setAttribute("class", "dfp-ad");
newElement.appendAfter(secondPTag);
break;
}
}
}
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1518418788389-1'); });
}


if(isDeviceEnabled("[large, medium]") && isNonSubcribedUser()) {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1518418788389-2'); });
}








if(isDeviceEnabled("[medium, small]") && isNonSubcribedUser()) {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1532934634309-0'); });
}






if(isDeviceEnabled("[large, medium]") && isNonSubcribedUser()) {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1532934750977-0'); });
}




This article is closed for comments.
Please Email the Editor





Printable version | Feb 1, 2019 8:26:42 AM | https://www.thehindu.com/elections/loksabha2014/north/bjp-wins-all-five-seats-in-uttarakhand/article6017154.ece







if(isDeviceEnabled("[large, medium]") && isNonSubcribedUser()) {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1518418788389-3'); });
}



Next Story



(function(w,d,l,i) {
w[l]=w[l]||;
w[l].push({start: new Date().getTime(), siteId: 'TRC-J3AFTO'});
})(window, document, 'taiDataLayer', 'TRC-J3AFTO');
var taiData = (typeof window.taiDataLayer != 'undefined') ? window.taiDataLayer : ;
var taiDataObject = {
msisdn:'',
productId: 'thehindu',
uid: '',
skuid: '',
aid: '11622107',
geo: '',
pageTitle: 'BJP wins all five seats in Uttarakhand',
pageUrl: 'https://www.thehindu.com/elections/loksabha2014/north/bjp-wins-all-five-seats-in-uttarakhand/article6017154.ece',
etime: '',
search: '',
share: '',
pageName: 'north',
pageCategory: 'Lok Sabha polls, Lok Sabha elections 2014, Congress, BJP, Uttarakhand elections',
sectionId: '80', };
taiData.push(taiDataObject);





























(function(i,s,o,g,r,a,m,n){
i['moengage_object']=r;t={}; q = function(f){return function(){(i['moengage_q']=i['moengage_q']||).push({f:f,a:arguments});};};
f = ['track_event','add_user_attribute','add_first_name','add_last_name','add_email','add_mobile',
'add_user_name','add_gender','add_birthday','destroy_session','add_unique_user_id','moe_events','call_web_push','track','location_type_attribute'];
for(k in f){t[f[k]]=q(f[k]);}
a=s.createElement(o);m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m);
i['moe']=i['moe'] || function(){n=arguments[0];return t;}; a.onload=function(){if(n){i[r] = moe(n);}};
})(window,document,'script','https://cdn.moengage.com/webpush/moe_webSdk.min.latest.js','Moengage');
Moengage = moe({
app_id:"BIELH8M8CONB0AXBRWP0FYQP",
debug_logs: 0
});
window.addEventListener("MOE_OPT_IN",function(e){
if(e.detail === "opt_in_shown"){
ga('send', 'event', "Hard Notification", "click", "shown");
}
else if(e.detail === "opt_in_allowed"){
ga('send', 'event', "Hard Notification", "click", "Allow");
if(typeof(Notification)=="function" && !DevIdf.isMobile ){
spawnNotification("You can manage your subscriptions from the browser settings.", "https://www.thehindu.com/static/theme/default/base/img/thlogo1.png","Thank you for Subscribing!");
}
}
else if(e.detail === "opt_in_blocked"){
ga('send', 'event', "Hard Notification", "click", "Block");
}
else if(e.detail === "opt_in_dismissed"){
ga('send', 'event', "Hard Notification", "click", "Dismiss");
} });
function spawnNotification(theBody,theIcon,theTitle) { var options = { body: theBody, icon: theIcon }; navigator.serviceWorker.ready.then(function(sw_reg){
var n = sw_reg.showNotification(theTitle,options); }).catch(function(e){console.log(e);});
}
function addEvent(obj, evt, fn) {
if (obj.addEventListener) {
obj.addEventListener(evt, fn, false);
}
else if (obj.attachEvent) {
obj.attachEvent("on" + evt, fn);
}
}

$( document ).ready(function() {
$("input").attr("autocomplete", "off");
$("img.lazy").lazyload();
});

$(document).ready(function () {
$("#GA-tracking-top .fb").click(function () {
ga('send', 'event', 'Header Links', 'Header Links Click', 'Header Link Facebook');
return true;
});
$("#GA-tracking-bottom .fb").click(function () {
ga('send', 'event', 'Footer Links', 'Footer Links Click', 'Footer Link Facebook');
return true;
});
$("#GA-tracking-top .tw").click(function () {
ga('send', 'event', 'Header Links', 'Header Links Click', 'Header Link twitter');
return true;
});
$("#GA-tracking-bottom .tw").click(function () {
ga('send', 'event', 'Footer Links', 'Footer Links Click', 'Footer Link twitter');
return true;
});
$("#GA-tracking-top .in").click(function () {
ga('send', 'event', 'Header Links', 'Header Links Click', 'Header Link linkedin');
return true;
});
$("#GA-tracking-bottom .in").click(function () {
ga('send', 'event', 'Footer Links', 'Footer Links Click', 'Footer Link linkedin');
return true;
});
$("#GA-tracking-top .ins").click(function () {
ga('send', 'event', 'Header Links', 'Header Links Click', 'Header Link Instagram');
return true;
});
$("#GA-tracking-bottom .ins").click(function () {
ga('send', 'event', 'Footer Links', 'Footer Links Click', 'Footer Link Instagram');
return true;
});
$("#GA-tracking-top .news").click(function () {
ga('send', 'event', 'Header Links', 'Header Links Click', 'Header Link newsletter');
return true;
});
$("#GA-tracking-bottom .news").click(function () {
ga('send', 'event', 'Footer Links', 'Footer Links Click', 'Footer Link newsletter');
return true;
});
$("#GA-tracking-top .androidos").click(function () {
ga('send', 'event', 'Header Links', 'Header Links Click', 'Header Link Android & iOS');
return true;
});
$("#GA-tracking-bottom .androidos").click(function () {
ga('send', 'event', 'Footer Links', 'Footer Links Click', 'Footer Link Android & iOS');
return true;
});
$("#GA-tracking-top .ePaper").click(function () {
ga('send', 'event', 'Header Links', 'Header Links Click', 'Header Link epaper');
return true;
});
$("#GA-tracking-bottom .ePaper").click(function () {
ga('send', 'event', 'Footer Links', 'Footer Links Click', 'Footer Link epaper');
return true;
});
$('*[id^="content-body"] p a').click(function () {
ga('send', 'event', 'Inline Links', 'Inline Links Click', 'Inline Link');
return true;
});
$("._hoverrDone div.also-view-container .also-view-img-,.article-topics-container .topic-1").click(function () {
ga('send', 'event', 'More-In Links', 'More-In Links Click', 'More In');
return true;
});
$('*[id^="content-body"] .also-view-text-cont p').click(function () {
ga('send', 'event', 'Also-Read Links', 'Also-Read Links Click', 'Also Read');
return true;
});
$(".artNL .nl-submit").click(function () {
ga('send','event','Article Bottom','NewsletterClick_Article Bottom','NewsletterCallToAction_ArticleBottom')
return true;
});
$(".NLemail .nl-submit").click(function () {
ga('send','event','Newsletter_Headerlanding','NewsletterClick_Headerlanding ','NewsletterCallToAction_Headerlanding')
return true;
});
$("#GA-tracking-top .usernews").click(function () {
ga('send','event','Newsletter_Top_Header','NewsletterClick_Header ','NewsletterCallToAction_Headernewsletter')
return true;
});
$(".hpNL .nl-submit").click(function () {
ga('send','event','Subscription Widget Home Page','NewsletterClick_WidgetHomepage ','NewsletterCallToAction_WidgetHomepage')
return true;
});
$("#stickyfooterarticle .fooeterarticleswrapper a").click(function () {
ga('send','event','Footer Sticky','FooterSticky_Article Bottom','FooterStickyCallToAction_ArticleBottom')
return true;
});
});


function overlayControll (evt) {
if(evt.origin === 'https://creatives.thehindu.com'){
document.querySelector("#ppoverlay").style.display = "none";
}
}
if (window.addEventListener) {
window.addEventListener("message", overlayControll, false);
}
else {
window.attachEvent("onmessage", overlayControll);
}

//<![CDATA[
var clientDT = new Date().getTime();
document.write('');
//]]>


one pixel graphics



//<![CDATA[
var clientDT = new Date().getTime();
document.write('');
//]]>


one pixel graphics



//<![CDATA[
var clientDT = new Date().getTime();
document.write('');
//]]>


one pixel graphics



//<![CDATA[
var clientDT = new Date().getTime();
document.write('');
//]]>


one pixel graphics



//<![CDATA[
var clientDT = new Date().getTime();
document.write('');
//]]>


one pixel graphics



/*Device width fix for Windows Phone 8 and IE 10*/
if (navigator.userAgent.match(/IEMobile/10.0/)) {
var msViewportStyle = document.createElement("style")
msViewportStyle.appendChild(
document.createTextNode(
"@-ms-viewport{width:auto!important}"
)
)
document.getElementsByTagName("head")[0].appendChild(msViewportStyle)
}
<!-- custom mordenizr, can be changed if required by cms. We are currently only using no-csscolumn. Later we may need to use other elements also
-->
(function ($, d) {
$.each(readyQ, function (i, f) {
$(f)
});
$.each(bindReadyQ, function (i, f) {
$(d).bind("ready", f)
})
})(jQuery, document)
require.config({
// Local Directory
baseUrl: "https://www.thehindu.com/static/js",
// Script Locations
paths: {
"jquery":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min",
"jquery-ui":"jquery-ui-1.12.1.min",
"slick": "https://www.thehindu.com/static/js/lib/slick.min",
"dateformat":"jquery-dateFormat.min",
"d3": "d3.min",
"jplayer": "jquery.jplayer.min",
"jplayerlist": "jplayer.playlist.min",
"marquee": "jquery.marquee.min",
"tipTip": "jquery.tipTip.min",
"jscroll": "jquery.jscroll.default.min",
"magnificpopup": "jquery.magnific-popup.min",
"jquerymobile": "jquery.mobile.min",
"jqueryautocomplete": "jquery.autocomplete.min",
"jquerydataTables": "jquery.dataTables.min",
"jqueryslimscroll":"jquery.slimscroll.min",
"topojson":"topojson.v2.min"
},
waitSeconds:0
});

$(document).ready(function (e) {
$(document).on("makeSocialShareReady", function(event, data) {
var selector = $(data).find(".hover-social-media-top ul li, .hover-social-media-bottom ul li");
$(selector).on('click', function (e) {
var shareUrl = $(this).parents('[data-share-url]').data('share-url');
var shareText = $(this).parents('[data-share-url]').data('share-text');
if ($(this).find('i').hasClass('fa-facebook')) {
openShareLink('http://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(shareUrl));
} else if ($(this).find('i').hasClass('fa-twitter')) {
openShareLink('http://twitter.com/share?text=' + encodeURIComponent(shareText) + '&url=' + encodeURIComponent(shareUrl));
}
});
});
$(document).on('pageContentReady', function (event, content) {
$(document).trigger( "makeSocialShareReady", content );
});
});
$(document).ready(function (e) {
$(document).trigger( "makeSocialShareReady", $('body') );
});
function openShareLink(pLink) {
var popUp = window.open(pLink, 'popupwindow', 'scrollbars=yes,width=740,height=400');
popUp.focus();
return false;
}

var articleShareData = {};
var excludeShareClickList = ["fa-whatsapp", "fa-envelope", "fa-comment"];
$(document).ready(function(){
$(document).on("articleSocialShareReady", function(event, data) {
var font_key = "article_font_id";
$(data).find(".edite-text-cont").on("click", " a:not(.active)", function(e){
var prevActiveId = $(".edite-text-cont a.active").attr('id');
$(".article-cont").removeClass( $("a#"+prevActiveId).data('parent-class') ).addClass( $(this).data('parent-class') );
hinduStore.save(font_key, $(this).attr('id'), 1);
$(".edite-text-cont a").removeClass('active');
$(".edite-text-cont a#" + $(this).attr('id')).addClass('active');
});
var tmpObj = hinduStore.get(font_key);
if(!tmpObj){
tmpObj = "medium";
} else {
tmpObj = tmpObj.value;
}
$(data).find(".edite-text-cont a#" + tmpObj).click();
});
});

$(document).ready(function(){
$('.share-more-icon').on('click', function() {
$(this).next('.share-more').slideToggle();
});
$('.close-share-more').on('click', function() {
$(this).parent('.share-more').slideToggle();
});
});
$(document).ready(function(e){
$(document).on("articleSocialShareReady", function(event, data) {
var selector = $(data).find("ul.aricle-share:last li a");
$(selector).on('click',function(e){
if($(this).find('i').hasClass('fa-print')) {
window.print();
} else { var targetClass = $(this).find("i").attr("class").split(" ")[1];
if(excludeShareClickList.indexOf(targetClass) === -1 ) {
if(typeof sendTaiData !== "undefined" ) {
taiDataObject['share'] = targetClass.split("-")[1];
taiDataObject['etime'] = "" + new Date().getTime();
taiData.push(taiDataObject);
sendTaiData(taiData, 'share');
}
var id = $(".jscroll-inner>.active .articlepage").data("artid") + "-" + targetClass;
openShareLink(articleShareData[id]);
}
}
});
});
// pointing sticky share click to article share click.
$("ul.aricle-sticky-share li a").on('click',function(e){
var targetClass = $(this).find("i").attr("class").split(" ")[1];
if(excludeShareClickList.indexOf(targetClass) === -1 ) {
$(".jscroll-inner>.active .articlepage ul.aricle-share li a i." + targetClass).parent('a').click();
}
});
function openShareLink(pLink, target) {
var popUp = window.open(pLink, 'popupwindow', 'scrollbars=yes,width=740,height=400');
popUp.focus();
return false;
}
});

$(document).ready(function(e){
$(document).on("articleSocialShareReady", function(event, data) {
var url = $(data).find(".aricle-share").data("shareUrl");
var text = $(data).find(".aricle-share").data("shareText");
var articleId = $(data).data("artid");
var selectorArray = new Array();
selectorArray.push("articlepage:last .aricle-share");
selectorArray.push("sticky-article-heading[data-artid='11622107'] .aricle-sticky-share");
var getOrApply = function(value, context) {
if($.isFunction(value)) {
return value.apply(context, $.makeArray(arguments).slice(2));
}
return value;
};
var URL_PARAMS_REGEX = /(&?[a-zA-Z0-9]+=)?{([a-zA-Z0-9]+)}/g;
var MEASURES = {
"G": 1000000000,
"M": 1000000,
"K": 1000
};
_renderShareCount = function(share, container) {
var $count = $(container).next('.cnt');
this._loadCount(share).done($.proxy(function(count) {
if(count) {
$count.text(count);
}
}, this));
}
_loadCount = function(share) {
var deferred = $.Deferred();
var countUrl = this._getCountUrl(share);
if(!countUrl) {
return deferred.resolve(0).promise();
}
var handleSuccess = $.proxy(function(response) {
deferred.resolve(this._getCountValue(response, share));
}, this);
$.getJSON(countUrl).done(handleSuccess)
.fail(function() {
$.get(countUrl).done(handleSuccess)
.fail(function() {
deferred.resolve(0);
});
});
return deferred.promise();
}
_getShareUrl = function(share) {
var shareUrl = getOrApply(share.shareUrl, share);
return this._formatShareUrl(shareUrl, share);
}
_getCountUrl = function(share) {
var countUrl = getOrApply(share.countUrl, share);
return this._formatShareUrl(countUrl, share);
}
_getCountValue = function(response, share) {
var count = ($.isFunction(share.getCount) ? share.getCount(response) : response) || 0;
return (typeof count === "string") ? count : this._formatNumber(count);
}
_formatNumber = function(number) {
$.each(MEASURES, function(letter, value) {
if(number >= value) {
number = parseFloat((number / value).toFixed(2)) + letter;
return false;
}
});
return number;
}
_formatShareUrl = function(url, share) {
return url.replace(URL_PARAMS_REGEX, function(match, key, field) {
var value = share[field] || "";
return value ? (key || "") + window.encodeURIComponent(value) : "";
});
}
_createSelector = function(identifier) {
var tmp = "";
for(var i=0; i 1 && i < (selectorArray.length - 1))
tmp += ", ";
}
return tmp;
}
var tmpCards = new Array();
var tmpArray = ["facebook", "twitter", "reddit", "whatsapp", "email"];
for(i = 0; i 0) {
if(childrens[0].hasOwnProperty("data")) {
return childrens[0].data.score;
}
}
return "";
}
}
}

function publist(item) {
url = "https://www.thehindu.com/";
id = "2";
switch (item) {
case "url":
item = url;
break;
case "id":
item = id;
break;
default:
}
return item;
}

var VUUKLE_HOST=window.location.hostname.replace("www.","").replace(/^(m.)/,"");
var VUUKLE_CONFIG = {
"apiKey": "432081eb-6e8e-4abc-a88f-ca5357aa7244",
"host": VUUKLE_HOST,
"articleId": "6017154",
"img": "https://www.thehindu.com/static/theme/default/base/img/og-image.jpg",
"tags": "elections,loksabha2014,north",
"url": "https://www.thehindu.com/elections/loksabha2014/north/bjp-wins-all-five-seats-in-uttarakhand/article6017154.ece",
"title": "BJP wins all five seats in Uttarakhand",
"language": "en",
"globalRecommendations": false,
"recommendationsWideImages": false,
"darkMode": false,
"color": "1f57a5",
ads: {
enabled: isNonSubcribedUser()
},
"comments": {
"enabled": true,
"hideRecommendedArticles": !isNonSubcribedUser(),
"socialAuth": true,
"vuukleAuth": true,
"sorting": "latest",
"transliteration": {
"language": "en",
"enabledByDefault": false
},
"hideCommentInputBox": false,
"commentingClosed": true,
"maxChars": 1000,
"countToLoad": 1,
"toxicityLimit": 80,
"customText": {}
}
};
(function() {
var d = document,
s = d.createElement('script');
s.async = true; s.src = 'https://cdn.vuukle.com/platform.js';
(d.head || d.body).appendChild(s);
})();


Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues