<div class="help_dialog">

	<?php if (Helpers::strEqual($topic, 'new-form')): ?>		

		<h1>Your Form Was Successfully Created</h1>

		<h2 style="color: #990000 !important;">Please Read This Information About Your New Form</h2>

		<h2>Online Ejection Reports</h2>
		Information		

		<h2>Using This Form</h2>
		<img src="<?php echo asset('images/icons/autosave_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 0 0;" />
	  	<b>Auto-Save:</b> Changes to your form are automatically saved after a field's value is confirmed (i.e. clicking outside of a text box or tabbing to another field.)

	  	<br /><br />

	  	<img src="<?php echo asset('images/icons/refresh_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 0 0;" />
	  	<b>Auto-Refresh:</b> Some fields will trigger your form to reload.  You will see your page refreshed with updated information.  These fields have a blue border.

	  	<br /><br />	  	

	  	<img src="<?php echo asset('images/icons/help_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 0 0;" />
	  	<b>More Help:</b> Click the "Help" button anytime for detailed instructions.  For assistance, contact OSAA Support: (503) 682-6722 x228 or <?php echo Helpers::obfuscateEmailLink ("support@osaa.org"); ?>.		
		
        <div style="width: 100%; text-align: center; padding-top: 1.5em; position: relative;">

        	<div class="close_first_view_button">Got it, let's get started</div>
        	<img src="<?php echo asset('/images/icons/waiver_action_icon_48px.png'); ?>" class="action_item" alt="" title="" style="position: absolute; left: 0; top: 0; width: 32px; height: 32px;" data-direction="left" />

        </div>

	<?php elseif (Helpers::strEqual($topic, 'edit')): ?>		

		<h1>Online Ejection Report <?php echo $object->ejection->id; ?></h1>
			
		<h2>Using This Form</h2>
		<img src="<?php echo asset('images/icons/autosave_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 0 0;" />
	  	<b>Auto-Save:</b> Changes to your form are automatically saved after a field's value is confirmed (i.e. clicking outside of a text box or tabbing to another field.)

	  	<br /><br />

	  	<img src="<?php echo asset('images/icons/refresh_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 0 0;" />
	  	<b>Auto-Refresh:</b> Some fields will trigger your form to reload.  You will see your page refreshed with updated information.  These fields are indicated with a blue border.

	  	<br /><br />	  	

	  	<img src="<?php echo asset('images/icons/help_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 0 0;" />
	  	<b>More Help:</b> Click the "Help" button anytime for detailed instructions.  For assistance, contact OSAA Support: (503) 682-6722 x228 or <?php echo Helpers::obfuscateEmailLink ("support@osaa.org"); ?>.		
		


		<h2>Form Actions</h2>
		The "Form Actions" section is the gray area underneath the header at the top of the form:
		<ul>
			<?php
				$items = $object->ejection->getActionItems();
			?>
			<?php if ($items['print']['enabled']): ?>
				<li><b>Print</b> - This shows an unofficial printable version of the ejection report.  Printed versions are not official and will not be accepted in lieu of an online report.</li>
			<?php endif; ?>

			<?php if ($items['delete']['enabled']): ?>
				<li><b>Delete</b> - If you no longer wish to report this ejection, click this button.  Once deleted, reports cannot be reinstated.  Once a form has been submitted by the Commissioner, it cannot be deleted.</li>
			<?php endif; ?>

			<?php if ($items['accept']['enabled']): ?>
				<li><b>Accept Ejection</b> - Schools click this button to accept the ejection report without appealing the suspension/fine.</li>
			<?php endif; ?>

			<?php if ($items['appeal']['enabled']): ?>
				<li><b>Appeal Ejection</b> - Schools click this button to appeal the ejection's suspension/fine.</li>
			<?php endif; ?>

			<?php if ($items['check']['enabled']): ?>
				<li><b>Run Check</b> - Click this button to check if your form meets all of the requirements to be submitted.</li>
			<?php endif; ?>

			<?php if ($items['submit']['enabled']): ?>
				<?php if (Helpers::strEqual($object->ejection_status->slug, 'WORK')): ?>
					<li><b>Submit</b> - Officials click this button to submit the report to the Commissioner.</li>
				<?php else: ?>
					<li><b>Submit</b> - Commissioners click this button to submit the report to the school and to notify the OSAA.</li>
				<?php endif; ?>
			<?php endif; ?>

			<?php if ($items['done']['enabled']): ?>
				<li><b>Mark Done</b> - OSAA staff click this button to close the ejection report.</li>
			<?php endif; ?>
		</ul>
		
		<?php if (Helpers::strEqual($object->ejection_status->slug, 'WTDN')): ?>
			<h2 style="color: #990000 !important;">This Form Is Deleted</h2>
			This form has been deleted and it cannot be edited.  There is nothing left to do with this form.
		
		<?php elseif (Helpers::strEqual($object->ejection_status->slug, 'WORK')): ?>
			<h2 style="color: #990000 !important;">Official's Next Steps</h2>
			Be sure to provide all of the required information and then click <b>Submit</b> to send the report to your Commissioner.
			
		<?php elseif (Helpers::strEqual($object->ejection_status->slug, 'CMSH')): ?>
			<h2 style="color: #990000 !important;">Commissioner's Next Steps</h2>
			Be sure all of the required information has been provided.  Add any additional details in the <b>Commissioner's Notes</b> field.  Click <b>Submit</b> to send this report to the school and to notify the OSAA.		
		
		<?php elseif (Helpers::strEqual($object->ejection_status->slug, 'SUBT')): ?>
			<h2 style="color: #990000 !important;">School's Next Steps</h2>
			The Commissioner has provided information regarding your school's recent ejection.  Review the information provided.  You are required to provide a response or a plan of action in the <b>School Action / Statement</b> section.
			<br /><br />
			Be sure to indicate if this is the last contest for this team at this level (V, JV, FR, etc.) in the <b>Last Contest</b> drop-down.
			<br /><br />
			Click <b>Accept Ejection</b> to acknowledge receipt of this ejection report and to notify the OSAA that your school is not appealing the ejection's suspension/fine.  Click <b>Appeal Ejection</b> to appeal this ejection's suspension/fine.  The OSAA staff responsible for the sport will be notified and begin communicating with the Commissioner to rule on your appeal.
		
		<?php elseif (Helpers::strEqual($object->ejection_status->slug, 'APPL')): ?>
			<h2 style="color: #990000 !important;">Your Appeal Is Being Considered</h2>
			The OSAA office is working with your Commissioner to make a decision regarding your school's appeal of the ejection suspension/fine.

		<?php elseif (Helpers::strEqual($object->ejection_status->slug, 'RECD')): ?>
			<h2 style="color: #990000 !important;">OSAA Will Review the Report</h2>
			The OSAA office has been notified of this ejection and knows that your school is not appealing the suspension/fine.  There is no further action to be done with the report.  OSAA staff will mark the form as done when they have finished the review.

		<?php elseif (Helpers::strEqual($object->ejection_status->slug, 'DONE')): ?>
			<h2 style="color: #990000 !important;">Report Is Closed</h2>
			The ejection report has been reviewed and any appeal has been ruled.  There are no further actions to be done with this report.
		
		<?php elseif (Helpers::strEqual($object->ejection_status->slug, 'ARCH')): ?>
			<h2 style="color: #990000 !important;">Report Is Archived</h2>
			This form has been archived.  It will be retained in the database for record keeping purposes for up to five years.
		<?php endif; ?>		 

	<?php elseif (Helpers::strEqual($topic, 'ejection-category')): ?>		

		<h1>Ejection Categories</h1>

		<h2>Authority</h2>
		Arbiters of the game - referees, umpires, and officials - have authority under NFHS rules to eject or disqualify participants, including players and coaches.  This authority falls under a rule or set of rules defined by the NFHS and/or modified by the OSAA.

		<h3>Why Are There Categories?</h3>
		When it comes to how a sport is played, officials do not have carte blanche.  Rules are instituted to define the sport and expectations by participants.  Officials enforce rules which might also include ejecting a participant where warranted.
		<br /><br />
		When reporting an ejection, the reason for the ejection must fall under a category or rule.  This helps administrators understand the nature of the ejection at a glance.  The ejection category is an umbrella criteria or general rule that pertains to why the individual was ejected.
		
		<br /><br />

		<h2>Reason for the Ejection</h2>
		In addition to specifying the general category, the reason for the ejection is a description of the pertinent events and actions that resulted in the ejection.  The nature of the ejection cannot be expressed by a simple category title alone.  Instead, an accompanying reason helps to elaborate and expand on the nature of the ejection as a factual representation of what caused the participant to be ejected.

		<br /><br />

		<h2>NFHS Rule(s)</h2>
		For clarification, the ejection category is linked to one or more NFHS rules.  When a category is selected, the corresponding rule or rules will be shown for reference in the current sport's NFHS Rules Book.		
		
    
	<?php else: ?>

		<div style="text-align: center;"><br />No help is available for the given topic "<?php echo $topic; ?>".</div>

	<?php endif; ?>



</div>