specials={};var result="<table id='specials'>";var isHref=false;var isLogo=false;var j=0;for(var i in specials){j++;isHref=(specials[i].href.length>0);isLogo=(specials[i].firmlogo.length>0);var result="<div style='border:solid 1px #bbb;padding:8px;'>";result+='<div align="center" style="height:90px;width:90px;overflow:hidden;line-height:90px;">';result+=isHref?'<a href="'+specials[i].href+'" title="'+specials[i].address+'" target="_blank">':'';result+='<img src="'+specials[i].img+'" style="border:none;vertical-align:middle;display:inline;"/>';result+=isHref?'</a>':'';result+='<i style="display:inline-block;height:100%;vertical-align:middle;"></i></div>';result+='<div style="height:110px;overflow:hidden;margin:3px 0 1px 0;">';result+=isHref?'<a href="'+specials[i].href+'" target="_blank">':'';result+='<span style="font-size:13px;text-decoration:underline;line-height:1.3em;margin:0;">'+specials[i].address+'</span>';result+=isHref?'</a>':'';result+='<br/>';result+=isHref?'<a href="'+specials[i].href+'" style="text-decoration:none;" target="_blank">':'';result+='<span style="color:#000;font-size:10px;line-height:1.1em;margin:0;">'+specials[i].description+' </span>';result+=isHref?' &#187;&#187;&#187;</a>':'';result+='</div>';result+=isHref?'<a href="'+specials[i].href+'" style="text-decoration:none;" target="_blank">':'';result+='<span style="font-size:10px;color:#000; margin:0;overflow:hidden;height:13px;display:block;">';result+=specials[i].price;result+='</span>';result+=isLogo?'<img style="border:solid 1px #bbb;" src="'+specials[i].firmlogo+'" width=120 height=30 alt="">':'<div style="">'+specials[i].firmname+'</div>';result+='<span style="font-size:10px;color:#000;display:block;margin-top:3px;height:10px;">'+specials[i].contactphone+'</span>';result+=isHref?'</a>':'';result+="</div>";var obj=document.getElementById('vitr'+j);if(obj){obj.innerHTML=result;obj.style.display='block'}}if(typeof orsnApiAfterInsertAction=='function')orsnApiAfterInsertPerformAction({'numberOfObjects':j});