<!-- This script may be freely distributed. -->


<!-- as long as these headers are left in place. -->





<!-- Momp's Web Design -->


<!-- http://www.mompswebdesign.com -->





var gAutoPrint = false; // Flag for whether or not to automatically call the print function





function printFriendly()


{


	if (document.getElementById != null)


	{


		var html = '';





		if (document.getElementsByTagName != null)


		{


			var headTags = document.getElementsByTagName("head");


			if (headTags.length > 0)
				html += headTags[0].innerHTML;
				
				html+="<STYLE>body{margin: 20; padding: 0; background-color: #FFFFFF;}</style><b>GW Presidential Inauguration 2007<BR>http://inauguration.gwu.edu</b><br><hr><BR>"


		}


		


		html += '\n</HE' + 'AD>\n<BODY bgcolor="#FFFFFF">\n';

		


		var printPageElem = document.getElementById("printFriendly");


		


		if (printPageElem != null)


		{


				html += printPageElem.innerHTML;


		}


		else


		{


			alert("Printer Friendly functionality is not available for this page.");


			return;


		}


			


		html += '\n</BO' + 'DY>\n</HT' + 'ML>';


		


		var printWin = window.open("","printFriendly");


		printWin.document.open();


		printWin.document.write(html);


		printWin.document.close();


		if (gAutoPrint)


			printWin.print();


	}


	else


	{


		alert("Sorry, the printer friendly feature works only in JavaScript enabled browsers.");


	}


}


