Naslov
var classified = QuidditaEnvironment.CurrentClassified; classified.History = QuidditaEnvironment.CurrentClassifiedHistory; classified.Instances = QuidditaEnvironment.CurrentClassifiedInstances;
var multi = false;
var code = 'Title';
if (!classified[code])
var code = 'Title'
if (classified[code]) {
var unit = classified['Title' + '_s_unit_s'] || '';
var el = document.getElementById('plh1');
el.innerHTML = classified[code] + ' ' + formatAdAttributeUnit(code, unit, classified[code]);
if (multi)
appendValueInOtherUnits(code, classified[code], unit, el.parentNode);
}
else {
var child = document.getElementById('plh1');
child.parentNode.removeChild(child);
}
if(document.currentScript && document.currentScript.remove){{
document.currentScript.remove();
}}
else {{
var scripts = document.getElementsByTagName('script');
for(var i = scripts.length - 1; i > 0; i--){{
if(scripts[i].getAttribute('type')==null)
{{
scripts[i].parentNode.removeChild(scripts[i]);
break;
}}
}}
}}