if (!window.Default)
	window.Default = {};

Default.Page = function() 
{
}
var rootDefault;

Default.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{		
		rootDefault = 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 bot1Enter(sender, args)
{
	rootDefault.findName('btn1').begin();
}
function bot1Leave(sender, args)
{
	rootDefault.findName('btn1out').begin();
}
//function bot1Click(sender, args)
//{
//    location.href = "instructivo.aspx";
//}
function bot2Enter(sender, args)
{
    rootDefault.findName('btn2').begin();
}
function bot2Leave(sender, args)
{
    rootDefault.findName('btn2out').begin();
}
function bot2Click(sender, args)
{
    location.href = "fortuna.aspx";        
}
function bot3Enter(sender, args)
{
   rootDefault.findName('btn3').begin();
}
function bot3Leave(sender, args)
{
    rootDefault.findName('btn3out').begin();
}
function bot3Click(sender, args)
{
    location.href = "http://go.microsoft.com/?linkid=9654167";    
}
function bot4Enter(sender, args)
{
    rootDefault.findName('btn4').begin();
}
function bot4Leave(sender, args)
{
    rootDefault.findName('btn4out').begin();
}
function bot4Click(sender, args)
{
    location.href = "encuesta.aspx";    
}
function bot5Enter(sender, args)
{
    rootDefault.findName('btn5').begin();
}
function bot5Leave(sender, args)
{
    rootDefault.findName('btn5out').begin();
}
function bot5Click(sender, args)
{
    location.href = "galeria.aspx";    
}
function bot6Enter(sender, args)
{
    rootDefault.findName('btn6').begin();
}
function bot6Leave(sender, args)
{
    rootDefault.findName('btn6out').begin();
}
function bot6Click(sender, args)
{
    location.href = "http://go.microsoft.com/?linkid=9672253";
}
