// JavaScript Document

<!--

var strPrintableVersionLink;
var strThisPage;
var regexPattern;
var blnDisplayPrintableVersion;

regexPattern = /print=yes/;

strThisPage = document.location;

if (regexPattern.test(strThisPage)) {
	blnDisplayPrintableVersion = "True";
	strPrintableVersionLink = strThisPage;
}
else {
	blnDisplayPrintableVersion = "False";
	strPrintableVersionLink = strThisPage + "?print=yes";
}


if (blnDisplayPrintableVersion == "True") {
	//alert("Display Printable Version");
	//Import style sheet for printable version here.
	document.write('<link rel="stylesheet" type="text/css" href="lib/css/print.css">');
}
else {
	//alert("Display Regular Version");
}

if (blnDisplayPrintableVersion == "False") {

				document.write('<div id="story">');
							
						}
						
				else { 
				document.write('<div id="storyprint">');
				
				} 

//-->
