/* ----------------------------------------------------- Digital Black and White */

// First image - r/g/b channels
function BW_ShowRedChannel() { document.getElementById("Channels").style.backgroundImage="url(/Articles/DigitalBW/RedChannel.jpg)"; }
function BW_ShowGreenChannel() { document.getElementById("Channels").style.backgroundImage="url(/Articles/DigitalBW/GreenChannel.jpg)"; }
function BW_ShowBlueChannel() { document.getElementById("Channels").style.backgroundImage="url(/Articles/DigitalBW/BlueChannel.jpg)"; }
function BW_ShowInColor() { document.getElementById("Channels").style.backgroundImage="url(/Articles/DigitalBW/Color.jpg)"; }
//Conversion types
function BW_ShowReviewColor() { document.getElementById("LandscapeReview").style.backgroundImage = "url(DigitalBW/Color.jpg)"; }
function BW_ShowReviewDesaturate() { document.getElementById("LandscapeReview").style.backgroundImage = "url(DigitalBW/DeSaturated.jpg)"; }
function BW_ShowReviewGrayscale() { document.getElementById("LandscapeReview").style.backgroundImage = "url(DigitalBW/GrayscaleColorMode.jpg)"; }
function BW_ShowReviewChannelMixer() { document.getElementById("LandscapeReview").style.backgroundImage = "url(DigitalBW/ChannelMixerResults.jpg)"; }

// Second Image
function BW_ShowRedChannel2() { document.getElementById("SecondImage").style.backgroundImage="url(/Articles/DigitalBW/RedChannel_2.jpg)"; }
function BW_ShowGreenChannel2() { document.getElementById("SecondImage").style.backgroundImage="url(/Articles/DigitalBW/GreenChannel_2.jpg)"; }
function BW_ShowBlueChannel2() { document.getElementById("SecondImage").style.backgroundImage="url(/Articles/DigitalBW/BlueChannel_2.jpg)"; }
function BW_ShowInColor2() { document.getElementById("SecondImage").style.backgroundImage="url(/Articles/DigitalBW/Color_2.jpg)"; }
function BW_ShowReviewColor2() { document.getElementById("SecondImage").style.backgroundImage = "url(/Articles/DigitalBW/Color_2.jpg)"; }
function BW_ShowReviewDesaturate2() { document.getElementById("SecondImage").style.backgroundImage = "url(/Articles/DigitalBW/DeSaturated_2.jpg)"; }
function BW_ShowReviewGrayscale2() { document.getElementById("SecondImage").style.backgroundImage = "url(/Articles/DigitalBW/GrayscaleColorMode2.jpg)"; }
function BW_ShowReviewChannelMixer2() { document.getElementById("SecondImage").style.backgroundImage = "url(/Articles/DigitalBW/ChannelMixerResults_2.jpg)"; }
function BW_ShowSepia2() { document.getElementById("SecondImage").style.backgroundImage = "url(/Articles/DigitalBW/Sepia2.jpg)"; }
function BW_ShowCyanotype2() { document.getElementById("SecondImage").style.backgroundImage = "url(/Articles/DigitalBW/DuotoneBlue2.jpg)"; }


/* ----------------------------------------------------- Soft Focus */

function ShowNallyOrig() {
	var img = document.getElementById("NallyPic");
	if (img != null) {
		img.style.backgroundImage = "url(DigitalSoftFocus/NallyOriginal.jpg)";
		img.alt = "Nally, Original";
	};
}
function ShowNallySoftFocus() {
	var img = document.getElementById("NallyPic");
	if (img != null) {
img.style.backgroundImage = "url(DigitalSoftFocus/NallySoftFocus.jpg)";
		img.alt = "Nally, Soft Focus";
	};
}

function ShowBryanna1() {
	var img = document.getElementById("BryannaPic");
	if (img != null) {
		img.style.backgroundImage = "url(DigitalSoftFocus/BryannaStep1.jpg)";
		img.alt = "Bryanna, Original (Step 1)";
	}
}
function ShowBryanna2() {
	var img = document.getElementById("BryannaPic");
	if (img != null) {
		img.style.backgroundImage = "url(DigitalSoftFocus/BryannaStep2.jpg)";
		img.alt = "Bryanna, Maximum Filter (Step 2)";
	}
}
function ShowBryanna3() {
	var img = document.getElementById("BryannaPic");
	if (img != null) {
		img.style.backgroundImage = "url(DigitalSoftFocus/BryannaStep3.jpg)";
		img.alt = "Bryanna, Gaussian Blur (Step 3)";
	}
}
function ShowBryanna4() {
	var img = document.getElementById("BryannaPic");
	if (img != null) {
		img.style.backgroundImage = "url(DigitalSoftFocus/BryannaStep4.jpg)";
		img.alt = "Bryanna, Motion Blur (Step 4)";
	}
}
function ShowBryanna5() {
	var img = document.getElementById("BryannaPic");
	if (img != null) {
		img.style.backgroundImage = "url(DigitalSoftFocus/BryannaStep5.jpg)";
		img.alt = "Bryanna, Opacity (Step 5)";
	}
}
function ShowBryanna6() {
	var img = document.getElementById("BryannaPic");
	if (img != null) {
		img.style.backgroundImage = "url(DigitalSoftFocus/BryannaStep6.jpg)";
		img.alt = "Bryanna, Layer Masking (Step 6)";
	}
}

/* ----------------------------------------------------- Layer Masking --------- */
function ShowSelectiveColor(step) {
	var img = document.getElementById("SelectiveColorStartingPoint");
	
	if(step == 1)
		img.style.backgroundImage = "url(/Articles/LayerMasking/SelectiveColorStartingPoint.jpg)";
	if(step == 2)
		img.style.backgroundImage = "url(/Articles/LayerMasking/SelectiveColorStartingPointGrayscale.jpg)";
	if(step == 3)
		img.style.backgroundImage = "url(/Articles/LayerMasking/SelectiveColorStartingPointWithLayers.jpg)";
	if(step == 4)
		img.style.backgroundImage = "url(/Articles/LayerMasking/SelectiveColorFinished.jpg)";
}
