﻿if (!window.government_header)
	window.government_header = {};

government_header.Page = function() 
{
}

government_header.Page.prototype =
{
storyboard: null,
    
    
	handleLoad: function(control, userContext, rootElement) 
	{
		pagecontext = this;	
		 this.control = control;
		
	    try {
			//
	        this.storyboard = rootElement.findName("silde");
	        this.storyboard.addEventListener("Completed", Silverlight.createDelegate(this, this.onStoryboardCompleted));
		//	
	        this.storyboard.Begin();	
		} catch (exc) {
		    if (this.debug)
		        alert("Error in Page.handleLoad: " + exc);
		}
	},
	
	onStoryboardCompleted: function(sender, eventArgs) 
	{   
		this.storyboard.Begin()
	}
}

