‘;
}else{
var centerAdContent = ”;
}
function myCoreSlider(divid){
jQuery(“#”+divid).coreSlider({ clone: true, controlNavEnabled: true, cloneItems: 3 });
}
function pgdfpadrendering(commonidentifier,imageid) {
var slot = ”;
console.log(lang);
if(lang==’te’){
if(commonidentifier==’first-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/bollywoodlife_telugu_web/bollywoodlife_telugu_ptg_300x250′;
var divID = commonidentifier+’-‘+imageid;
}else if(commonidentifier==’second-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/bollywoodlife_telugu_web/bollywoodlife_telugu_ptg_300x250_1′;
var divID = commonidentifier+’-‘+imageid;
}
}else if(lang==’hi’){
if(commonidentifier==’first-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_hindi_Web/bollywoodlife_hindi_ptg_300x250′;
var divID = commonidentifier+’-‘+imageid;
}else if(commonidentifier==’second-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_hindi_Web/bollywoodlife_hindi_ptg_300x250_1′;
var divID = commonidentifier+’-‘+imageid;
}
}else{
if(commonidentifier==’first-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_Web/bollywoodlife_ptg_300x250′;
var divID = commonidentifier+’-‘+imageid;
}else if(commonidentifier==’second-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_Web/bollywoodlife_ptg_300x250_1′;
var divID = commonidentifier+’-‘+imageid;
}
}
//$(‘#’+divID).empty();
var elId = divID;
console.log(“DIV : “+divID);
if(divID != ”) {
googletag.cmd.push(function() {
//googletag.display(elId);
slot = googletag.defineSlot(adPgSlot, [300, 250], elId).addService(googletag.pubads());
googletag.enableServices();
googletag.pubads().refresh([slot]);
});
}
}
function renderphotoads(commonidentifier,imageid){
var divID = commonidentifier+’-‘+imageid;
if(lang==’te’){
if(commonidentifier==’first-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/bollywoodlife_telugu_web/bollywoodlife_telugu_ptg_300x250′;
}else if(commonidentifier==’second-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/bollywoodlife_telugu_web/bollywoodlife_telugu_ptg_300x250_1′;
}
}else if(lang==’hi’){
if(commonidentifier==’first-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_hindi_Web/bollywoodlife_hindi_ptg_300x250′;
}else if(commonidentifier==’second-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_hindi_Web/bollywoodlife_hindi_ptg_300x250_1′;
}
}else{
if(commonidentifier==’first-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_Web/bollywoodlife_ptg_300x250′;
}else if(commonidentifier==’second-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_Web/bollywoodlife_ptg_300x250_1′;
}
}
googletag.cmd.push(function() {
var slotw = googletag.defineSlot(adPgSlot, [300, 250], divID).addService(googletag.pubads());
googletag.enableServices();
googletag.pubads().refresh([slotw]);
});
}
function renderphotoadsfirstgallery(commonidentifier,imageid){
var divID = commonidentifier+’-‘+imageid;
if(lang==’hi’){
if(commonidentifier==’first-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_hindi_Web/bollywoodlife_hindi_ptg_300x250′;
}else if(commonidentifier==’second-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_hindi_Web/bollywoodlife_hindi_ptg_300x250_1′;
}
}else{
if(commonidentifier==’first-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_Web/bollywoodlife_ptg_300x250′;
}else if(commonidentifier==’second-dfp-photogallery-middle’){
var adPgSlot = ‘/11440465/Bollywoodlife_Web/bollywoodlife_ptg_300x250_1’;
}
}
googletag.cmd.push(function() {
var slotw = googletag.defineSlot(adPgSlot, [300, 250], divID).addService(googletag.pubads());
googletag.enableServices();
googletag.display(divID);
googletag.pubads().refresh([slotw]);
});
}
Bollywoodlife_Web/Bollywoodlife_AL_ATF_300x250|300,250~Bollywoodlife_Web/Bollywoodlife_AL_BTF_1_300x250|300,250~Bollywoodlife_Web/Bollywoodlife_AL_BTF_2_300x250|300,250~Bollywoodlife_Web/Bollywoodlife_AL_ATF_970x90|970,250~Bollywoodlife_Web/bollywoodlife_ros_strip|1300,50