﻿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 = server + "/latam/technet/heroesit/maximas.aspx";
}
function bot2Enter(sender, args)
{
    rootDefault.findName('btn2').begin();
}
function bot2Leave(sender, args)
{
    rootDefault.findName('btn2out').begin();
}
function bot2Click(sender, args)
{
    location.href = server + "/latam/technet/heroesit/guru.aspx";        
}
function bot3Enter(sender, args)
{
   rootDefault.findName('btn3').begin();
}
function bot3Leave(sender, args)
{
    rootDefault.findName('btn3out').begin();
}
function bot3Click(sender, args)
{
    location.href = server + "/latam/technet/heroesit/winners.aspx";    
}
function bot4Enter(sender, args)
{    
    rootDefault.findName('btn4').begin();
}
function bot4Leave(sender, args)
{
    rootDefault.findName('btn4out').begin();
}
function bot4Click(sender, args)    
{
    location.href = server + "/latam/technet/heroesit/supergym.aspx";    
}
function bot5Enter(sender, args)
{
    rootDefault.findName('btn5').begin();
}
function bot5Leave(sender, args)
{
    rootDefault.findName('btn5out').begin();
}
function bot5Click(sender, args)
{
    location.href = server + "/latam/technet/heroesit/archienemigo.aspx";  
}
function botRecargaClick(sender, args)
{
    window.open('http://go.microsoft.com/?linkid=8558136');
}
function botRecargaEnter(sender, args)
{
    rootDefault.findName('btnRecargaOver').begin();
}
function botRecargaLeave(sender, args)
{
    rootDefault.findName('btnRecargaOut').begin();
}
