Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\mbc1\wp-content\themes\jannah4\functions.php on line 73
Share market open in purple zone on 22nd July, Sensex dips 309 factors. Inventory market declines, 309 factors in preliminary buying and selling solely Sensex – jj
rss

Share market open in purple zone on 22nd July, Sensex dips 309 factors. Inventory market declines, 309 factors in preliminary buying and selling solely Sensex

[ad_1]

Mumbai: On the first trading day of the week on Monday, the country's stock market has a sharp decline. In the early trading, at 9.53 a.m., the fall of the key index Sensex rose to 309.49 points and it was seen trading at 38,027.52. The Nifty also saw trading at 11,334.50 with a weakness of 84.75 points at the same time.

The Sensex, which has gained 30 points in the last two sessions, fell by 3.49 points, to 38,333.52 points, while the National Stock Exchange (NSE) 50-share sensitive index Nifty opened at 11,392.85 with a weak 26.4 points.

/*************************************/ /*$(window).scroll(function(){ var last = $('div.listing').filter('div:last'); var lastHeight = last.offset().top ; if(lastHeight + last.height() < $(document).scrollTop() + $(window).height() && nextload==true){ //console.log("**get data"); var circle = "http://zeenews.india.com/"; var myTimer = "http://zeenews.india.com/"; var interval = 30; var angle = 0; var Inverval = "http://zeenews.india.com/"; var angle_increment = 6; $.ajax( url: "/hindi/news/article-list.php" + cat + nextpath, async: true, dataType: "json", beforeSend: function() $('div.listing').append(load); nextload=false; //console.log("/micros/article-list.php" + cat + nextpath); ice = 1; circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function () $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) angle = 1;

angle += angle_increment; .bind(this),interval); , success: function(data) nextload=false; //console.log("success"); //console.log(data); $.each(data('rows'), function(key,val) //console.log("data found"); ice = 2; if(val('id')!='554270') string = '

' + val("title") + '

' + val("summary") + '

पूरा पढ़ें

'; $('div.listing').append(string);

); , error:function(xhr) //console.log("Error"); //console.log("An error occured: " + xhr.status + "http://zeenews.india.com/" + xhr.statusText); nextload=false; , complete: function() $('div.listing').find(".loading-block").remove();; pg +=1; //console.log("mod" + ice%2); nextpath = '&page=' + pg; //console.log("request complete" + nextpath); cat = "?cat=22"; //console.log(nextpath); nextload=(ice%2==0)?true:false;

); setTimeout(function() //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); , 6000); } //lastoff = last.offset(); //console.log("**" + lastoff + "**"); });*/ /*$.get( "/hindi/zmapp/mobileapi/sections.php?sectionid=17,18,19,23,21,22,25,20", function( data ) $( "#sub-menu" ).html( data ); alert( "Load was performed." ); );*/ function fillElementWithAd($el, slotCode, size, targeting) if (typeof targeting === 'undefined') targeting = ; else if ( Object.prototype.toString.call( targeting ) !== '(object Object)' ) targeting = ;

var elId = $el.attr('id'); console.log("elId:" + elId); googletag.cmd.push(function() var slot = googletag.defineSlot(slotCode, size, elId); for (var t in targeting) slot.setTargeting(t, targeting(t));

slot.addService(googletag.pubads()); googletag.display(elId); googletag.pubads().refresh((slot)); );

var maindiv = false; var dis = 0; var fbcontainer = "http://zeenews.india.com/"; var fbid = "http://zeenews.india.com/"; var ci = 1; var pl = $("#star554270 > div.field-name-body > div.field-items > div.field-item").children('p').length; var adcode = '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_Inarticle_1_300x250'; if(pl>3){ $("#star554270 > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n) t=this; if($(this).html().length>10 && ci2) d = $("

"); d.insertAfter(t);fillElementWithAd(d, adcode, (300, 250), ); console.log("ad code added"); adcode = '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_Inarticle_2_300x250';

ci = ci + 1;

/*if(pl>8) if(i==(pl-2))d.insertAfter(t);fillElementWithAd(d, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_Inarticle_1_300x250', (300, 250), );

*/ ); } var fb_script=document.createElement('script'); fb_script.text= "(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 = "http://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr554270"); //alert(x+ "-" + url); var fdiv = '

'; //console.log(fdiv); //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain);

$(document).delegate("button(id^='mf')", "click", function() fbcontainer = "http://zeenews.india.com/"; fbid = '#' + $(this).attr('id'); var sr = fbid.replace("#mf", ".sr");

//console.log("Main id: " + $(this).attr('id') + "Goodbye!jQuery 1.4.3+" + sr); $(fbid).parent().children(sr).toggle(); fbcontainer = $(fbid).parent().children(sr).children(".fb-comments").attr("id");

);

function onPlayerStateChange(event) var ing, fid; console.log(event + "---player"); $('iframe(id*="video-")').each(function() _v = $(this).attr('id'); console.log("_v: " + _v); if(_v != event) console.log("condition match"); ing = new YT.get(_v); if(ing.getPlayerState()=='1') ing.pauseVideo();

); $('div(id*="video-")').each(function() _v = $(this).attr('id'); console.log("_v: " + _v + " event: " + event); if(_v != event) jwplayer(_v).play(false);

);

function onYouTubePlay(vid, code, playDiv,vx, pvid) if (typeof(YT) == 'undefined"http://zeenews.india.com/" function onYouTubePlayer(vid, code, playDiv,vx, pvid) //console.log(playDiv + "Get Youtue " + vid); //$("#"+vid).find(".playvideo-"+ vx).hide(); var player = new YT.Player(playDiv , height: '450', width: '100%', videoId:code, playerVars: 'autoplay': 1, 'showinfo': 1, 'controls': 1 , events: 'onStateChange': function(event) onPlayerStateChange(event.target.a.id);

); $("#video-"+vid).show();

function onjwPlayerAPIReady(vid, code, playDiv,vx, pvid){ //$("#"+vid).find(".playvideo-"+ vx).hide(); //console.log("Get Jwplayer" + $("#"+vid)); //console.log(jwplayer(vid).getState()); //if(jwplayer(vid).getState()==null){ var playerFly = jwplayer(playDiv).setup ( file: code, mediaid:'Z'+vid, hlshtml: true, primary: 'html5', cookies: true, width: '100%', aspectratio:'16:9', autostart: true, fallback: false, ga: , events: onPlay: function(event) onPlayerStateChange(this.id);

, advertising: client: 'googima', schedule: preroll: offset: 'pre', tag: 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/11440465/Zeenews_Hindi_Video/Zeenews_Hindi_Preroll&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=https://zeenews.india.com/&description_url=https://zeenews.india.com/&correlator=(timestamp)'

); var isPlay = 1; playerFly.on('play',function() console.log("Play"); isPlay = 0; _gaq.push(('_trackEvent', 'JW Player Video', 'Play', , , true)); );

playerFly.on('buffer',function() console.log("Buffer"); if(isPlay) _gaq.push(('_trackEvent', 'JW Player Video', 'Buffer', , , true)); else _gaq.push(('_trackEvent', 'JW Player Video', 'Preload', , , true));

); var adType = 'pre'; playerFly.on('adBlock',function(event) console.log("adBlock"); var ea = adType + ' - adBlock'; _gaq.push(('_trackEvent', 'JW Player Video', ea, , , true)); ); //} } $(document).delegate("div(id^='play')", "click", function() //console.log($(this).attr("id")); //console.log($(this).attr("video-source")); //console.log($(this).attr("video-code")); var isyoutube = $(this).attr("video-source"); var vid = $(this).attr("id"); $(this).hide(); var pvid = $(this).attr("newsid"); var vx = $(this).attr("id").replace('play-',"http://zeenews.india.com/"); var vC = $(this).attr("video-code"); var playDiv = "video-" + vid + "-" + pvid; if(isyoutube =='No') onjwPlayerAPIReady(vid, vC, playDiv,vx, pvid); else onYouTubePlay(vid, vC, playDiv,vx, pvid);

); $(document).delegate("div(id^='ptop')", "click", function() var vid = $(this).attr("id").replace('ptop',"http://zeenews.india.com/"); $(this).hide(); var pvid = $(this).attr("newsid"); //console.log($(this).attr("id") + "--" + vid); //console.log($(this).parent().children().find('#play-'+vid).attr("video-source")); //console.log($(this).parent().children().find('#play-'+vid).attr("video-code")); var isyoutube = $(this).parent().children().find('#play-'+vid).attr("video-source"); var vC = $(this).parent().children().find('#play-'+vid).attr("video-code"); var playDiv = "mvideo-play-" + vid + "-" + pvid; if(isyoutube =='No') //console.log(jwplayer($(this).attr("id")).getState()); onjwPlayerAPIReady($(this).attr("id"), vC, playDiv, vid, pvid);

else onYouTubePlay($(this).attr("id"), vC, playDiv, vid, pvid);

);

if($.autopager==false){ var use_ajax = false;

function loadshare(curl){ history.replaceState("http://zeenews.india.com/" ,"http://zeenews.india.com/", curl); if(window.OBR) window.OBR.extern.researchWidget();

//console.log("loadshare Call->" + curl); //$('html head').find('title').text("main" + nxtTitle); if(_up == false) var cu_url = curl; _gaq.push(('_setAccount', 'UA-2069755-17')); var r = _gaq.push(('_trackPageview',cu_url)); _gaq.push(('_setCookiePath', '/hindi'));

if(window.COMSCORE) window.COMSCORE.beacon(c1: "2", c2: "9254297"); var e = Date.now(); $.ajax( url: "/marathi/news/zscorecard.json?" + e, success: function(e) )

} if(use_ajax==false) { //console.log('getting'); var view_selector = 'div.center-section'; // + settings.view_name; + '.view-display-id-' + settings.display; var content_selector = view_selector; // + settings.content_selector; var items_selector = content_selector + ' > div.rep-block'; // + settings.items_selector; var pager_selector = 'div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix'; // + settings.pager_selector; var next_selector = 'div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix > a:last'; // + settings.next_selector; var auto_selector = 'div.tag-block'; var img_location = view_selector + ' > div.rep-block:last'; var img_path = '

लोडिंग

'; //settings.img_path; //var img = '

' + img_path + '

'; var img = img_path; //$(pager_selector).hide(); //alert($(next_selector).attr('href')); var x = 0; var url = "http://zeenews.india.com/"; var prevLoc = window.location.pathname; var circle = "http://zeenews.india.com/"; var myTimer = "http://zeenews.india.com/"; var interval = 30; var angle = 0; var Inverval = "http://zeenews.india.com/"; var angle_increment = 6; var handle = $.autopager({ appendTo: content_selector, content: items_selector, runscroll: maindiv, link: next_selector, autoLoad: false, page: 0, start: function() $(img_location).after(img); circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function () $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) angle = 1;

angle += angle_increment; .bind(this),interval); , load: function(){ $('div.loading-block').remove(); clearInterval(Inverval); //$('.repeat-block > .row > div.main-rhs394331').find('div.rhs394331:first').clone().appendTo('.repeat-block >.row > div.main-rhs' + x); $('div.rep-block > div.main-rhs394331 > div:first').clone().appendTo('div.rep-block > div.main-rhs' + x); $('.center-section >.row:last').before('

अगली खबर

'); $(".main-rhs" + x).theiaStickySidebar(); var fb_script=document.createElement('script'); fb_script.text= "(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 = "http://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr"+ x); //alert(x+ "-" + url); var fdiv = '

'; //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); FB.XFBML.parse();

xp = "#star"+x;ci=0; var pl = $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').length; if(pl>3){ $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n) ci= parseInt(i) + 1; t=this; d = $("

"); console.log("i: " + i + " ci:" + ci + " n:" + n); console.log(this); if(i==2)d.insertAfter(t);fillElementWithAd(d, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_Inarticle_1_300x250', (300, 250), );

/*if(pl>8) if(i==(pl-2))d.insertAfter(t);fillElementWithAd(d, '/11440465/Zeenews_Hindi_Article_Inarticle_300x250_BTF', (300, 250), );

*/ ); }

//var $dfpAd = $('.center-section').children().find("#ad-"+ x); //console.log($dfpAd); //fillElementWithAd($dfpAd, '/11440465/Zeenews_Hindi_Article_970x90_BTF', ((728, 90), (970, 90)), ); var $dfpAdrhs = $('.main-rhs' + x).children().find('.adATF').empty().attr("id", "ad-300-" + x); //$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-' + x); var $dfpAdrhs2 = $('.main-rhs' + x).children().find('.adBTF').empty().attr("id", "ad-300-2-" + x);//$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-2-' + x); //var $dfpMiddleAd = $('.content-area > .main-article > .row').find('#ar'+x).find('#ad-middle-' + x).empty(); fillElementWithAd($dfpAdrhs, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_ATF_300x250', ((300, 250), (300, 600)), ); fillElementWithAd($dfpAdrhs2, '/11440465/Zeenews_Hindi_Web/Zeenews_Hindi_AS_BTF_1_300x250', (300, 250), ); //fillElementWithAd($dfpMiddleAd, '/11440465/Zeenews_Hindi_Article_Middle_300x250_BTF', (300, 250), ); var instagram_script=document.createElement('script'); instagram_script.defer='defer'; instagram_script.async='async'; instagram_script.src="http://platform.instagram.com/en_US/embeds.js";

/*var outbrain_script=document.createElement('script'); outbrain_script.type='text/javascript'; outbrain_script.async='async'; outbrain_script.src='https://widgets.outbrain.com/outbrain.js'; var Omain = $("#outbrain-"+ x); //alert(Omain + "--" + $(Omain).length);

$(Omain).after(outbrain_script); var rhs = $('.main-article > .row > div.article-right-part > div.rhs394331:first').clone(); $(rhs).find('.ad-one').attr("id", "ad-300-" + x).empty(); $(rhs).find('.ad-two').attr("id", "ad-300-2-" + x).empty(); //$('.main-article > .row > div.article-right-part > div.rhs394331:first').clone().appendTo('.main-article > .row > div.main-rhs' + x); $(rhs).appendTo('.main-article > .row > div.main-rhs' + x); */

setTimeout(function()

var twit = $("div.field-name-body").find('blockquote(class^="twitter")').length; var insta = $("div.field-name-body").find('blockquote(class^="instagram")').length; if(twit==0)twit = ($("div.field-name-body").find('twitterwidget(class^="twitter")').length); if(twit>0) if (typeof (twttr) != 'undefined') twttr.widgets.load();

else $.getScript('https://platform.twitter.com/widgets.js');

//$(twit).addClass('tfmargin');

if(insta>0) $('.content > .left-block:last').after(instagram_script); //$(insta).addClass('tfmargin'); window.instgrm.Embeds.process();

, 1500); } }); /*$("#loadmore").click(function() x=$(next_selector).attr('id'); var url = $(next_selector).attr('href'); disqus_identifier = 'ZNH' + x; disqus_url = url; handle.autopager('load'); history.pushState("http://zeenews.india.com/" ,"http://zeenews.india.com/", url); setTimeout(function() //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); , 6000); );*/

/*$("button(id^='mf')").live("click", disqusToggle); function disqusToggle() console.log("Main id: " + $(this).attr('id')); */

var title, imageUrl, description, author, shortName, identifier, timestamp, summary, newsID, nextnews; var previousScroll = 0; //console.log("prevLoc" + prevLoc); $(window).scroll(function() var last = $(auto_selector).filter(':last'); var lastHeight = last.offset().top ; //st = $(layout).scrollTop(); //console.log("st:" + st); var currentScroll = $(this).scrollTop(); if (currentScroll > previousScroll) _up = false; else _up = true;

previousScroll = currentScroll; //console.log("_up" + _up);

var cutoff = $(window).scrollTop() + 64; //console.log(cutoff + "**"); $('div(id^="row")').each(function() //console.log("article" + $(this).children().find('.left-block').attr("id") + $(this).children().find('.left-block').attr('data-url')); if($(this).offset().top + $(this).height() > cutoff) //console.log("$$" + $(this).children().find('.left-block').attr('data-url')); if(prevLoc != $(this).children().find('.left-block').attr('data-url')) prevLoc = $(this).children().find('.left-block').attr('data-url'); $('html head').find('title').text($(this).children().find('.left-block').attr('data-title'));

_sf_async_config.sections= $(this).children().find('.left-block').attr('data-section'); _sf_async_config.authors= $(this).children().find('.left-block').attr('data-author'); pSUPERFLY.virtualPage(prevLoc,$(this).children().find('.left-block').attr('data-title'));

//console.log(prevLoc); //history.pushState("http://zeenews.india.com/" ,"http://zeenews.india.com/", prevLoc); loadshare(prevLoc);

return false; // stops the iteration after the first one on screen

); if(lastHeight + last.height() < $(document).scrollTop() + $(window).height()) //console.log("**get"); url = $(next_selector).attr('href'); x=$(next_selector).attr('id'); ////console.log("x:" + x); //handle.autopager('load'); /*setTimeout(function() //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); , 6000);*/ //lastoff = last.offset(); //console.log("**" + lastoff + "**"); ); //$( ".content-area" ).click(function(event) // console.log(event.target.nodeName); //); /*$( ".comment-button" ).live("click", disqusToggle); function disqusToggle() var id = $(this).attr("id"); $("#disqus_thread1" + id).toggle(); ;*/ $(".main-rhs394331").theiaStickySidebar(); var prev_content_height = $(content_selector).height(); //$(function() var layout = $(content_selector); var st = 0; ///); } } }); /*} };*/ })(jQuery); [ad_2]
Source link

Related Articles

Leave a Reply

Back to top button
Close