El ejército naranja del GP de Rusia ya está listo

F1 | GP DE RUSIA El ejército naranja del GP de Rusia ya está listo – AS.com

Estas leyendo

El ejército naranja del GP de Rusia ya está listo

El ejército naranja del GP de Rusia ya está listo

Twitter

La cuenta oficial del circuito de Sochi subió una foto con todos los comisarios de pista que velarán por la seguridad del gran premio de este fin de semana.

El GP de Rusia está a punto de comenzar y en Sochi parecen preparados para albergar la cuarta cita de la temporada de F-1. La cuenta oficial del trazado ruso ha subido una foto a ‘Twitter’ en la que están todos los ‘marshals’ intentarán que todo salga según lo previsto. El mensaje es alentador: «Este mar naranja son todos los comisarios de pista del #RussianGP. Valientes como siempre. Sabemos que harán un gran trabajo».This orange sea is actually the #RussianGP track marshals. Brave as always. We know they’ll do a great job. pic.twitter.com/8bVhOkPxIv

iAhorro




Viaja en moto

Si tu pasión son las motos no te lo pienses más. iAhorro te ayuda a financiar la compra de tu moto nueva en un clic.

{subtitle}

Continuar leyendo
var meses = [‘enero’, ‘febrero’, ‘marzo’, ‘abril’, ‘mayo’, ‘junio’, ‘julio’, ‘agosto’, ‘septiembre’, ‘octubre’, ‘noviembre’, ‘diciembre’];

if (counter >= news.length) {
counter = 0;
}

if(gId(document.location.href) == gId(news[counter].link)){
counter++;
}

var date = new Date(news[counter].ts * 1000);
var hours = «0» + date.getHours();
var minutes = «0» + date.getMinutes();
var seconds = «0» + date.getSeconds();
var hora = hours.substr(-2) + «:» + minutes.substr(-2);
var fecha = (date.getDate() + ‘ de ‘ + meses[date.getMonth()] + ‘ de ‘ + date.getFullYear()).replace(/of/g, «»);
var noticia = tpl_news.replace(new RegExp(‘{title}’, ‘g’), news[counter].title);
var tmp_title = news[counter].title.replace(new RegExp(‘»‘, ‘g’), «‘»);
var noticia = noticia.replace(new RegExp(‘{title_esc}’, ‘g’), tmp_title);
var numDate1 = «0» + (date.getMonth() + 1);
var numDate2 = «0» + date.getDate();
var numDate = date.getFullYear() + numDate1.substr(-2) + numDate2.substr(-2);

var gmt_time = (date.getTimezoneOffset() / 60).toString().split(«.»);
var gmt_hour = parseInt(gmt_time[0]);
var negative = gmt_hour = news.length) {
counter = 0;
}
return noticia;
}

var loadPromo = function() {
if (promos == «») {
return «»;
}
var tpl_promo = ‘

‘;

if (promos.length == 1) {
idPromo = Math.floor(Math.random() * promos.length);
} else {
while (idPromo == idPromoLast) {
idPromo = Math.floor(Math.random() * promos.length);
}
idPromoLast = idPromo;
}

var cintillo = ‘{promo_cintillo}’;
if (promos[idPromo].urlCintillo != ») {
cintillo = ‘{promo_cintillo}‘;
cintillo = cintillo.replace(new RegExp(‘{url_cintillo}’,’g’), promos[idPromo].urlCintillo);
}

var promo = tpl_promo.replace(‘{cintillo}’, cintillo);
promo = promo.replace(‘{promo_cintillo}’, promos[idPromo].cintillo);
promo = promo.replace(‘{promo_titulo}’, promos[idPromo].titulo);
promo = promo.replace(«http://motor.as.com/{imagen}», promos[idPromo].imagen);
promo = promo.replace(‘{promo_texto}’, promos[idPromo].texto);
promo = promo.replace(new RegExp(‘{url_promo}’,’g’), promos[idPromo].urlPromo);

return promo;
}

var checkNews = function() {
if (news == ») {
$(‘.loader-div’).fadeIn();
$.ajax({
url: «/motor/js/infinito/portada.js2»,
//url: «/futbol/js/infinito/primera.js2″,
method: ‘get’,
dataType: ‘json’,
async: false,
}).done(function(data) {
news = data.news;
promos = data.promos;
$(‘.loader-div’).fadeOut();
}).error(function() {
$(‘.loader-div’).fadeOut();
});
}
return (news != »);
}

function _botonWindow(call, title){

/* Centramos */
var width = 650;
var height = 450;
var sheight = screen.height;
var swidth = screen.width;
var left = Math.round((swidth/2)-(width/2));
var top = (sheight>height)? Math.round((sheight/2)-(height/2)) : 0;

/* Popup */
var win = window.open(call, title, «left=»+left+»,top=»+top+»,width=»+width+»,height=»+height+»,personalbar=0,toolbar=0,scrollbars=1,resizable=1″);
if (win) {
win.focus();
}
return;
}

$(window).scroll(function() {
if ($(window).scrollTop() >= $(document).height() – $(window).height() – $(‘footer’).height()) {
if (checkNews()) {
idFase++;
idPubli++;
if (idFase % 2 == 1) {
var bloque = loadNew() + loadNew() + loadNew();
$(‘#infinite_news’).append(»);
try {
publi_AS_genera_banner(«lat_02», «publi_»+idPubli);
} catch(e) {
}
// Llamar donde haya que hacerlo para marcar pagina vista.
as_omn_f_scroll_infinito();
} else {
var bloque = loadNew() + loadNew() + loadNew();
$(‘#infinite_news’).append(‘

‘ + bloque + ‘

‘ + loadPromo());
$(‘#infinite_news’).append(»);
try {
publi_AS_genera_banner(«sup_01», «publi_»+idPubli);
} catch(e) {
}
// Llamar donde haya que hacerlo para marcar pagina vista.
as_omn_f_scroll_infinito();
}
}
}
});

$(‘.scroller-news’).on(‘click’, ‘a.btn-compartir-desp’, function(e) {
e.preventDefault();
if($(this).next().hasClass(«hide»)){
$(this).addClass(«active»);
$(this).next().removeClass(«hide»);
}else{
$(this).removeClass(«active»);
$(this).next().addClass(«hide»);
}
});

$(‘.scroller-news’).on(‘click’, «.barra-utilidades a», function(event) {
event.preventDefault();
var share_url = $(this).attr(‘href’);
var share_text = $(this).attr(‘title’);
switch ($(this).attr(‘class’)) {
case ‘facebook’:
_botonWindow(‘http://www.facebook.com/sharer.php?u=’+encodeURIComponent(share_url)+’&t=’+encodeURIComponent(share_text),’Compartir’);
break;
case ‘tuenti’:
_botonWindow(‘http://www.tuenti.com/share?url=’+encodeURI(share_url),’Tuenti’)
break;
case ‘twitter’:
if(typeof(account_twitter) == «undefined»){
account_twitter = ‘diarioas’;
}
_botonWindow(‘http://twitter.com/share?url=’ + encodeURIComponent(share_url) + ‘&text=’ + encodeURIComponent(share_text) + ‘&via=’+account_twitter,’Twitter’);
break;
case ‘google-plus’:
_botonWindow(‘https://plus.google.com/share?url=’+encodeURIComponent(share_url),’Google +’);
break;
case ‘coment-art’:
document.location = share_url;
break;
}
});
});

Ediciones internacionales

© DIARIO AS, S.L.

Source link