﻿if (!window.homeEstadio)
	window.homeEstadio = {};

homeEstadio.Page = function() 
{
}

var root2;

homeEstadio.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{		
		root2 = rootElement;		
	},
	
	// Sample event handler
	handleMouseDown: function(sender, eventArgs) 
	{
		// The following line of code shows how to find an element by name and call a method on it.
		// this.control.content.findName("Storyboard1").Begin();
	}
}
function EnterButton1(sender, args)
{
    root2.findName('boton1').Begin();
    root2.findName('canvasBot1').Visibility = "Visible";
}
function LeaveButton1(sender,args)
{
    root2.findName('boton1out').Begin();
    root2.findName('canvasBot1').Visibility = "Collapsed";
}
function EnterButton2(sender, args)
{
    root2.findName('boton2').Begin();
    root2.findName('canvasBot2').Visibility = "Visible";
}
function LeaveButton2(sender,args)
{
    root2.findName('boton2out').Begin();
    root2.findName('canvasBot2').Visibility = "Collapsed";
}
function EnterButton3(sender, args)
{
    root2.findName('boton3').Begin();
    root2.findName('canvasBot3').Visibility = "Visible";
}
function LeaveButton3(sender,args)
{
    root2.findName('boton3out').Begin();
    root2.findName('canvasBot3').Visibility = "Collapsed";
}
function ClickButton1(sender,args)
{
    window.open("server.aspx");
}
function ClickButton2(sender,args)
{
    window.open("sql.aspx");
}
function ClickButton3(sender,args)
{
    window.open("vss.aspx");
}