‘,b);jQryIter(“#_2611664835_tabsContent:first”).html(c);_2611664835_htmltabsReady()},error:function(c,a,b){}})};_2611664835_getTabsInfo();function iterNavTabs(c,a,b){if(a.children(“div:not(.iter-helper-hidden)”).length>0){jQryIter(a.children(“div:not(.iter-helper-hidden)”)[0]).addClass(“iter-helper-hidden”)}jQryIter(a.children(“div”)[b]).removeClass(“iter-helper-hidden”);if(c.children(“.iter-tab.iter-state-active.iter-tab-active.iter-state-hover”).length>0){jQryIter(c.children(“.iter-tab.iter-state-active.iter-tab-active.iter-state-hover”)[0]).removeClass(“iter-state-active iter-tab-active iter-state-hover”)}jQryIter(c.children(“.iter-tab”)[b]).addClass(“iter-state-active iter-tab-active iter-state-hover”)};/*]]>*/ “);
}
else{
$(“.ad_mob_end”).append(“”);
}
/* MAS DE 4 PARRAFOS DESPUES DEL 4*/
if(n_p > 4){
$(“.text .p_4”).after(“”);
}
else{
$(“.ad_mob_end”).append(“”);
}
/* MAS DE 8 PARRAFOS DESPUES DEL 8 */
if(n_p > 8){
$(“.text .p_8”).after(“”);
}
else{
$(“.ad_mob_end”).append(“”);
}
}
function pushDatalayerGalery(n_foto) {
dataLayer.push({
“event”:”virtual-pageview”,
“content”:{
“type”:{
“cms”:”fotogaleria”
}
},
“page”:{
“page.view_id”: Math.floor(Date.now() / 1000),
“virtual_pageview”: n_foto
},
‘path’: window.location.pathname + ‘?foto=’ + n_foto
})
}
var _even = “pageview”;
var _cms = “noticia”;
var _previous = undefined;
if(isMobileEnvironment) {
var m_ads = “cpm_m|cpm_r_dcha|cpm_r_dchab|cpm_r_dchac|Outbrain|cpm_mf”
}
else {
var m_ads = “cpm_si|cpm_sd|cpm_m|cpm_r_dcha|cpm_r_dchab|cpm_r_dchac|Outbrain”
}
window.dataLayer = window.dataLayer || [];
window.dataLayer.push(
{
“event”: _even,
“ads”: {
“enabled”: undefined,
“positions”: m_ads
},
“campaign”: {
“medium”: undefined,
“name”: undefined,
“source”: undefined
},
“content”: {
“access”: “abierto”,
“branded”: undefined,
“category”: “motor y conduccion”,
“date”: {
“modification”: “2024-04-11T10:00:00+02:00”,
“publication”: “2024-04-11T10:00:00+02:00”,
“publication_short”: “2024-04-11”
},
“front”: “1”,
“id”: “1749232”,
“local”: {
“city”: undefined,
“province”: undefined,
“region”: undefined
},
“local_is”: “0”,
“multimedia”: “imagen”,
“origin”: “gzp”,
“person”: {
“author”: “gabriel ubieto”,
“editor”: “gabriel ubieto”,
“signin”: undefined
},
“place”: undefined,
“pretitle”: undefined,
“read”: {
“time”: Math.round(($(“.text”).text().split(‘ ‘).length * 60) / 250).toString()
},
“related”: “0”,
“search”: undefined,
“section”: {
“level_1”: “neomotor”,
“level_2”: “Industria”,
“level_3”: undefined
},
“social”: undefined,
“tag”: “coche electrico|industria|industria automovilistica|fabricas|empresas|chery”,
“type”: {
“cms”: _cms
},
“words”: $(“.text”).text().split(‘ ‘).length
},
“page”: {
“h1”: (!document.querySelector(‘h1’)) ? ‘null’: document.querySelector(‘h1’).textContent,
“notifications”: Notification.permission,
“referrer”: document.referrer,
“response”: “200”,
“view_id”: Math.floor(Date.now() / 1000),
“title”: document.title,
“url”: {
“complete”: window.location.href,
“domain”: “neomotor.com”,
“hostname”: “www.neomotor.com”,
“parameters”: undefined,
“path”: window.location.pathname
}
},
“product”: {
“platform”: “web”
},
“video”: {
“author”: undefined,
“origin”: undefined,
“title”: undefined,
“type”: undefined
}
} );