Видео: Какими будут последствия для России, если Запад введет санкции - Газета.Ru | Видео
window.___gcfg = {lang: 'ru'};
$LAB
.script("https://apis.google.com/js/plusone.js").wait()
.script("http://analytics-api-samples.googlecode.com/svn/trunk/src/tracking/javascript/v5/social/ga_social_tracking.js").wait()
.script("http://connect.facebook.net/ru_RU/all.js").wait()
.script("http://platform.twitter.com/widgets.js").wait()
.script("http://vkontakte.ru/js/api/openapi.js").wait()
.script("http://static.gazeta.ru/nm2012/js/social_stuff/buttons_init.js").wait()
//.script("http://gazeta.ru/nm2008/ssi/soc_buttons/init_social_reader_articles.js").wait(function(){ //make_facebook();
//});
$(function() {
$('nav .stripe').each(function() {
$(this).parent().hover(
function() {
$(this).addClass('hover');
},
function() {
$(this).removeClass('hover');
}
);
});
$('*[data-init]').each(function() {
var $this = $(this);
var fun = window[$this.data('init')];
//if (window.console) console.log(['init', this, fun]);
if (fun && typeof(fun) == 'function') {
fun($this);
//$this.data('init', '');
}
});
$('.common_height').each(function(){
$this=$(this);
var maxh = 0; // ищем самую высокую заметку и подставляем ее высоту всем остальным
$this.find('article').each(function(){
var h = $(this).height();
if (h > maxh) maxh = h;
});
$this.find('article').each(function(){
$(this).height(maxh);
});
});
$('#but_dinamic_240_1').click(function() {
$('#but_dinamic_240_1').css('background-position','0 0').css('cursor','default');
$('#but_dinamic_240_2,#but_dinamic_240_3').css('background-position','0 10px').css('cursor','pointer');
$('#page_dinamic_240_1').show();
$('#page_dinamic_240_2,#page_dinamic_240_3').hide();
});
$('#but_dinamic_240_2').click(function() {
$('#but_dinamic_240_2').css('background-position','0 0').css('cursor','default');
$('#but_dinamic_240_1,#but_dinamic_240_3').css('background-position','0 10px').css('cursor','pointer');
$('#page_dinamic_240_2').show();
$('#page_dinamic_240_1,#page_dinamic_240_3').hide();
});
$('#but_dinamic_240_3').click(function() {
$('#but_dinamic_240_3').css('background-position','0 0').css('cursor','default');
$('#but_dinamic_240_2,#but_dinamic_240_1').css('background-position','0 10px').css('cursor','pointer');
$('#page_dinamic_240_3').show();
$('#page_dinamic_240_2,#page_dinamic_240_1').hide();
});
// ---------------------------------- Fancy_box ------------------------------------
function close_netot_fancy_box(){
$('.fancy_box').fadeOut(100, function(){$(this).remove()});
return false;
}
$(window).keydown(function(event){
if(event.keyCode == 27){
close_netot_fancy_box();
}
});
function open_netot_fancy_box(source) {
$('\
Закрыть\
' + source + '\
| |