

function setupLightboxContent() {
	var dyBoxObjectsArray = new Array();

    //--------------------------Tech Pages --------------------------------------------------

	if($("airMultiplierVideo1")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "airMultiplierVideo1", originalLinkID: "airMultiplierVideo1", mediaType: "video" },
			videoDetails: { videoLocation: mediaServerLocation + "/video/technology/airMultiplierBetter.flv", videoType: "flv" },
			textLink : {linkText: "<span class='dyBoxLink_Custom'>See the difference between choppy and smooth airflow</span> ", linkTitle: "Airmuscle video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
	
	if($("airMultiplierVideo2")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "airMultiplierVideo2", originalLinkID: "airMultiplierVideo2", mediaType: "video" },
			videoDetails: { videoLocation: mediaServerLocation + "/video/technology/features.flv", videoType: "flv" },
			textLink : {linkText: "<span class='dyBoxLink_Custom'>Watch the video</span> ", linkTitle: "Airmuscle video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
    
    if($("airMultiplierVideo2_jp")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "airMultiplierVideo2_jp", originalLinkID: "airMultiplierVideo2_jp", mediaType: "video" },
			videoDetails: { videoLocation: mediaServerLocation + "/video/technology/features_jp.flv", videoType: "flv" },
			textLink : {linkText: "<span class='dyBoxLink_Custom'>Watch the video</span> ", linkTitle: "Airmuscle video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}

	if($("airMultiplierVideo3")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "airMultiplierVideo3", originalLinkID: "airMultiplierVideo3", mediaType: "video" },
			videoDetails: { videoLocation: mediaServerLocation + "/video/technology/airMultiplierWorking.flv", videoType: "flv" },
			textLink : {linkText: "<span class='dyBoxLink_Custom'></span> ", linkTitle: "Airmuscle video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}

	if($("airMultiplierReactionsVideo")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "airMultiplierReactionsVideo", originalLinkID: "airMultiplierReactionsVideo", mediaType: "video" },
			videoDetails: { videoLocation: mediaServerLocation + "/video/reactionsEN.flv", videoType: "flv" },
			textLink : {linkText: "<span class='dyBoxLink_Custom'>Watch the video</span> ", linkTitle: "Airmuscle video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
	
	if($("airMultiplierReactionsVideo_jp")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "airMultiplierReactionsVideo", originalLinkID: "airMultiplierReactionsVideo_jp", mediaType: "video" },
			videoDetails: { videoLocation: mediaServerLocation + "/video/reactionsJP.flv", videoType: "flv" },
			textLink : {linkText: "<span class='dyBoxLink_Custom'>Watch the video</span> ", linkTitle: "Airmuscle video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
	
	if($("airmuscleVideo1")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "airmuscleVideo1", originalLinkID: "airmuscleVideo1", mediaType: "video"},
			videoDetails: { videoLocation: mediaServerLocation + "/video/technology/dc283D.flv", videoType: "flv" },
			textLink : {linkText: "<span class='dyBoxLink_Custom'>Watch...</span> the short film about Airmuscle&trade; technology", linkTitle: "Dyson Airmuscle™ video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
	
     if($("dc22Video1")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "dc22Video1", originalLinkID: "dc22Video1", mediaType: "video", itemClass: "arrowRight clear"},
			videoDetails: { videoLocation: mediaServerLocation + "/video/technology/Baby_10_web.flv", videoType: "flv" },
			textLink : {linkText: "<span class='dyBoxLink_Custom'>Watch...</span> the short film", linkTitle: "DC22 video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
    
    if($("dc24Video1")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "dc24Video1", originalLinkID: "dc24Video1", mediaType: "video", itemClass: "arrowRight clear"},
			videoDetails: { videoLocation: mediaServerLocation + "/video/technology/ball_principals_uk_60sec.flv", videoType: "flv" },
			textLink : {linkText: "<span class='dyBoxLink_Custom'>Watch...</span> the short film", linkTitle: "DC24 video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
	
	if($("dc27Video1")){
		dyBoxLink = new DyBoxObject({
            compulsory: { linkType: "text", name: "dc27Video1", originalLinkID: "dc27Video1", mediaType: "video", itemClass: "arrowRight clear" },
            videoDetails: { videoLocation: mediaServerLocation + "/swf/campaigns/DC27/Height_adjust_01.flv", videoType: "flv" },
            textLink : {linkText: "", linkTitle: "DC27 video"},
            containerDimensions: { height: 288, width: 512 }
        });
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
    
	if($("airbladeVideo1")){
		dyBoxLink = new DyBoxObject({
            compulsory: { linkType: "image", name: "airbladeVideo1", originalLinkID: "airbladeVideo1", mediaType: "video" },
            videoDetails: { videoLocation: mediaServerLocation + "/video/technology/airblade.flv", videoType: "flv" },
            imageLink: { imageSRC: "/images/technology/air_blade/jdVideoLink.jpg", imageALT: "Watch James Dyson talk about Airblade&trade; technology.", linkText: "Watch James Dyson talk about Airblade&trade; technology.", rolloverAvailable: "false", textPos :"bottom"},
            containerDimensions: { height: 288, width: 512 }
        });
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}


	if($("airbladeVideo1US")){
		dyBoxLink = new DyBoxObject({
            compulsory: { linkType: "image", name: "airbladeVideo1US", originalLinkID: "airbladeVideo1US", mediaType: "video" },
            videoDetails: { videoLocation: mediaServerLocation + "/video/technology/airblade_30sec.flv", videoType: "flv" },
            imageLink: { imageSRC: "/images/technology/air_blade/jdVideoLink.jpg", imageALT: "Watch James Dyson talk about Airblade&trade; technology.", linkText: "Watch James Dyson talk about Airblade&trade; technology.", rolloverAvailable: "false", textPos :"bottom"},
            containerDimensions: { height: 288, width: 512 }
        });
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
		
	if($("ballTechVideo1")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "ballTechVideo1", originalLinkID: "ballTechVideo1", mediaType: "video" },
			videoDetails: { videoLocation: mediaServerLocation + "/swf/video/tv_ads/flv/ball_principles_us.flv", videoType: "flv" },
			textLink : {linkText: "Watch the short film about Ball™ technology", linkTitle: "Ball technology video"},
			containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
	
	if($("ddmVideo1")){
		dyBoxLink = new DyBoxObject({
            compulsory: { linkType: "image", name: "ddmVideo1", originalLinkID: "ddmVideo1", mediaType: "video" },
            videoDetails: { videoLocation: mediaServerLocation + "/video/technology/ddmV2.flv", videoType: "flv" },
            imageLink: { imageSRC: "/images/technology/ddm/ddm_sm.jpg", imageALT: "Watch the short film about Dyson digital motor", linkText: "Watch the short film about Dyson digital motor.", rolloverAvailable: "false", textPos :"bottom"},
            containerDimensions: { height: 288, width: 512 }
        });
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
	
	if($("rootCycVideo1")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "image", name: "rootCycVideo1", originalLinkID: "rootCycVideo1", mediaType: "video" },
            videoDetails: { videoLocation: mediaServerLocation + "/video/technology/cyclonesCustom.flv", videoType: "flv" },
            imageLink: { imageSRC: "/images/technology/root_cyclone/jdExplains.jpg", imageALT: "Watch the short film about Root Cyclone™ technology", linkText: "Watch the short film about Root Cyclone™ technology", rolloverAvailable: "false", textPos :"bottom"},
            containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
	
	if($("rootCycVideoCyl")){
		dyBoxLink = new DyBoxObject({
			compulsory: { linkType: "text", name: "rootCycVideoCyl", originalLinkID: "rootCycVideoCyl", mediaType: "video" },
            videoDetails: { videoLocation: mediaServerLocation + "/video/technology/cyclonesCustom.flv", videoType: "flv" },
            textLink : {linkText: "", linkTitle: ""},
            containerDimensions: { height: 288, width: 512 }
		});
		dyBoxObjectsArray[0] = dyBoxLink;
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
    
    //--------------------------Store Pages --------------------------------------------------
    if($("allergyVideoList1")){
		if($("allergyVideo1")){
			dyBoxLink = new DyBoxObject({
				compulsory: { linkType: "text", name: "allergyVideo1", originalLinkID: "allergyVideo1", mediaType: "video" },
				videoDetails: { videoLocation: mediaServerLocation + "/video/technology/airblade.flv", videoType: "flv" },
				textLink : {linkText: "HEPA filter", linkTitle: "HEPA filter video"},
				containerDimensions: { height: 288, width: 512 }
			});
			dyBoxObjectsArray[0] = dyBoxLink;
		}
		
		if($("allergyVideo2")){
			dyBoxLink = new DyBoxObject({
				compulsory: { linkType: "text", name: "allergyVideo2", originalLinkID: "allergyVideo2", mediaType: "video" },
				videoDetails: { videoLocation: mediaServerLocation + "/video/technology/airblade.flv", videoType: "flv" },
				textLink : {linkText: "Clean expelled air", linkTitle: "Clean expelled air video"},
				containerDimensions: { height: 288, width: 512 }
			});
			dyBoxObjectsArray[1] = dyBoxLink;
		}
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
	
	if($("petsVideoList1")){
		if($("petsVideo1")){
			dyBoxLink = new DyBoxObject({
				compulsory: { linkType: "text", name: "petsVideo1", originalLinkID: "petsVideo1", mediaType: "video" },
				videoDetails: { videoLocation: mediaServerLocation + "/video/technology/airblade.flv", videoType: "flv" },
				textLink : {linkText: "Mini turbine head", linkTitle: "Mini turbine head video"},
				containerDimensions: { height: 288, width: 512 }
			});
			dyBoxObjectsArray[0] = dyBoxLink;
		}
		
		if($("petsVideo2")){
			dyBoxLink = new DyBoxObject({
				compulsory: { linkType: "text", name: "petsVideo2", originalLinkID: "petsVideo2", mediaType: "video" },
				videoDetails: { videoLocation: mediaServerLocation + "/video/technology/airblade.flv", videoType: "flv" },
				textLink : {linkText: "Motorised brushbar", linkTitle: "Motorised brushbar video"},
				containerDimensions: { height: 288, width: 512 }
			});
			dyBoxObjectsArray[1] = dyBoxLink;
		}
		setUpDyBoxLinks(dyBoxObjectsArray);
	}
}
FastInit.addOnLoad(setupLightboxContent);