<krpano>
<textbox_settings pic_ratio="30%" pic_ratio_portrait="34%" pic_align="lefttop" pic_resize_min="1" pic_resize_max="1" linecolor="0xFFFFFF" linealpha="0.9" separation_line_visible="false" scale_normal="0.8" scale_mobile="0.75" scale_normal_for_next_prev="75" scale_mobile_for_next_prev="75" next_prev_x_normal="-5" next_prev_x_normal_portrait="0" next_prev_x_mobile="0" next_prev_x_mobile_portrait="0" next_prev_portrait_bottom="true" button_postion_x="0" button_postion_y.normal="-10" button_postion_y.mobile="-5" title_postion_y_mobile="-50" title_postion_y_normal="-70" index_postion_y_mobile="10" index_postion_y_normal="10" usebg="false" bg_url="%CURRENTXML%imagetext/bg.png" bg_scale9grid="28|30|662|340" bgcolor="0x001122" bgalpha="0.8" bgborder="0 0xFFFFFF 0" bgroundedge="0" bgshadow="0 0 0.5 0xFFFFFF 0" bgwidth="100%" bgheight="100%" closebutton_color="false" enlarge_button="true" enlarge_button_x="0" enlarge_button_y="0" next_and_prev_button_color="false" next_and_prev_button_alpha="1" next_and_prev_loop="false" next_and_prev_button="false" title_normal="text-align:left; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:24px;" title_mobile="text-align:left; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:20px;" index_visible="true" index_normal="text-align:center; color:#FFFFFF; font-family:Arial;  font-size:26px;" index_mobile="text-align:center; color:#FFFFFF; font-family:Arial;  font-size:22px;" index_color="#71b6ff" text_normal="color:#FFFFFF; font-family:Arial; font-size:16px;" text_mobile="color:#FFFFFF; font-family:Arial; font-size:14px;" zoomtocursor="false" autoplaysound="true" button="music|link" linkbutton="1" loadingtext="" loadingtextcss="color:#FFFFFF; font-family:Arial; font-size:28px; text-align:center;" loadingimgurl="%CURRENTXML%imagetext/loadanimation2.png" loadingimgvalue="100|100|4" imgurl="%CURRENTXML%imagetext/gallerybtns5.png" change_pic_ratio="" change_pic_ratio_portrait="" change_next_and_prev_loop="get:textbox_settings.next_and_prev_loop" change_next_and_prev_button="get:textbox_settings.next_and_prev_button" change_pic_bg="get:textbox_settings.usebg" skintextbox="" iframe="false" bfl="" />
<action name="useraction"></action>
<action name="open_imagetext">
do_hidelayer();
<!-- open_textbox(%1,%2,%3,%4,%5,%6); -->
open_textbox(%1,%2,null,null,true,true);
</action>
<action name="open_imagetexts">
do_hidelayer();
<!-- open_textbox(%1,%2,%3,%4,%5,%6); -->
open_textbox(%1,%2,%3,%4,true,true);
</action>
<action name="do_showlayer">
for(set(i,0), i LT layer.count, inc(i),
	copy(l_name,layer[get(i)].name);
	if (layer[get(l_name)].type == 'container' AND layer[get(l_name)].function, 
		copy(layer[get(l_name)].visible,layer[get(l_name)].bk_visible);
		);
	);
</action>
<action name="do_hidelayer">
<!-- trace(get(plugin[textbox_soundbutton].parent)); -->
for(set(i,0), i LT layer.count, inc(i),
	copy(l_name,layer[get(i)].name);
	if (layer[get(l_name)].type == 'container' AND layer[get(l_name)].function, 
			trace(get(l_name),'--',get(layer[get(l_name)].parent));

		copy(layer[get(l_name)].bk_visible,layer[get(l_name)].visible);
		set(layer[get(l_name)].visible,false);
		);
	);
</action>

<action name="show_imagetext">
<!-- do_hidelayer(); -->
set(layer[textbox_container].zorder,500);
copy(_iname,intropic[get(link_it_index)].name);
open_textbox(get(link_it_item),get(_iname),null,null,get(link_it_button),get(link_it_circle));
</action>
</krpano>