var scene;

if (!window.SilverlightJSApplication2)
	window.SilverlightJSApplication2 = {};

SilverlightJSApplication2.Scene = function() 
{
}

SilverlightJSApplication2.Scene.prototype =
{
	handleLoad: function(plugIn, userContext, rootElement) 
	{
		this.plugIn = plugIn;
	}
}

function zoomIn(sender, mouseEventArgs)
{
  sender.findName("zoomIn_"+sender.Name).begin();
}

function zoomOut(sender, mouseEventArgs)
{
  sender.findName("zoomOut_"+sender.Name).begin();
}

function clickNav(sender, mouseEventArgs)
{
  var url=[];
  url[0]="Weddings.aspx";
  url[1]="Weddings2.aspx";
  url[2]="Weddings3.aspx";
  url[3]="Weddings4.aspx";
  window.location.href=url[sender.Name.substring(sender.Name.length-1)];
}