A eleita
"
},
{
tagId:301120,
simpleHTML:"\"
}
]
};
var editorsChoice = {
automatico: true,
tags: '',
num: 4,
imagemAvaliacao: 'http://t.i.uol.com.br/2009/avaliacao/f11313/small-',
list: {
'0402983462C08133A6': {
'title' : "Vox Populi: Dilma cinco pontos à frente de Serra",
'thumbnail' : "http://st0.mais.uol.com.br/1/64/E0/4749188-medium.jpg",
'url' : "http://eleicoes.uol.com.br/2010/ultimas-noticias/multi/?hashId=vox-populi-dilma-cinco-pontos-a-frente-de-serra-0402983462C08133A6&mediaId=5300141",
'link2' : "",
'chapeu' : ""
},
'04021B3166D4C923A6': {
'title' : "Alckmin defende mini Código Florestal para Estados",
'thumbnail' : "http://st1.mais.uol.com.br/0/14/F4/4744909-medium.jpg",
'url' : "http://eleicoes.uol.com.br/2010/ultimas-noticias/multi/?hashId=alckmin-defende-mini-codigo-florestal-para-estados-04021B3166D4C923A6&mediaId=5295316",
'link2' : "",
'chapeu' : ""
},
'04029C3766C8C923A6': {
'title' : "José Serra assistiu ao jogo do Brasil em Santos",
'thumbnail' : "http://st1.mais.uol.com.br/0/5F/60/4742102-medium.jpg",
'url' : "http://eleicoes.uol.com.br/2010/ultimas-noticias/multi/?hashId=jose-serra-assistiu-ao-jogo-do-brasil-em-santos-04029C3766C8C923A6&mediaId=5292379",
'link2' : "",
'chapeu' : ""
},
'04021B3066D4C123A6': {
'title' : "5 partidos definiram candidatos para o governo",
'thumbnail' : "http://st1.mais.uol.com.br/4/61/81/4736027-medium.jpg",
'url' : "http://eleicoes.uol.com.br/2010/ultimas-noticias/multi/?hashId=5-partidos-definiram-candidatos-para-o-governo-04021B3066D4C123A6&mediaId=5285306",
'link2' : "",
'chapeu' : ""
},
'zero': {
'title' : "",
'thumbnail' : "",
'url' : "",
'link2' : "",
'chapeu' : ""
}
}
};
var parametros = {
linkTo: configVideosEstacao.upsiBaseURL,
outputs: '#quicklist',
wrapper: '#quicklist',
time:'all',
sort:'mostRecent',
pageSize: editorsChoice.num,
markup: tvu.tvuolMarkup,
counters:function(){
var html = '
';
var hash = this.id.replace(/.*-/,'');
if(typeof editorsChoice.list[hash] != 'undefined' &&
(''+editorsChoice.list[hash].link2 &&
''+editorsChoice.list[hash].chapeu)) {
html += ''+editorsChoice.list[hash].chapeu+'';
} else {
html += (this.rating!=null)?'
':'';
html += (this.views!=null)?'| '+this.views+' visitas':'';
}
html += '';
return html;
}
};
if(editorsChoice.automatico) {
if (editorsChoice.tagServiceTags){
parametros.type = 'videoListTagService';
parametros.tagServiceTags = editorsChoice.tagServiceTags;
} else {
parametros.type = 'videoListGlobalTag';
parametros.tags = concatArrays(editorsChoice.tags);
}
parametros.edFilter = 'editorial';
} else {
parametros.type = 'arbitraryMedias';
parametros.ids = concatIds();
parametros.customMap= editorsChoice.list;
}
if(typeof configVideosEstacao.listConfig.editor != 'undefined') {
parametros.editor = configVideosEstacao.listConfig.editor;
}
if(typeof configVideosEstacao.listConfig.qryTag != 'undefined') {
parametros.qryTag = configVideosEstacao.listConfig.qryTag;
}
parametros.markup = function(index, total, cfg) {
//se tiver itens a exibir, adiciona classe no BODY
if (total){
if (document.body.className.indexOf("modVideosTemItens")==-1){
document.body.className += " modVideosTemItens";
}
if (parametros.type=="videoListTagService"){
var editorTag = editorsChoice.tagServiceTags.replace(/,/g,'_');
if (document.body.className.indexOf("modVideosTemItens_"+editorTag)==-1){
document.body.className += " modVideosTemItens_" + editorTag;
}
}
}
//se quantidade de itens for impar, o primeiro item é um player
if(editorsChoice.num % 2 === 1 && index===0) {
return tvu.playerMarkup.call(this, index, total, cfg);
} else {
return tvu.tvuolMarkup.call(this, index, total, cfg);
}
}
tvu.newRequest(parametros);
UOL/Folha - Eleições 2010 - Debate Online