function changePrinting(theid) {
	var potTestTwo=document.getElementById("POTest2");
	if (potTestTwo.innerHTML=='Print This') {
	document.getElementById('ProtocolOrdersReportPage2').className='ShowMeInPrint';
	document.getElementById('PatientFlowsheetPage2').className='ShowMeInPrint';
	}
	else {
       document.getElementById('ProtocolOrdersReportPage2').className='HideMeInPrint';
	   document.getElementById('PatientFlowsheetPage2').className='HideMeInPrint';
	}
	
	var potTestThree=document.getElementById("POTest3");
	if (potTestThree.innerHTML=='Print This') {
	document.getElementById('ProtocolOrdersReportPage3').className='ShowMeInPrint';
	document.getElementById('PatientFlowsheetPage3').className='ShowMeInPrint';

	}
	else {
       document.getElementById('ProtocolOrdersReportPage3').className='HideMeInPrint';
	   document.getElementById('PatientFlowsheetPage3').className='HideMeInPrint';
	}
	
	

	var potTestFour=document.getElementById("POTest4");
	if (potTestFour.innerHTML=='Print This') {
	document.getElementById('ProtocolOrdersReportPage4').className='ShowMeInPrint';
	document.getElementById('PatientFlowsheetPage4').className='ShowMeInPrint';
	}
	else {
       document.getElementById('ProtocolOrdersReportPage4').className='HideMeInPrint';
	   document.getElementById('PatientFlowsheetPage4').className='HideMeInPrint';
	}
	
}
//new function for the summary
function printSummary(theid) {
	document.getElementById('PatientSummaryInfo').className='PrintMe';
		document.getElementById('PBA').className='PrintMe';
	}
//end of the new function

function printProtocol(theid) {
	document.getElementById('AllProtocolOrders').className='PrintMe';
	}

function printFlow(theid) {
	document.getElementById('AllFlowsheets').className='PrintMe';
	}

function printIC(theid) {
	document.getElementById('InformedConsent').className='PrintMe';
	}

function printPED(theid) {
	document.getElementById('PatientEducationInfo').className='PrintMe';
	}


function printFunctions(theid) {
	document.getElementById('PatientSummaryInfo').className='PrintMe';
	document.getElementById('AllProtocolOrders').className='PrintMe';
	document.getElementById('AllFlowsheets').className='PrintMe';
	document.getElementById('InformedConsent').className='PrintMe';
	document.getElementById('PatientEducationInfo').className='PrintMe';
		document.getElementById('PBA').className='PrintMe';

	}


function printingSelected(theid) {
	if (window.document.form1.protocolOrdersBox.checked == true)
	{

document.getElementById('AllProtocolOrders').className='PrintMe';

	}
	
	else {
document.getElementById('AllProtocolOrders').className='HideMe';
	}

	if (window.document.form1.protocolFlowsheetBox.checked == true)
	{
document.getElementById('AllFlowsheets').className='PrintMe';
	}
	
	else {
document.getElementById('AllFlowsheets').className='HideMe';
	}

	 if (window.document.form1.informedConsentBox.checked == true)
	{
document.getElementById('InformedConsent').className='PrintMe';
	}
	
	else {
			document.getElementById('InformedConsent').className='HideMe';
	}

	if (window.document.form1.patientEducationBox.checked == true)
	{
document.getElementById('PatientEducationInfo').className='PrintMe';

	}
	
	else {
document.getElementById('PatientEducationInfo').className='HideMe';
	}
	
// New JS for printing patient summary: 10-3-07	//
	
	

	if (window.document.form1.patientSummaryBox.checked == true)
	{
document.getElementById('PatientSummaryInfo').className='PrintMe';
document.getElementById('PBA').className='PrintMe';

	}
	
	else {
document.getElementById('PatientSummaryInfo').className='HideMe';
document.getElementById('PBA').className='HideMe';
	}
	
// End of new code

}