<div class="help_dialog">

	<?php if (Helpers::strEqual($topic, 'create')): ?>
		<h1>Creating a New Large Ensemble Report Form</h1>

		<h2>Things To Know Before Starting</h2>
		This form is to be completed immediately following the event by the <b>Event Organizer</b>. This is not the state registration form for individual schools.  Entries on this form indicate music groups that have participated in a state qualifying event.

		<h3>Multiple Leagues at Your Event?</h3>
		If multiple OSAA leagues (not OMEA Districts) are using your event as their league contest, please fill out a separate form for each league and include the groups from the schools within that league on the respective forms.  For example, three OSAA leagues combine to preform at one large event.  The event organizer should submit three separate Large Ensemble Report Forms.

		<h2>Step 1</h2>
		In the first step of creating a new Large Ensemble Report form, you will need to provide information about yourself as the Event Organizer.   If there are any questions about the form you submit, the OSAA office may contact you via the information you provide. Only the OSAA staff will have access to your contact information.

		<h3>Form Fields</h3>
		<ul>
			<li><b>Your Name</b> - Type in your name in using "First Last" format.</li>
			<li><b>Email Address</b> - Provide your contact e-mail address.  This entry must be a valid e-mail address.</li>
			<li><b>Phone Number</b> - Please provide your contact phone number.  Type in numbers only.  Your phone number must be at least 10 digits.</li>
			<li><b>School / Org.</b> - This optional field is for provided for you to state your school or organization that you are associated with.</li>
		</ul>

		<br />

	  	<img src="<?php echo asset('images/icons/refresh_32px.png'); ?>" alt="" title="" style="float: left; margin-right: 5px;" />
	  	<b>Note:</b> If you refresh the page during Stage 1 or Stage 2, your information will be lost and you will have to start over from scratch.<br />

	  	<br />

		When you are finished with Step 1, click the "Next" button.  If there are any form errors, you will be alerted and the relevant form field will be highlighted.  If you want to start over, click the "Reset/Clear" button to start over form from scratch.

		<h2>Step 2</h2>	
		For Step 2, you'll need to provide information about the event or festival. It is important to provide accurate information. If you are unsure about an option, refer to the list of form fields below.

		<h3>Form Fields</h3>
		<ul>
			<li><b>Event Title</b> - Type in the name of your event or festival.  Each event must have its own name.  If your event does not have a specific name, you can title it simply as "District 1 Contest" or some other fashion.</li>
			<li><b>Date</b> - Click the date field to bring up a date picker.  The date must be in the past and should be within the current school year.  Dates need to be in MM/DD/YYYY format, i.e. <?php echo date('m/d/Y', time()); ?>.  If the event or festival occurred over a span of more than one day, use the last day of the event as the date for this field.</li>
			<li><b>Location</b> - This is a simple location name of where your event or festival was held.  Many locations are already specified in the database.  Suggestions will appear as you type.  If you see your location in the suggestion list, mouse over and click it or use the keyboard directional keys to select that location name.  If your location is not listed, it will be added to the database upon form creation.</li>
			<li><b>Activity</b> - Select either choir, band, or orchestra.</li>
			<li><b>Type</b> - The event type is important to specify.  Pick either OSAA league contest, OMEA district contest, or invitational event.  This field is important as the different types of events have different impacts on qualifiers.  If you are not sure on the type of your event, refer to <a href="<?php echo asset('/docs/handbooks/musichandbook.pdf'); ?>" target="_blank">OSAA Music Handbook</a>.</li>
		</ul>

		<br />

		When you are finished with Step 2, click the "Create Form" button.  If there are any form errors, you will be alerted and the relevant form field will be highlighted.	If you want to start over, click the "Reset/Clear" button to start over form from scratch.

		<br /><br />

		Once you have completed steps 1 and 2, you will receive an e-mail notification indicating that your form was successfully created.  You can refer to that e-mail in the future to return to your form.  You will then be automatically redirected to the newly created form for further data entry.

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

		<?php
			if (Helpers::strEqual($form->activity, array('CHO')))
			{
				$number_required = 3;
			}
			elseif (Helpers::strEqual($form->activity, array('BND', 'ORC')))
			{
				$number_required = 2;
			}
			else
			{
				$number_required = 'ERROR';
			}
		?>

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

		<h2>Please Read This Information Before Completing Your Form</h2>

		<b>If you are the <?php echo strtolower(Helpers::getActivityName($form->activity)); ?> director for a group and you are NOT an event organizer, then you have created this form by mistake.  You're looking for the <a href="<?php echo url('forms/music/registration'); ?>">Application to Participate in the Music State Championships</a>.</b>

		<br /><br />

		<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 are automatically saved after a field's value is confirmed (i.e. clicking outside of a text box or tabbing to another field.)  If you refresh the page, you're saved information will be retained.

	  	<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 the form to reload.  This is to allow the form to be checked for certain criteria (i.e. checking if the event is a state qualifying event) and then the page will be refreshed.

	  	<br /><br />

	  	<img src="<?php echo asset('images/icons/waiver_action_icon_48px.png'); ?>" alt="" title="" style="width: 32px; height: 32px; float: left; margin: 0 10px 0 0;" />
	  	<b>Action Items:</b> Fields or actions requiring your attention are indicated with a blue arrow.  Don't forget to fill out these important fields or check out these objects.

	  	<br /><br />

	  	<img src="<?php echo asset('images/icons/gears_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 0 0;" />
	  	<b>Auto-Logic:</b> This form will automatically determine if a group is an automatic qualifier or qualified for the tape pool based on the form's input. 

	  	<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> For additional information, click the Help button for full details and instructions.  If you need assistance, contact OSAA Support at (503) 682-6722 x228 or email <?php echo Helpers::obfuscateEmailLink ("support@osaa.org"); ?>.

		<h2>Next Steps</h2>		

		<?php if (Helpers::strEqual($form->event_type, array('OSAA League', 'OMEA District'))): ?>
			You will need to select the <b><?php echo $form->event_type; ?></b> that this event was associated with.

			<br /><br />
		<?php endif; ?>
                
        You will need to list <b><?php echo $number_required; ?> certified <?php echo strtolower(Helpers::getActivityName($form->activity)); ?> adjudicators</b> in order for this event to count as a state qualifying event.  Certified adjudicators are already stored in the database and name suggestions will appear as you type in a judge's name.  Only the scores from certified judges will count towards a group's qualifications.  

        <br /><br />

        You will need to <b>add groups</b> that participated in your event.  There should be more than one group on this form.  For each group, you will need to specify the school, performance time, judges' scores, and whether or not the group met the required selection criteria.

        <h2>Qualifiers</h2>

        Please refer to the <a href="<?php echo asset('/docs/handbooks/musichandbook.pdf'); ?>" target="_blank">OSAA Music Handbook</a> for qualifying criteria.  Ensembles attempting to qualify for the OSAA <?php echo Helpers::getActivityName($form->activity); ?> State Championships must have obtained the requirements listed in the handbook to be qualified automatically or for inclusion into the tape pool.  Note that only the actual performances are to be timed.  Do not include time between movements or selections in the total time.
        
        <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')): ?>
		
		<?php
			if (Helpers::strEqual($form->activity, array('CHO')))
			{
				$number_required = 3;
			}
			elseif (Helpers::strEqual($form->activity, array('BND', 'ORC')))
			{
				$number_required = 2;
			}
			else
			{
				$number_required = 'ERROR';
			}
		?>

		<h1>About This Form</h1>

		<h2>Form Behavior &amp; Helpful Hints</h2>

		<img src="<?php echo asset('images/icons/autosave_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 1em 0;" />
	  	<b>Auto-Save:</b> Changes are automatically saved after a field's value is confirmed (i.e. clicking outside of a text box or tabbing to another field.)  If you refresh the page, you're saved information will be retained.

	  	<br /><br />

	  	<img src="<?php echo asset('images/icons/refresh_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 1em 0;" />
	  	<b>Auto-Refresh:</b> Some fields will trigger the form to reload.  This is to allow the form to be checked for certain criteria (i.e. checking if the event is a state qualifying event) and then the page will be refreshed.

	  	<br /><br />

	  	<img src="<?php echo asset('images/icons/waiver_action_icon_48px.png'); ?>" alt="" title="" style="width: 32px; height: 32px; float: left; margin: 0 10px 0 0;" />
	  	<b>Action Items:</b> Fields or actions requiring your attention are indicated with a blue arrow.  Don't forget to fill out these important fields or check out these objects.

	  	<br /><br />

	  	<img src="<?php echo asset('images/icons/gears_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 0 0;" />
	  	<b>Auto-Logic:</b> This form will automatically determine if a group is an automatic qualifier or qualified for the tape pool based on the form's input. 

	  	<br /><br />

	  	<img src="<?php echo asset('images/icons/help_32px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 1em 0;" />
	  	<b>More Help:</b> If you need assistance, contact OSAA Support at (503) 682-6722 x228 or email <?php echo Helpers::obfuscateEmailLink ("support@osaa.org"); ?>.  It may be useful to reference FORM ID # <?php echo $form->id; ?>.

		<h2>Next Steps</h2>		

		<?php if (Helpers::strEqual($form->event_type, array('OSAA League', 'OMEA District')) and is_null($form->league)): ?>
			You will need to select the <b><?php echo $form->event_type; ?></b> that this event was associated with.

			<br /><br />
		<?php endif; ?>
                
		<?php if (!$form->data->pass_state_qualifying_event and !$form->data->override_state_qualifying_event): ?>)
        	You will need to list <b><?php echo $number_required; ?> certified <?php echo strtolower(Helpers::getActivityName($form->activity)); ?> adjudicators</b> in order for this event to count as a state qualifying event.  Certified adjudicators are already stored in the database and name suggestions will appear as you type in a judge's name.  Only the scores from certified judges will count towards a group's qualifications.  

	        <br /><br />
	    <?php endif; ?>

        <?php if (count($form->data->groups) < 1): ?>
        	You will need to <b>add groups</b> that participated in your event.  For each group, you will need to specify the school, performance time, judges' scores, and whether or not the group met the required selection criteria.

        	<br /><br />
        <?php endif; ?>

        When you are ready, you can submit the form by clicking the "Submit" button at the bottom of the form.


        <h2>Qualifiers</h2>

        In addition to satisfying the established rating standards listed in the <a href="<?php echo asset('/docs/handbooks/musichandbook.pdf'); ?>" target="_blank">OSAA Music Handbook</a>, ensembles attempting to qualify for the OSAA <?php echo Helpers::getActivityName($form->activity); ?> State Championships must perform at least one selection from the current required music list for the division in which the group is entered.

        <br /><br />

        The group must also meet the relevant time requirements.  Only the actual performances are to be timed.  Do not include time between movements or selections in the total time.        

        <br /><br />
        
        When you add a group, it will be listed in a table under the "Gorups &amp; Results" section.  Information on the group's performance will be included in the table.  The form will also so the calculated total score of all adjudicators and the sight-reading judge, if any.  The form also calculates the group's placement compared to other groups as well as the qualifications.

        <h2>Checking Qualifications</h2>

        In the table of groups and results, the qualification column will display an icon and a the qualification for that group (Automatic, Tape Pool, or None.)  Clicking the icon or text will open a window showing the form's auto-logic checks.  These auto-logic checks are essentially flags that the form uses to determine qualifications.  For specifics regarding group qualifications, refer to the <a href="<?php echo asset('/docs/handbooks/musichandbook.pdf'); ?>" target="_blank">OSAA Music Handbook</a>.

        <br /><br />

        For space, the checks are short phrases used to represent a component towards qualification as an automatic qualifier or tape pool qualifier.  The checks are described in more detail below.  Checks can have one of three values: PASS, FAIL, or SKIP.  Skipped checks are those that have been manually over-ridden either by form logic or by an OSAA Staff user.

        <h3>Auto-Logic Checks</h3>
		<ul>
			<li><b>pass_min_time</b> - This checks if the group's performance time is greater than or equal to the required minimum performance time for the activity and classification.</li>
			<li><b>pass_max_time</b> - This checks if the group's performance time is less than or equal to the required maximum performance time for the activity and classification.</li>
			<li><b>pass_selection</b> - This checks if the group performed a piece of music from the required selection list.  This is an editable check-box for the group.  This information can readily be edited by updating a group's information.</li>
			<li><b>pass_not_full_orchestra</b> - This checks if the group is not a full orchestra.  Choir and Band groups are automatically over-ridden.</li>
			<li><b>pass_first_place</b> - This checks if the group placed first amongst all other groups on the form.</li>
			<li><b>pass_3A_2A_1A</b> - This checks if the group in a Band or Orchestra group in the 3A or 2A/1A division.</li>
			<li><b>pass_top_3A_2A_1A</b> - This checks if the group in a Band or Orchestra group in the 3A or 2A/1A division and is the top placing 3A or 2A/1A group.</li>
			<li><b>pass_2_qualifying_scores</b> - This checks if the group has at least two qualifying scores from certified adjudicators.</li>
			<li><b>pass_qualifying_average</b> - This checks if the average score from the certified adjudicators is greater than or equal to the qualifying average score for Choir groups.  Band and Orchestra groups are automatically over-ridden.</li>
			<li><b>pass_only_first_place</b> - This checks if the first placed group amongst all other groups on the form is the one and only first place group.</li>
			<li><b>pass_no_other_qualifiers</b> - This checks if there are no other automatic or tape-pool qualifiers.</li>
		</ul>

		<h2>Logic Is Broken / A Group Should Be Qualified</h2>

		If you suspect that a group really should be qualified, but the form does not show it as such, the first thing you should do is check the group's qualification.  Read the previous section regarding "Checking Qualifications" and see if there is an auto-logic check that might explain why the group is not qualified.

		<br /><br />

		Some exceptions need to be made to a group's qualification variables.  You can contact the OSAA office and request that a group's auto-logic checks be over-ridden.  Only OSAA Staff users can manually over-ride a qualification component.
        
        <h1>Submitting This Form</h1>

        <h2>Ensure All Information Is Provided</h2>

        Before you submit this form, it is very important to ensure all of the required information was provided.  Did you complete all of the action items?  Did you list all of the groups and their scores that participated at your event?

        <h2>Print Your Form</h2>

        When you are finished with the form and ready to submit, it is highly recommended to print a version of the form.  Click the "Print" button to view a printable version of the page.  You can view and print the form even after the form is submitted.

        <h2>Once Submitted, the Form Cannot Be Edited</h2>

        However, once you submit the form, it can no longer be edited by you.  OSAA Staff users have access to editing forms after submission.  After you submit the form, you can still view the information and print it off.  All editing will be disabled.

        <br /><br />

        An e-mail with confirmation will be sent to you and copied to the respective OSAA Staff.  The e-mail will contain a link to re-visit and print off the form for future reference.

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

    	<h1>Music Registration Help</h1>

		<h2>About this Form</h2>
		Automatic qualifiers for state and tape pool qualifiers must submit an electronic form which indicates the school's wish to participate in the state music competition for their respective division: Concert Band, Concert Choir, String Orchestra, or Full Orchestra.
		<br /><br />
		Schools may apply for participation in more than one division, but only one per division.  No school may apply for more than one concert choir, one concert band, one string orchestra, and one full orchestra to participate in the state championships.

		<h2>Who Can Apply</h2>
		Schools must have participated in a state qualifying contest and either qualified automatically or have been qualified for inclusion in the tape pool.  The contest director is responsible for submitting a large ensemble report. Only schools that have been included on a large ensemble report and qualified for state will be allowed to register.

		<h2>How to Apply</h2>
		Click the "Apply" button under the desired division to start the registration process.  You must be logged in with an OSAA website account in order to register.
		<br /><br />
		
		<?php if (Auth::check()): ?>
			If the button appears grayed out, or if you click a button and it does nothing, this means that the registration form for that division is past its deadline. In this case, the form is closed and its button will be disabled and appear grayed out.  If the form is past the deadline, you will be unable to access your online registration form.  No late submissions shall be accepted per OSAA Music Handbook.
		<?php else: ?>
			Only authenticated and authorized individuals can access the form. Users must be logged in before proceeding with the online application process. If you are not logged in, you cannot access the online form and the "Apply" buttons appear disabled / grayed out.

			<h2>How to Login</h2>
			Log in to the OSAA website using your account e-mail and password: <a href="<?php echo url('/account/login?redirect=/forms/music/registration'); ?>">Login Page</a>.

			<h2>First Time Logging In</h2>
			Only authorized individuals are allowed to apply for participation. Users must have an OSAA website account and the account must be associated with one or more schools. Setting up an account only takes a few seconds.  You will need:
			<ul>
				<li>An e-mail address</li>
				<li>Your own personal password of your choosing</li>
				<li>Your school's key code</li>
			</ul>

			<br />

			All users must have a unique e-mail address which will be used in combination with your personal password to log you into your account. To secure your account, you will need to choose a password. Passwords must be 8-16 characters and can include letters, numbers, or special characters.

			<br /><br />

			Your school's key code is a 4 character code that your school administrator has access to (i.e. Principal, Athletic Director, Activities Director, or AD Secretary.)  The school key code is used to link your account to your school and identify your account as authorized to access features relating to the linked activity program.

			<h2>Linking to a School</h2>
			During the account registration process, there is a section called "Link to a School." This section is used to attach your new user account to a specific school. If you have your school key code (available from a school administrator,) follow these steps. If you do not have a code, you can skip this part of the registration process by checking the corresponding check-box. You can enter a key code at a later time, but you will be unable to continue with the music application process until you attach yourself to a school.

			<br /><br />
			Steps to link to a school:
			<ol>
				<li>Select your school from the drop-down list.</li>
				<li>Select your role as Head Coach.<br /><i>(Yes, head coach, even though your title may be different, your role is termed this way to grant the appropriate account privileges.)</i></li>
				<li>Select your activity from the drop-down list.</li>
				<li>Type in your school's key code.</li>
			</ol>

			<br />
			
			If you are in charge of multiple activities, for example you are the Choir Director and the Band Director for your school, you can pick one initial activity/role combination (Choir/Head Coach) when you first create your account. You can then add other combinations once your account is created (Band/Head Coach.)

			<br /><br />

			Register for a new account: <a href="<?php echo url('/account/register'); ?>">Account Registration</a>.

			<br /><br />

			For additional instructions on creating a new OSAA website account, please refer to the <a href="<?php echo url('/help'); ?>" target="_blank">General Help Page</a>.

		<?php endif; ?>

		
		<h1>Application Status</h1>
		
		<h2>List of Submitted Applications &amp; Status by School</h2>
		The bottom of the page contains a table with school registrations and their group's status.  Each row is a separate school and division application that has been started by the school.

		<h2>Filter by Division</h2>
		You can choose to only display applications within certain divisions by checking or un-checking the respective check-box at the top of the table labeled "Include Division."

		<h2>Additional Materials</h2>		
		The five columns grouped under the "Additional Materials Received" heading are all possible additional materials that must be received by the OSAA in order for a group's registration to be complete.

		<br />

		<h3>Deadline for Additional Materials: <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?></h3>

		<br />

		The columns for each item will have one of the three possible icons below:
		<ul>
			<li><img src="<?php echo asset('/images/icons/check_16px.png'); ?>" alt="Yes" title="Received" style="vertical-align: middle;" /> - Green check-mark; required item has been received by the OSAA</li>
			<li><img src="<?php echo asset('/images/icons/missing_16px.png'); ?>" alt="No" title="Not Received" style="vertical-align: middle;" /> - Red "X"; item is required and has not been received by the OSAA</li>
			<li><img src="<?php echo asset('/images/icons/na_icon_16px.png'); ?>" alt="N/A" title="Not Required" style="vertical-align: middle;" /> - Black "NA"; item is not required, no need to send anything to the OSAA</li>
		</ul>

		<br />

		The four columns refer to the following items:
		<ul>
			<li><b>Form</b> - The online registration form is to be completed and submitted by the school.  All required fields must be filled in and the form must be submitted.  A confirmation e-mail is sent whenever an online registration form is submitted.  The form can be updated after it has been submitted.  The online form's deadline is listed under each "Apply" button.</li>
			<li><b>Scores</b> - You must deliver your adjudicator score sheets that came from the state qualifying event in which your group was  qualified for state (automatically or inclusion in the tape pool.)  These scores can be faxed, e-mailed, posted by mail, or hand delivered.  The scores must be received by the OSAA by <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?>, regardless of postmark.</li>
			<?php /* <li><b>Roster</b> - You must deliver an alphabetized class roster of your group's participants.  Your roster can be faxed, e-mailed, posted by mail, or hand delivered and it must be received by the OSAA by <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?>, regardless of postmark.</li> */ ?>
			<li><b>Sheet Music</b> - If your group is a Band or Orchestra group that qualified for state by inclusion in the tape pool, you will need to deliver one original copy of the conductor's musical score/sheet music.  This must be an original as photo copies will not be accepted because of copyright issues.  Your sheet music can be posted by mail or hand delivered and it must be received by the OSAA by <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?>, regardless of postmark.</li>			
			
			<li><b>Recording</b> - If your group qualified for state by inclusion in the tape pool, you will need to upload a digital recording of your group's performance from the state qualifying event in which your group was qualified for the tape pool.  Choirs must upload a digital video file, Bands and Orchestras must upload a digital audio file.
			<br /><br />
			<b>NOTE: </b>Physical media (CD/DVD) recordings will not be accepted by the OSAA.  Recordings will only be accepted in digital format via the OSAA Dropbox.					
			</li>
			<?php /* <li><b>Recording</b> - If your group qualified for state by inclusion in the tape pool, you will need to deliver a recording of your group's performance from the state qualifying event in which your group was qualified for the tape pool.  Choirs must deliver a video recording on DVD, Bands and Orchestras must deliver an audio recording on CD.  Your recording can be posted by mail or hand delivered and it must be received by the OSAA by <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?>, regardless of postmark.</li> */ ?>
		</ul>

		<h2>Registration Status</h2>
		The "Status" column will show one of the three following icons:
		<ul>
			<li><img src="<?php echo asset('/images/icons/finished_16px.png'); ?>" alt="Complete" title="Complete" style="vertical-align: middle;" /> - Green circle indicates your registration status is complete, no further action on your part is required.</li>
			<li><img src="<?php echo asset('/images/icons/pending_16px.png'); ?>" alt="Pending" title="Pending" style="vertical-align: middle;" /> - Yellow circle indicates your online registration form is complete, but your overall application status is pending, you need to send additional materials to the OSAA for your registration to be complete.</li>
			<li><img src="<?php echo asset('/images/icons/never_started_16px.png'); ?>" alt="Incomplete" title="Incomplete" style="vertical-align: middle;" /> - Your registration status is incomplete, you still need to fill-in and submit your online registration form and send in additional materials.</li>
		</ul>

		<h2>Tape Pool Qualifiers</h2>
		Please note that if your group qualified for state by inclusion in the tape pool, then your group is not automatically going to be participating in the state competition.  Your performance recording will be reviewed with other tape pool qualifiers.  After this review, your group will either be selected to compete in the state competition or not and your group's director will be notified.


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

    	<h1><?php echo ucwords(str_replace('concert', '', str_replace('-', ' ', strtolower($category)))); ?> Registration Help</h1>

		<h2>Instructions</h2>
		<ol>
			<li>Select your school from the drop-down list.</li>
			<li>Click the "Next" button to continue.</li>
			<li>You can go back to the main music application page by clicking the "Back" button.</li>
		</ol>

		<h3>Online Form Due Date: <?php echo date('n/j/Y g:ia', strtotime($due_dates[$category])); ?></h3>

		<br />

		This online application form closes <?php echo date('g:ia, D F j, Y', strtotime($due_dates[$category])); ?>. Late entry forms will not be accepted. Support materials must be received by <?php echo date('g:ia, D F j, Y', strtotime($due_dates['support_materials'])); ?>. 

		<h2>List of Schools</h2>
		The list of schools in the drop-down list are created from all automatic and tape pool qualifying groups that have been included on a large ensemble report.  This listing is filtered further to only list schools that your OSAA website account is linked to.

		<br /><br />

		If the list is empty and/or you do not see your school listed, then there could be multiple reasons for this:
		<ul>
			<li>The contest director has not submitted your state qualifying results via large ensemble report, yet.  Contact your event director to determine if he/she has submitted a large ensemble report to the OSAA.</li>
			<li>Your school's group is not qualified for state.  A large ensemble report was submitted, but your group did not meet the requirements as an automatic or tape pool qualifier.  Your group can attend and participate in another state qualifying event in order to become qualified for state.</li>
			<li>You are logged in, but your account is not linked to a school that qualified.  Refer to the <a href="<?php echo url('/help'); ?>" target="_blank">General Help Page</a> for logging in and associating your account with a school/activity role.</li>
		</ul>

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

		<h1>About This Form</h1>

		<h2>Form Behavior &amp; Helpful Hints</h2>

		Changes are automatically saved after a field's value is confirmed (i.e. clicking outside of a text box or tabbing to another field.)  If you refresh the page, you're saved information will be retained.  	

	  	<br /><br />

	  	Required fields are indicated with a red asterisk (<span class="required">*</span> ).

	  	<br /><br />

	  	Enter names in "First Last" format, i.e. "John Smith."  Director contact information is for use by the OSAA office only and will not be publicized.  

	  	<br /><br />

	  	If you need assistance, contact OSAA Support at (503) 682-6722 x228 or email <?php echo Helpers::obfuscateEmailLink ("support@osaa.org"); ?>.  It may be useful to reference FORM ID # <?php echo $form->id; ?>.

	  	<h2>Deadlines</h2>
	  	<h3>Online Form Due: <?php echo date('n/j/Y g:ia', strtotime($due_dates[$form->category])); ?></h3>
	  	<h3>Additional Materials Due: <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?></h3>

	  	
	  	<h1>Form Fields</h1>

	  	<h2>Qualification Status</h2>		
		This top section lists your group's qualification for state and the state qualifying event(s) that your group attended.

		<h2>Registration Status</h2>
		This informational section will show your group's overall state registration status:
		<ul>
			<li><img src="<?php echo asset('/images/icons/finished_16px.png'); ?>" alt="Complete" title="Complete" style="vertical-align: middle;" /> - Green circle indicates your registration status is complete, no further action on your part is required.  Any changes to this form can be made without the need to re-submit this form.</li>
			<li><img src="<?php echo asset('/images/icons/pending_16px.png'); ?>" alt="Pending Additional Materials" title="Pending Additional Materials" style="vertical-align: middle;" /> - Yellow circle indicates your online registration form is complete, but your overall application status is pending, you need to send additional materials to the OSAA for your registration to be complete.</li>
			<li><img src="<?php echo asset('/images/icons/never_started_16px.png'); ?>" alt="Incomplete" title="Incomplete" style="vertical-align: middle;" /> - Your registration status is incomplete, you still need to fill-in and submit this online registration form and send in additional materials.</li>
		</ul>
		
		<h2>Additional Materials</h2>
		There are up to five items that must be submitted to the OSAA office for your group's registration for state to be considered complete.  These items must be received by the OSAA by the listed deadline, regardless of postmark.  These items include, but may not all apply:	
		
		<table>
			<tr>
				<td colspan="2">
					<h3>Registration Form</h3>
				</td>
			</tr>
			<tr>				
				<td style="vertical-align: top;">
					<img src="<?php echo asset('images/icons/form_2_48px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 10px 0;" />
				</td>
				<td>
					This online registration form is to be completed and submitted by each school.  All required fields must be filled in and the form must be submitted.  A confirmation e-mail is sent whenever an online registration form is submitted.  The form can be updated after it has been submitted.<br /><br />You only have to submit this form once.  After you submit this form, you can access it again and make any changes up until the deadline without having to re-submit the form.  If you do re-submit the form, it will just send another confirmation e-mail with the form's values to date.<br /><br />This online form must be submitted electronically by the deadline of <?php echo date('n/j/Y g:ia', strtotime($due_dates[$form->category])); ?>.
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<h3>Adjudicator Scores</h3>
				</td>
			</tr>
			<tr>
				<td style="vertical-align: top;">
					<img src="<?php echo asset('images/icons/form_48px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 10px 0;" />
				</td>
				<td>
					You must deliver your adjudicator score sheets that came from the state qualifying event in which your group was  qualified for state (automatically or inclusion in the tape pool.)<br /><br />These scores can be faxed, e-mailed, posted by mail, or hand delivered.  The scores must be received by the OSAA by <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?>, regardless of postmark.
				</td>
			</tr>
			<?php /* 
			<tr>
				<td colspan="2">
					<h3>Class Roster</h3>
				</td>
			</tr>
			<tr>				
				<td style="vertical-align: top;">
					<img src="<?php echo asset('images/icons/roster_48px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 10px 0;" />
				</td>
				<td>
					You must deliver an alphabetized class roster of your group's participants.<br /><br />Your roster can be faxed, e-mailed, posted by mail, or hand delivered and it must be received by the OSAA by <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?>, regardless of postmark.
				</td>
			</tr>
			 */ ?>
			<tr>
				<td colspan="2">
					<h3>Sheet Music</h3>
				</td>
			</tr>
			<tr>
				<td style="vertical-align: top;">	
					<img src="<?php echo asset('images/icons/sheet_music_48px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 10px 0;" />
				</td>			
				<td>
					If your group is a Band or Orchestra group that qualified for state by inclusion in the tape pool, you will need to deliver one original copy of the conductor's musical score/sheet music.  This must be an original as photo copies will not be accepted because of copyright issues.<br /><br />Your sheet music can be posted by mail or hand delivered and it must be received by the OSAA by <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?>, regardless of postmark.
				</td>
			</tr>
			<tr>
				<td style="vertical-align: top;">
					<h3>Recording</h3>
				</td>
			</tr>
			<tr>
				<td style="vertical-align: top;">	
					<img src="<?php echo asset('images/icons/upload_file_icon_48px.png'); ?>" alt="" title="" style="float: left; margin: 0 10px 10px 0;" />
				</td>
				<td>
					If your group qualified for state by inclusion in the tape pool, you will need to upload a digital recording of your group's performance from the state qualifying event in which your group was qualified for the tape pool.  Choirs must upload a digital video file, Bands and Orchestras must upload a digital audio file.

					<br /><br />

					<b>NOTE: </b>Physical media (CD/DVD) recordings will not be accepted by the OSAA.  Recordings will only be accepted in digital format via the OSAA Dropbox.

					<?php /* If your group qualified for state by inclusion in the tape pool, you will need to deliver a recording of your group's performance from the state qualifying event in which your group was qualified for the tape pool.  Choirs must deliver a video recording on DVD, Bands and Orchestras must deliver an audio recording on CD.<br /><br />Your recording can be posted by mail or hand delivered and it must be received by the OSAA by <?php echo date('n/j/Y g:ia', strtotime($due_dates['support_materials'])); ?>, regardless of postmark. */ ?>
				</td>
			</tr>
		</table>
		
		<h2>Uploading recording files to the OSAA Dropbox</h2>		
        <ol>
            <li>
            	Acquire a digital recording of your group's performance at the state qualifying event.  The event organizer is responsible for recording your performance and providing you a copy.  You may have to convert a CD/DVD to an appropriate digital file that can be uploaded.

            	<br /><br />
            	Most file types can be accepted.  Audio file extensions include: .mp3, .wav., .wma, and others.  Video file extensions include: .mp4, .mpeg, .mov, ., .wmv, and others.<br /><br />
           	</li>
            <li>Use your school's name as the title of your digital file (i.e. "Beadrock High School.mp3").  You must name your file appropriately.  Otherwise, the OSAA will not know which recording belongs to which school.  Do not add anything else, just the name of your school.<br /><br /></li>
            <li>Go to the OSAA Dropbox link.  A link is provided on your registration form.<br /><br /></li>
            <li>In the Dropbox webpage, confirm that you are uploading a file for the correct tape pool.  The name of the tape pool is listed near the top in large black letters beginning with the school year.<br /><br /></li>
            <li>Choose the file to upload from your computer.  If you have an existing Dropbox account, you can also choose to upload a file from your Dropbox account if you are logged in.<br /><br /></li>
            <li>Provide your first and last name as well as your e-mail address.  If you have an existing Dropbox account and are logged in, this information will be pre-filled in for you.<br /><br /></li>
            <li>
            	Click the blue "Upload" button.

            	<br /><br />
            	
            	Your file will begin uploading.  It may take a while to process.<br /><br />
            </li>
            <li>You will see a confirmation page and receive an e-mail once your file is successfully uploaded.<br /><br /></li>
            <li>OSAA staff will note that you have uploaded a file on your registration form after it is confirmed that your file was uploaded successfully.<br /><br /></li>
        </ol>     
		

	  	<?php /*  <div class="online_form_instructions ui-corner-all">
			<span class="ui-icon ui-icon-info" style="display:inline-block; position:relative; top:2px;"></span>
			<b>Instructions</b> <br />
			<ol>											
				<li>Changes are automatically saved after a field's value is confirmed (i.e. clicking outside of a text box or tabbing to another field.)  If you refresh the page, you're saved information will be retained.</li>			
				<li>When you are ready, click the "Submit" button to turn in this form with the entries provided.</li>
				<li>You can go back to the main music application page by clicking the "Back" button.</li>	
			</ol>

			<br />

			<b>Note:</b> This online application as well as any required recordings or other support materials must be received by the OSAA by <?php echo date('g:ia, D F j, Y', strtotime($info['due_dates'][$info['division']])); ?>.  Late entry forms or support materials will not be accepted.
			
			<br /><br />

			For questions, click the "Help" button for full details and instructions.  If you need assistance, you can contact <?php echo $info['staff']->name; ?> at <?php echo $info['staff']->phone; ?> or by e-mail to <?php echo Helpers::obfuscateEmailLink ($info['staff']->email); ?>.
		</div>		

		<br />	You can submit this form multiple times, if needed, prior to the deadline of <?php echo date('g:ia, D F j, Y', strtotime($info['due_dates'][$info['division']])); ?>.  Only the most recent submission will be used for registration.

		  */ ?>	

		


	<?php endif; ?>



</div>