for(set(h,0), h LT hotspot.count, inc(h);,
if(hotspot[get(h)].style == 'hs_circle',
txtadd(hs_circle,get(hotspot[get(h)].name),'_img');
addhotspot(get(hs_circle));
hotspot[get(hs_circle)].loadstyle(hs_circle_img);
copy(hotspot[get(hs_circle)].ath,hotspot[get(h)].ath);
copy(hotspot[get(hs_circle)].atv,hotspot[get(h)].atv);
txtadd(hotspot[get(hs_circle)].url, '%HTMLPATH%/plugins/circular_thumbs/',get(hotspot[get(h)].name),'.png');
set(hotspot[get(hs_circle)].scale,0.3);
txtadd(hs_tag,get(hotspot[get(h)].name),'_tag');
addhotspot(get(hs_tag));
hotspot[get(hs_tag)].loadstyle(hs_circle_tag);
copy(hotspot[get(hs_tag)].ath,hotspot[get(h)].ath);
copy(hotspot[get(hs_tag)].atv,hotspot[get(h)].atv);
txtadd(hotspot[get(hs_tag)].html, '[h1]',get(hotspot[get(h)].tag),'[/h1]');
set(hotspot[get(hs_tag)].oy,65);););
for(set(l,0), l LT layer.count, inc(l);,
txtadd(layer[get(l)].ondown, get(layer[get(l)].ondown), ' select_hs();'););
hs_anim_off(get(@selected_hs));
set(@selected_hs, %1);
ifnot(%1 == null,
hs_anim_on(get(@selected_hs)););
txtadd(hs_tag,%1,'_tag');
tween(hotspot[get(hs_tag)].alpha,1,0.3);
set(hotspot[get(hs_tag)].zorder, 999999);
set(hotspot[%1].zorder, 999999);
tween(hotspot[%1].scale,1,0.3,easeoutcubic);
tween(hotspot[%1].alpha,0,0.3,easeoutcubic);
delayedcall(0.2,set(hotspot[%1].zorder,0););
txtadd(hs_img, %1 , '_img');
tween(hotspot[get(hs_img)].scale,0.58,0.3,easeoutcubic);
tween(hotspot[get(hs_img)].alpha,1,0.3,easeoutcubic);
if(device.desktop == true,
ifnot(hotspot[%1].hovering == true,
txtadd(hs_tag,%1,'_tag');
tween(hotspot[get(hs_tag)].alpha,0,0.3););
,
txtadd(hs_tag,%1,'_tag');
tween(hotspot[get(hs_tag)].alpha,0,0.3););
set(hotspot[%1].zorder, 100);
tween(hotspot[%1].scale,0.5,0.3,easeoutcubic);
tween(hotspot[%1].alpha,1,0.3,easeoutcubic);
txtadd(hs_img, %1 , '_img');
tween(hotspot[get(hs_img)].scale,0.28,0.3,easeoutcubic);
tween(hotspot[get(hs_img)].alpha,0,0.3,easeoutcubic);