﻿if (!window.Zippo_fbanner)
	Zippo_fbanner = {};

Zippo_fbanner.Page = function() 
{
}

Zippo_fbanner.Page.prototype ={
	handleLoad: function(control, userContext, rootElement){
		this.control = control;
		
		this.control.content.findName("tl1").RepeatBehavior = "Forever";
		this.control.content.findName("tl1").Begin();
		
		// Sample event hookup:	
		//rootElement.addEventListener("MouseLeftButtonDown", Silverlight.createDelegate(this, this.handleMouseDown));
	    //rootElement.addEventListener("MouseEnter", Silverlight.createDelegate(this, this.handleMouseEnter));
	    //rootElement.addEventListener("MouseLeave", Silverlight.createDelegate(this, this.handleMouseLeave));
	}/*,
	
	// Sample event handler
    handleMouseDown: function(sender, eventArgs){
        //window.location = "http:// stb.";
    },
    
    handleMouseEnter: function(sender, eventArgs){
		this.control.content.findName("tl1").RepeatBehavior = "Forever";
		this.control.content.findName("tl1").Begin();
	},
	
	handleMouseLeave: function(sender, eventArgs) {
        //this.control.content.findName("tl1").Stop();
  }
  */
}