<?xml version="1.0" encoding="UTF-8"?><!--for xml compliance-->
<krpano version="1.0.8.14" logkey="false">
    <!--************** KrPano plugins and datas ***************************************************-->
    <plugin name="data" keep="true"/>
    <!--************** Open the first pano ********************************************************-->
    <include url="haras0.xml"/>
    <autorotate enabled="true" waittime="2" speed="5"/>
    <!--************** Fonts **********************************************************************-->
    <textstyle name="DEFAULT" background="false" bold="false" border="false" effect="dropshadow(0,45,0xffffff,4,2);" font="Myriad Pro" fontsize="16" italic="false" textcolor="0xff00254f"/>
    <!--************** Logo ***********************************************************************-->
    <plugin name="logo" url="harasdata/graphics/logo.png" keep="true" align="rightbottom" x="10" y="10" width="30" height="30" onclick="openurl(http://www.vistapanoramica.com.br/blog,_blank)"/>
	<!--************** Nadirlogo ***********************************************************************-->

	<events onviewchange="if(hotspot[nadirlogo].rotatewithview, set(hotspot[nadirlogo].rotate,get(view.hlookat)) );"
    />

    <hotspot name="nadirlogo"
        url="nadir.png"
        ath="0"
        atv="90"
        distorted="true"
        scale="1.0"
        rotate="0.0"
        rotatewithview="true"
        keep="true"
    />
    <!--************** Lensflares *****************************************************************-->
    <lensflareset name="DEFAULT" url="harasdata/graphics/flares.jpg"/>
    <!--************** Menu ***********************************************************************-->
    <plugin name="in" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="harasdata/graphics/menu/menu0.png" width="40" x="-180" y="10"/>
    <plugin name="out" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="harasdata/graphics/menu/menu1.png" width="40" x="-140" y="10"/>
    <plugin name="left" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="harasdata/graphics/menu/menu2.png" width="40" x="-100" y="10"/>
    <plugin name="right" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(hlookat_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(hlookat_moveforce,0);" url="harasdata/graphics/menu/menu3.png" width="40" x="-60" y="10"/>
    <plugin name="up" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,-1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="harasdata/graphics/menu/menu4.png" width="40" x="-20" y="10"/>
    <plugin name="down" align="bottom" crop="0|0|65|65" height="prop" keep="true" ondown="set(vlookat_moveforce,+1);" onout="" onover="" onovercrop="0|65|65|65" onup="set(vlookat_moveforce,0);" url="harasdata/graphics/menu/menu5.png" width="40" x="20" y="10"/>
    <plugin name="home" align="bottom" crop="0|0|65|65" height="prop" keep="true" onclick="lookto(get(panoview.h),get(panoview.v),get(panoview.fov),smooth(100,20,50));" onout="" onover="" onovercrop="0|65|65|65" url="harasdata/graphics/menu/menu6.png" width="40" x="60" y="10"/>
    <plugin name="openfs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,true);" onout="" onover="" onovercrop="0|65|65|65" url="harasdata/graphics/menu/menu7.png" width="40" x="100" y="10"/>
    <plugin name="closefs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,false);" onout="" onover="" onovercrop="0|65|65|65" url="harasdata/graphics/menu/menu8.png" visible="false" width="40" x="100" y="10"/>
    <plugin name="autorotationON" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationON].visible,false); set(plugin[autorotationOFF].visible,true);" onout="" onover="" onovercrop="0|65|65|65" url="harasdata/graphics/menu/menu9.png" visible="" width="40" x="140" y="10"/>
    <plugin name="autorotationOFF" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationOFF].visible,false); set(plugin[autorotationON].visible,true);" onovercrop="0|65|65|65" url="harasdata/graphics/menu/menu10.png" visible="" width="40" x="140" y="10"/>
    <plugin name="info" align="bottom" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="displayHelp();" onout="" onover="" onovercrop="0|65|65|65" url="harasdata/graphics/menu/menu11.png" width="40" x="180" y="10"/>
    <plugin name="helpScreen" align="center" customColor="true" keep="true" onclick="closeHelp();" url="harasdata/graphics/menu/help.png" visible="false"/>
    <action name="displayHelp">
        set(plugin[helpScreen].visible,true);
        set(plugin[info].onclick,closeHelp();)
    </action>
    <action name="closeHelp">
        set(plugin[helpScreen].visible,false);
        set(plugin[info].onclick,displayHelp();)
    </action>
    <events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"/>
    <!--************** Thumbnail plugin ***********************************************************-->
    <!-- action performed when mouse hovers over a thumbnail preview -->
    <action name="magnify">
		tween(plugin[%1].alpha, 1.5, 0.3, easeInOutCubic);
		tween(plugin[%1].scale, 1.05, 0.3, easeInOutCubic);
</action>
    <!-- action performed when mouse goes away from a thumbnail preview -->
    <action name="lie">
		tween(plugin[%1].alpha, 0.8, 0.3, easeInOutCubic);
		tween(plugin[%1].scale, 1, 0.3, easeInOutCubic);
</action>
    <!-- open the thumbnail -->
    <action name="slide_action_in">
		set(plugin[slide].onclick,action(slide_action_out));
		set(plugin[strap].onclick,action(slide_action_out));
		set(plugin[strapArrow].rotate,180);
		tween(plugin[thumbArray].y,120,1,easeOutQuint);
</action>
    <!-- close the thumbnail -->
    <action name="slide_action_out">
		set(plugin[slide].onclick,action(slide_action_in));
		set(plugin[strap].onclick,action(slide_action_in));
		set(plugin[strapArrow].rotate,0);
		tween(plugin[thumbArray].y,0,1,easeOutQuint);
</action>
    <plugin name="thumbArray" keep="true" zorder="1" url="harasdata/graphics/transparent.png" visible="true" enabled="true" handcursor="false" capture="false" children="true" alpha="0.9" blendmode="normal" smoothing="true" x="0" y="0" scale="1" align="top" edge="bottom" oy="0" ox="0" width="prop" height="120" rotate="0"/>
    <plugin name="slide" parent="thumbArray" keep="true" zorder="0" url="harasdata/graphics/slide.png" visible="true" enabled="true" handcursor="false" capture="false" children="true" alpha="0.9" blendmode="normal" smoothing="true" x="0" y="0" scale="1" align="bottom" edge="bottom" width="4000" height="100%" onclick="action(slide_action_in)"/>
    <plugin name="strap" keep="true" zorder="0" url="harasdata/graphics/strap.png" parent="thumbArray" scale="1" align="bottom" edge="left" rotate="90" alpha="1.0" handcursor="true" onclick="action(slide_action_in)"/>
    <plugin name="strapArrow" keep="true" parent="strap" zorder="0" url="harasdata/graphics/arrow.png" align="center" edge="center" capture="false" enabled="false" rotate="0"/>
    <!-- thumbs pictures -->
    <plugin name="thumb_haras0" keep="true" zorder="2" url="harasdata/graphics/haras0_thumbnail.jpg" parent="thumbArray" width="prop" height="83.3333%" align="topleft" edge="center" x="17.6471%" y="50%" alpha="0.8" onclick="action(closeglobalobjects);ifnot(stopSequence === undefined,action(interruptAnimation););loadpano(haras0.xml,NULL,NULL,BLEND(1));" onover="action(magnify,'thumb_haras0'); " onhover="showtext('Vista Geral');" onout="action(lie,'thumb_haras0');"></plugin>
    <plugin name="thumb_haras1" keep="true" zorder="2" url="harasdata/graphics/haras1_thumbnail.jpg" parent="thumbArray" width="prop" height="83.3333%" align="topleft" edge="center" x="50%" y="50%" alpha="0.8" onclick="action(closeglobalobjects);ifnot(stopSequence === undefined,action(interruptAnimation););loadpano(haras1.xml,NULL,NULL,BLEND(1));" onover="action(magnify,'thumb_haras1'); " onhover="showtext('Hipismo');" onout="action(lie,'thumb_haras1');"></plugin>
    <plugin name="thumb_haras2" keep="true" zorder="2" url="harasdata/graphics/haras2_thumbnail.jpg" parent="thumbArray" width="prop" height="83.3333%" align="topleft" edge="center" x="82.3529%" y="50%" alpha="0.8" onclick="action(closeglobalobjects);ifnot(stopSequence === undefined,action(interruptAnimation););loadpano(haras2.xml,NULL,NULL,BLEND(1));" onover="action(magnify,'thumb_haras2'); " onhover="showtext('Baias');" onout="action(lie,'thumb_haras2');"></plugin>
    <action name="closeglobalobjects">slide_action_out();</action>
    <action name="interruptAnimation">
        <!--Raise sequence stopper and wait sequence time to break the delayed calls-->
	ifnot (stopSequence === undefined,
		set(stopSequence,true);
		wait(0);
	);
</action>
</krpano>

