﻿if (!window.HawasoMainAd1)
	HawasoMainAd1 = {};

HawasoMainAd1.Page = function() 
{
}

HawasoMainAd1.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{
		this.control = control;
		
		// 예제 이벤트 연결:	
		rootElement.addEventListener("MouseLeftButtonDown", Silverlight.createDelegate(this, this.handleMouseDown));
	},
	
	// 예제 이벤트 처리기
	handleMouseDown: function(sender, eventArgs) 
	{
		// 다음 코드 줄은 이름으로 요소를 찾고 해당 요소의 메서드를 호출하는 방법을 보여 줍니다.
		// this.control.content.findName("Storyboard1").Begin();
		location.href = "http://www.VisualAcademy.com/";
	}
}
