Training = function(){
   
   this.get = function(){
      var trainDat = "<center><span class='dataHeading'>State Approved Training</span></center><br><br>";
      
      trainDat += '<img src="./img/educate.jpg" align="right"/>';
      
      trainDat += '<div id="accordion"><ul>';
      
      trainDat += '<li><a id="title1" class="trainA">Maintaining A Safe and Healthy Environment (ECE-2)</a></li>';
      trainDat += '<div id="class1" class="trainingCls"><p>4 Hours<br>An interactive workshop to present ways early ';
      trainDat += 'childhood professionals can create and maintain a safe healthy ';
      trainDat += 'environment. Emphasis will be placed on identifying communicable disease';
      trainDat += 'and preventing the spread of illness within the child care setting, ';
      trainDat += 'injury prevention, classroom safety, and playground safety.</p></div>';
      
      trainDat += '<li><a id="title2" class="trainA">Parent Conferences (ECE-5)</a></li>';
      trainDat += '<div id="class2" class="trainingCls"><p>2 hours<br>This class will introduce the importance of parent';
      trainDat += 'conferences, how to effectively prepare for conferences, and the pitfalls';
      trainDat += 'to avoid in the process.</p></div>';
      
      trainDat += '<li><a id="title3" class="trainA">Recognizing and Reporting Child Abuse (ECE-6)</a></li>';
      trainDat += '<div id="class3" class="trainingCls"><p>2 hours<br>Recognizing and reporting abuse are essential ';
      trainDat += 'skills for caregivers of young children.<br>  The historical ';
      trainDat += 'aspects, types of abuse, and proper reporting procedures will ';
      trainDat += 'be covered.</p></div>';
      
      trainDat += '<li><a id="title4" class="trainA">What Do I Do Now?  Positive Guidance Strategies for Working with Preschool Children. (ECE-2)<br></a></li>';
      trainDat += '<div id="class4" class="trainingCls"><p>3 Hours<br>Discover why the common practice of using \'time out\'';
      trainDat += 'as a discipline measure leads to power struggles and intensifies behavior ';
      trainDat += 'problems.  Learn simple, positive, mutually respectful alternatives for ';
      trainDat += 'gaining cooperation.</p></div>';
      
      trainDat += '<li><a id="title5" class="trainA">Brain Development in Young Children (ECE-2)<br></a></li>';
      trainDat += '<div id="class5" class="trainingCls"><p>2 hours<br>Description: This class will introduce the ';
      trainDat += 'importance of understanding the fundamentals of brain development ';
      trainDat += 'and how early childhood professional can support brain development ';
      trainDat += 'in the classroom.</p></div>';
      
      trainDat += '<li><a id="title6" class="trainA">Stewards of Children (ECE-6)</a></li>';
      trainDat += '<div id="class6" class="trainingCls"><p>3 hours<br>Description: Child sexual abuse is no ';
      trainDat += 'longer society\'s darkest secret.  Adults who work with ';
      trainDat += 'children can protect them from this horror. Stewards of ';
      trainDat += 'Children\'s training educates adults to prevent, recognize and react';
      trainDat += 'responsibly to sexual abuse.</p></div>';
      
      trainDat += '<li><a id="title7" class="trainA">Get Ready to Read (ECE-3)</a></li>';
      trainDat += '<div id="class7" class="trainingCls"><p>2 hours<br>Description: This workshop provides ';
      trainDat += 'participants an overview of the foundations of literacy ';
      trainDat += 'and how to use the GRTR assessment tool.</p></div>';
      
      trainDat += '<li><a id="title8" class="trainA">Fire Safety</a></li>';
      trainDat += '<div id="class8" class="trainingCls"><p>5 hours<br>This course is approved by the State Fire ';
      trainDat += 'Marshall’s office for child care providers. Participants will ';
      trainDat += 'learn how to identify fire hazards in their environments as ';
      trainDat += 'well as create emergency plans for the classroom.</p></div>';
      
      trainDat += '<li><a id="title9" class="trainA">CPR and First Aid (American Heart Association)</a></li>';
      trainDat += '<div id="class9" class="trainingCls"><p>This class covers adult, child, and infant cpr and first ';
      trainDat += 'aid as well as the use of an AED. American Heart CPR cards are ';
      trainDat += 'issued for 2 years and the first aid cards are issued for 3 ';
      trainDat += 'years.</p></div>';
      
      trainDat += '<li><a id="title10" class="trainA">Promoting Positive  Parent Communication (ECE-5)</a></li>';
      trainDat += '<div id="class10" class="trainingCls"><p>2 Hours<br>Description: This class will introduce the ';
      trainDat += 'importance of effective communication techniques with parents ';
      trainDat += 'including pitfalls to avoid in the process.</p>';
      trainDat += '</ul></div>';
      
      $('#target').html(trainDat);
      
      $(function(){
         $('#title1').toggle(
            function(){
               $('#class1').slideDown(1000);
            },
            function(){
               $('#class1').slideUp(1000);
            }           
         );
         
         $('#title2').toggle(
            function(){
               $('#class2').slideDown(1000);
            },
            function(){
               $('#class2').slideUp(1000);
            }           
         );
         
         $('#title3').toggle(
            function(){
               $('#class3').slideDown(1000);
            },
            function(){
               $('#class3').slideUp(1000);
            }           
         );
         
         $('#title4').toggle(
            function(){
               $('#class4').slideDown(1000);
            },
            function(){
               $('#class4').slideUp(1000);
            }           
         );
         
         $('#title5').toggle(
            function(){
               $('#class5').slideDown(1000);
            },
            function(){
               $('#class5').slideUp(1000);
            }           
         );
         
         $('#title6').toggle(
            function(){
               $('#class6').slideDown(1000);
            },
            function(){
               $('#class6').slideUp(1000);
            }           
         );
         
         $('#title7').toggle(
            function(){
               $('#class7').slideDown(1000);
            },
            function(){
               $('#class7').slideUp(1000);
            }           
         );
         
         $('#title8').toggle(
            function(){
               $('#class8').slideDown(1000);
            },
            function(){
               $('#class8').slideUp(1000);
            }           
         );
         
         $('#title9').toggle(
            function(){
               $('#class9').slideDown(1000);
            },
            function(){
               $('#class9').slideUp(1000);
            }           
         );
         
         $('#title10').toggle(
            function(){
               $('#class10').slideDown(1000);
            },
            function(){
               $('#class10').slideUp(1000);
            }           
         );
      });
   }
}

var training = new Training();
