//Microsoft.Glimmer.OneWay
//<AnimationCollection FilePath="E:\Documents and Settings\mat\Escritorio\Webs\Trabajos\CTRLN\js\glimmer.js" xmlns="clr-namespace:GlimmerLib;assembly=GlimmerLib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"><Animation Name="boletos1" EventType="mouseover" Trigger="#boleto1"><Animation.Targets><Target Name="#boleto1" Duration="315" Easing="linear" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="230px" To="220" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="boletoout1" EventType="mouseout" Trigger="#boleto1"><Animation.Targets><Target Name="#boleto1" Duration="315" Easing="linear" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="220px" To="230" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="boleto2" EventType="mouseover" Trigger="#boleto2"><Animation.Targets><Target Name="#boleto2" Duration="315" Easing="linear" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="230px" To="220" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="boletoout2" EventType="mouseout" Trigger="#boleto2"><Animation.Targets><Target Name="#boleto2" Duration="315" Easing="linear" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="220px" To="230" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="globo1" EventType="click" Trigger="#globo1"><Animation.Targets><Target Name="#globo1" Duration="7000" Easing="easeInOutBack" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="99px" To="-140" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target><Target Name="#globo1" Duration="5700" Easing="linear" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="-140px" To="99" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="globo2" EventType="load" Trigger="{x:Null}"><Animation.Targets><Target Name="#globo2" Duration="7000" Easing="easeOutBack" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="-130px" To="202" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="boleto3" EventType="mouseover" Trigger="#boleto3"><Animation.Targets><Target Name="#boleto3" Duration="315" Easing="linear" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="230px" To="220" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="boletoouut3" EventType="mouseout" Trigger="#boleto3"><Animation.Targets><Target Name="#boleto3" Duration="315" Easing="linear" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="220px" To="230" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="boleto4" EventType="mouseover" Trigger="#boleto4"><Animation.Targets><Target Name="#boleto4" Duration="315" Easing="linear" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="230px" To="220" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="boletoout4" EventType="mouseout" Trigger="#boleto4"><Animation.Targets><Target Name="#boleto4" Duration="315" Easing="linear" Callback="null"><Target.Effects><YTranslationEffect CSSName="top" DisplayName="Y Position Animation" MaxValue="5000" MinValue="-5000" From="220px" To="230" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation><Animation Name="avion" EventType="click" Trigger="#avion"><Animation.Targets><Target Name="#avion" Duration="30000" Easing="linear" Callback="null"><Target.Effects><XTranslationEffect CSSName="left" DisplayName="X Position Animation" MaxValue="5000" MinValue="-5000" From="599px" To="4775" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target><Target Name="#avion" Duration="1000" Easing="linear" Callback="null"><Target.Effects><OpacityEffect CSSName="opacity" DisplayName="Opacity Animation" MaxValue="1" MinValue="0" From="1" To="0" IsStartValue="True" IsActive="True" IsAnimatable="True" IsExpression="False" FormatString="" RequiresJQueryPlugin="False" JQueryPluginURI="" /></Target.Effects></Target></Animation.Targets></Animation></AnimationCollection>
jQuery(function($) {
var timer;
function boletos1(event)
{
     $("#boleto1").css("top","230px");
    $("#boleto1").stop().animate({"top":220},315, "linear", null);
}

function boletoout1(event)
{
     $("#boleto1").css("top","220px");
    $("#boleto1").stop().animate({"top":230},315, "linear", null);
}

function boleto2(event)
{
     $("#boleto2").css("top","230px");
    $("#boleto2").stop().animate({"top":220},315, "linear", null);
}

function boletoout2(event)
{
     $("#boleto2").css("top","220px");
    $("#boleto2").stop().animate({"top":230},315, "linear", null);
}

function globo1(event)
{
     $("#globo1").css("top","99px");
    $("#globo1").animate({"top":-140},7000, "easeInOutBack", null);
     $("#globo1").css("top","-140px");
    $("#globo1").animate({"top":99},5700, "linear", null);
}

function globo2(event)
{
     $("#globo2").css("top","-130px");
    $("#globo2").animate({"top":202},7000, "easeOutBack", null);
}

function boleto3(event)
{
     $("#boleto3").css("top","230px");
    $("#boleto3").stop().animate({"top":220},315, "linear", null);
}

function boletoouut3(event)
{
     $("#boleto3").css("top","220px");
    $("#boleto3").stop().animate({"top":230},315, "linear", null);
}

function boleto4(event)
{
     $("#boleto4").css("top","230px");
    $("#boleto4").stop().animate({"top":220},315, "linear", null);
}

function boletoout4(event)
{
     $("#boleto4").css("top","220px");
    $("#boleto4").stop().animate({"top":230},315, "linear", null);
}

function avion(event)
{
     $("#avion").css("left","599px");
    $("#avion").animate({"left":4775},30000, "linear", null);
     $("#avion").css("opacity","1");
    $("#avion").animate({"opacity":0},1000, "linear", null);
}

$('#boleto1').bind('mouseover', boletos1);

$('#boleto1').bind('mouseout', boletoout1);

$('#boleto2').bind('mouseover', boleto2);

$('#boleto2').bind('mouseout', boletoout2);

$('#globo1').bind('click', globo1);

globo2();

$('#boleto3').bind('mouseover', boleto3);

$('#boleto3').bind('mouseout', boletoouut3);

$('#boleto4').bind('mouseover', boleto4);

$('#boleto4').bind('mouseout', boletoout4);

$('#avion').bind('click', avion);

});
