Thursday, September 18, 2014

Media: The Security Council will discuss the trip you’ll ever need from a global network – TVNZ

‘); _ (); ar_cn ++;
 })(‘http://ad.adriver.ru/cgi-bin/erle.cgi?sid=51864&sz=second&bn=4&target=top&bt=43&pz=1&tail256=’);
 
 
‘); }, Success: function (response) {if (response.errorCode == 0) {container.empty (); var i = 0; var new_count = 0; for (; i ‘, {class: response.result [i] .readed?’ noticeBlock ‘:’ noticeBlock notRead ‘, title: response.result [i] .readed?’ read the notice ‘:’ unread notification ‘, href: response.result [i] .url, id: ‘noticeBlock _’ + response.result [i] .id}); elem.data ({id_read: response.result [i] .id}); if (! response.result [i] .readed) {new_count ++; // Need send message – message is read! elem.on (‘click’, function (e) {var target = KPjQuery (this); var data = ‘key =’ + ApolloApi.getUserInfo (). sosh_o + ‘& amp; ids =’ + target.data (‘id_read ‘); KPjQuery.ajax ({url:’ / _ajax / profile_informer? ts = ‘+ (new Date ()). getTime (), type:’ POST ‘, timeout: 5000, cache: false, dataType:’ json ‘ , ‘data’: data, success: function () {window.location.href = target.attr (‘href’);}, error: function () {window.location.href = target.attr (‘href’) ; }}); return false; }); } Elem.html (‘ ‘+ response.result [i] .text +’ ‘); container.append (elem); } // Not be found notices if (i == 0) {container.html (‘

You have no notifications.

‘); } Else if (new_count & gt; 0) {KPjQuery (‘# jewel_new’). AddClass (‘new’). RemoveClass (‘new-none’). Html (‘‘ + new_count + ‘‘ ); }}}}); KPjQuery (‘# informer’). AddClass (‘dropDown’); KPjQuery (‘# informer’). RemoveClass (‘hideDropDown’); informer_show = 1; } Else {KPjQuery (‘# informer’). AddClass (‘hideDropDown’); KPjQuery (‘# informer’). RemoveClass (‘dropDown’); informer_show = 0; } Return false; });
LikeTweet

No comments:

Post a Comment