﻿if (!window.scrollingUp)
	window.scrollingUp = {};

scrollingUp.Page = function() 
{
}

scrollingUp.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{
		this.control = control;
		
		// Sample event hookup:	
		rootElement.addEventListener("MouseLeftButtonDown", Silverlight.createDelegate(this, this.handleMouseDown));
		this.control.content.findName("Storyboard1").Begin();
	},
	
	// 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 loopcode(sender,args)
{
	sender.findName("Storyboard1").Begin();
}

function open1(sender,args)
{
	window.location.href="/photos/page1.html";	
}

function open2(sender,args)
{
	window.location.href="/photos/page2.html";	
}
function open3(sender,args)
{
	window.location.href="/photos/page3.html";	
}
function open4(sender,args)
{
	window.location.href="/photos/page4.html";	
}
function open5(sender,args)
{
	window.location.href="/photos/page5.html";	
}
function open6(sender,args)
{
	window.location.href="/photos/page6.html";	
}
function open7(sender,args)
{
	window.location.href="/photos/page7.html";	
}
function open8(sender,args)
{
	window.location.href="/photos/page8.html";	
}
function open9(sender,args)
{
	window.location.href="/photos/page9.html";	
}
function open10(sender,args)
{
	window.location.href="/photos/page10.html";	
}
function open11(sender,args)
{
	window.location.href="/photos/page11.html";	
}
function open12(sender,args)
{
	window.location.href="/photos/page12.html";	
}
function open13(sender,args)
{
	window.location.href="/photos/page13.html";	
}
function open14(sender,args)
{
	window.location.href="/photos/page14.html";	
}
function open15(sender,args)
{
	window.location.href="/photos/page15.html";	
}
