function setupLightboxContent() { var dyBoxObjectsArray = new Array(); var videoJukeBoxArray = new Array(); //Start ----------------------Root tech page-------------------------------------------- if($("rootTechBanner")) { dyBoxLink = new DyBoxObject({ compulsory: { linkType: "image", name: "rootTechBannerVideo", originalLinkID: "rootTechBannerVideo", mediaType: "video" }, videoDetails: { videoLocation: mediaServerLocation + rootTechBanner_VideoLoc, videoType: "flv" }, imageLink: { imageSRC: rootTechBanner_ImageSRC, imageALT: rootTechBanner_ImageALT, linkText: rootTechBanner_ImageText, rolloverAvailable: "true"}, containerDimensions: {height: 288, width: 512} }); dyBoxObjectsArray[0] = dyBoxLink; setUpDyBoxLinks(dyBoxObjectsArray); } if($("bagSuction")) { dyBoxLink = new DyBoxObject({ compulsory: { linkType: "image", name: "bagSuctionBannerVideo", originalLinkID: "bagSuctionBannerVideo", mediaType: "video" }, videoDetails: { videoLocation: mediaServerLocation + bagSuction_VideoLoc, videoType: "flv" }, imageLink: { imageSRC: bagSuction_ImageSRC, imageALT: bagSuction_ImageALT, linkText: bagSuction_ImageText, rolloverAvailable: "true"}, containerDimensions: {height: 288, width: 512} }); dyBoxObjectsArray[0] = dyBoxLink; setUpDyBoxLinks(dyBoxObjectsArray); } if($("noBagCyclone")) { dyBoxLink = new DyBoxObject({ compulsory: { linkType: "image", name: "noBagBannerVideo", originalLinkID: "noBagBannerVideo", mediaType: "video" }, videoDetails: { videoLocation: mediaServerLocation + noBagCyclone_VideoLoc, videoType: "flv" }, imageLink: { imageSRC: noBagCyclone_ImageSRC, imageALT: noBagCyclone_ImageALT, linkText: noBagCyclone_ImageText, rolloverAvailable: "true"}, containerDimensions: {height: 288, width: 512} }); dyBoxObjectsArray[0] = dyBoxLink; setUpDyBoxLinks(dyBoxObjectsArray); } //End ----------------------Root tech page-------------------------------------------- //Start ----------------------Ball tech page-------------------------------------------- if($("ballTechBanner")) { dyBoxLink = new DyBoxObject({ compulsory: { linkType: "image", name: "ballTechBannerVideo", originalLinkID: "ballTechBannerVideo", mediaType: "video" }, videoDetails: { videoLocation: mediaServerLocation + ballTechBanner_VideoLoc, videoType: "flv" }, imageLink: { imageSRC: ballTechBanner_ImageSRC, imageALT: ballTechBanner_ImageALT, linkText: ballTechBanner_ImageText, rolloverAvailable: "true"}, containerDimensions: {height: 288, width: 512} }); dyBoxObjectsArray[0] = dyBoxLink; setUpDyBoxLinks(dyBoxObjectsArray); } //End ----------------------Ball tech page-------------------------------------------- //Start ----------------------Hand dryer page-------------------------------------------- if($("airbladeTech")){ dyBoxLink = new DyBoxObject({ compulsory: { linkType: "image", name: "airbladeTechVideo", originalLinkID: "airbladeTechVideo",mediaType: "video" }, videoDetails: { videoLocation: mediaServerLocation + airbladeTech_VideoLoc, videoType: "flv" }, imageLink: { imageSRC: airbladeTech_ImageSRC, imageALT: airbladeTech_ImageALT, linkText: airbladeTech_ImageText, rolloverAvailable: "true"}, containerDimensions: {height: 288, width: 512} }); dyBoxObjectsArray[0] = dyBoxLink; setUpDyBoxLinks(dyBoxObjectsArray); } if($("ddmTech")) { dyBoxLink = new DyBoxObject({ compulsory: { linkType: "image", name: "ddmTechVideo", originalLinkID: "ddmTechVideo", mediaType: "video" }, videoDetails: { videoLocation: mediaServerLocation + ddmTech_VideoLoc, videoType: "flv" }, imageLink: { imageSRC: ddmTech_ImageSRC, imageALT: ddmTech_ImageALT, linkText: ddmTech_ImageText, rolloverAvailable: "true"}, containerDimensions: {height: 288, width: 512} }); dyBoxObjectsArray[0] = dyBoxLink; setUpDyBoxLinks(dyBoxObjectsArray); } //End ----------------------Hand dryer page-------------------------------------------- //Start ----------------------Hand dryer page-------------------------------------------- if($("ddmTechnology")) { dyBoxLink = new DyBoxObject({ compulsory: { linkType: "image", name: "ddmVideo", originalLinkID: "ddmVideo", mediaType: "video" }, videoDetails: { videoLocation: mediaServerLocation + ddm_VideoLoc, videoType: "flv" }, imageLink: { imageSRC: ddm_ImageSRC, imageALT: ddm_ImageALT, linkText: ddm_ImageText, rolloverAvailable: "true"}, containerDimensions: {height: 288, width: 512} }); dyBoxObjectsArray[0] = dyBoxLink; setUpDyBoxLinks(dyBoxObjectsArray); } //End ----------------------Hand dryer page-------------------------------------------- } Event.observe(window, "load", setupLightboxContent);