/*
	STORY.JS


1.0 UTILITY FUNCTIONS
	Function and variables that are used later by other functions

2.0 FORM INTERATION
	Form validation

3.0 NAVIGATION
	Navigation between pages and links on the site

4.0 PAGE ACTIONS
	Interface behaviours 

*******************************************************************************/


	// BEGIN PRINTER-FRIENDLY CODE ******************
	/* Replaced by above code.
	
	function printFriendly() {
	    printBanner1 = document.getElementById("printBanner");
	    bannerAd1 = document.getElementById("bannerAd");
	    bannerAd2 = document.getElementById("adspace-bannerAd");
	    header1 = document.getElementById("header");
	    pageContent1 = document.getElementById("pageContent");
	    colLeft1 = document.getElementById("colLeft");
	    colRight1 = document.getElementById("colRight160");
	    printTools1 = document.getElementById("printTools");
	    printIcon1 = document.getElementById("printIcon");
	    footer1 = document.getElementById("footer");

	    if (printBanner1) { printBanner1.style.display = "inline"; }
	    if (bannerAd1) { bannerAd1.style.display = "none"; }
	    if (bannerAd2) { bannerAd2.style.display = "none"; }
	    if (header1) { header1.style.display = "none"; }
	    if (pageContent1) { pageContent1.style.backgroundImage = "none"; }
	    if (colLeft1) { colLeft1.style.display = "none"; }
	    if (colRight1) { colRight1.style.display = "none"; }
	    // if (printTools1) { printTools1.style.display = "inline"; }
	    if (printIcon1) { printIcon1.style.display = "none"; }
	    if (footer1) { footer1.style.display = "none"; }
	    window.print();
	    return;
	}
	function viewFriendly() {
	    printBanner1 = document.getElementById("printBanner");
	    bannerAd1 = document.getElementById("bannerAd");
	    bannerAd2 = document.getElementById("adspace-bannerAd");
	    header1 = document.getElementById("header");
	    pageContent1 = document.getElementById("pageContent");
	    colLeft1 = document.getElementById("colLeft");
	    colRight1 = document.getElementById("colRight160");
	    printTools1 = document.getElementById("printTools");
	    printIcon1 = document.getElementById("printIcon");
	    footer1 = document.getElementById("footer");

	    if (printBanner1) { printBanner1.style.display = "none"; }
	    if (bannerAd1) { bannerAd1.style.display = "inline"; }
	    if (bannerAd2) { bannerAd2.style.display = "inline"; }
	    if (header1) { header1.style.display = "inline"; }
	    if (pageContent1) { pageContent1.style.backgroundImage = "inline"; }
	    if (colLeft1) { colLeft1.style.display = "inline"; }
	    if (colRight1) { colRight1.style.display= "inline"; }
	    if (printIcon1) { printIcon1.style.display = "inline"; }
	    if (printPage1) { printPage1.style.display = "none"; }
	    if (footer1) { footer1.style.display = "inline"; }
	    return;
	};
	*/
	// END PRINTER-FRIENDLY CODE ******************

