﻿if (!window.XboxLiveMarketplace)
	window.XboxLiveMarketplace = {};

XboxLiveMarketplace.EpixSlide = function(xaml, index, nextIndex, previousIndex, uid) 
{
    //alert('XboxLiveMarketplace.EpixSlide: ' + index + ', '+nextIndex+', ' + previousIndex+', ' + uid);
    this.xaml = xaml;
    this.index = index;
    this.xaml.findName("uid").Text = index + '';
    this.nextIndex = nextIndex;
    this.previousIndex = previousIndex;
	this.step1 = this.xaml.findName("Step1");
	this.step2 = this.xaml.findName("Step2");
	this.step3 = this.xaml.findName("Step3");
	this.step4 = this.xaml.findName("Step4");
	this.step5 = this.xaml.findName("Step5");
	this.step6 = this.xaml.findName("Step6");
	this.stepBack = this.xaml.findName("StepBack");
	this.stepBack1 = this.xaml.findName("StepBack1");
	this.stepBack2 = this.xaml.findName("StepBack2");
	this.stepBack3 = this.xaml.findName("StepBack3");
	this.stepBack4 = this.xaml.findName("StepBack4");
	this.stepBack5 = this.xaml.findName("StepBack5");
	this.stepBack6 = this.xaml.findName("StepBack6");
	this.image = this.xaml.findName("image");
	this.media = this.xaml.findName("media");
	this.mediaCanvas = this.xaml.findName("mediaCanvas");
	this.reflection = this.xaml.findName("imageReflect");
	this.leftArrow = this.xaml.findName("leftHoverArrow");
	this.rightArrow = this.xaml.findName("rightHoverArrow");
	this.shine = this.xaml.findName("imageShine");
	this.target = this.xaml.findName("HitTarget");
	this.uid = uid;
}

XboxLiveMarketplace.EpixSlide.prototype =
{
	handleLoad: function(plugIn, userContext, rootElement) 
	{
		this.plugIn = plugIn;
	},
	init: function()
	{
	}
}