// Distributed by http://www.hypergurl.com

// Scrollers width here (in pixels)
var scrollerwidth="700px"

// Scrollers height here
var scrollerheight="370px"

// Scrollers speed here (larger is faster 1-10)
var scrollerspeed=1



// Scrollers content goes here! Keep all of the message on the same line!


var scrollercontent="<div>\
<font size='4'>Emergency First Response Provider Courses</font><br><br>\
<b>Emergency First Response Primary Care (CPR) Course:</b><br>\
	Emergency First Response Primary Care (CPR) teaches participants how to \
	respond to life-threatening emergencies. The course focuses on primary \
	care through a combination of knowledge development, skill development \
	and realistic scenario practice to make sure participants have the \
	confidence in their ability to provide care when emergency situations arise.<br><br>\
	<b>Emergency First Response Secondary Care (First Aid) Course:</b><br>\
	Emergency First Response Secondary Care (first aid) covers injuries or illnesses \
	that are not immediately life threatening. Participants focus on secondary \
	assessment and first aid through knowledge development, \
	skill development and realistic scenario practice.<br><br>\
	<b>Emergency First Response Care for Children Course:</b><br>\
	The Emergency First Response Care for Children course is an innovative \
	CPR, AED and First Aid training course that teaches participants how to \
	provide emergency care for injured or ill children (ages one to eight) \
	and infants less than one year old. Participants learn about the types \
	of medical emergencies that children face, and how they differ from \
	adult conditions. The curriculum also includes the importance of \
	attending to basic emergency situations with children, the emotional \
	aspects of caring for children, secondary care for children, and \
	preventing common injuries and illnesses in children.<br><br>\
	<b>Emergency First Response First Aid at Work Course:</b><br>\
	Emergency First Response offers a convenient, complete and ongoing \
	solution to meeting workplace compliance standards in CPR, AED and \
	First Aid training. Our Emergency First Response First Aid at Work \
	course includes comprehensive instruction in Primary Care (CPR), \
	AED use and Secondary Care (First Aid) and meets regulatory body \
	requirements in the United States, Canada, the United Kingdom and \
	Australia. Our instructors can also assist you in placing AED units in your \
	business and teach your staff how to operate them. <br><br>\
</div>"

/*
<b>Emergency First Response Instructor Course:</b><br>\
	During the Emergency First Response Instructor course, you will \
	build on your skill as an Emergency Responder and focus on developing \
	your instructional abilities to teach these skills to others. The \
	Instructor course provides you with the additional training necessary \
	to teach the Emergency First Response Primary Care (CPR), Secondary \
	Care (First Aid), Care for Children and First Aid at Work courses. \
	Through a multi-media approach of independent study, classroom \
	sessions and practical teaching assignments, you learn to conduct \
	Emergency First Response courses.<br> \
	The instructor course covers specific goals and performance requirements \
	for the Primary Care, Secondary Care and Care for Children courses, along with \
	instruction on how to structure learning, the requirements of performance-based \
	training, and your role as the instructor in the learning environment. You also \
	learn how to motivate students, evaluate student knowledge, present course \
	content effectively, become proficient in developing students' hands-on \
	skills practice sessions, and are taught how to present an effective \
	scenario-based learning experience.\
	
	<b>Automated External Defibrillator (AED) Course:</b><br>\
	AED is the most efficient way to administer first aid in sudden cardiac arrest. \
	New technologies allow the First Aider to use the AED. \
	The course covers preparation of the unit, use of the unit, \
	maintenance, safety precautions etc.<br><br>\
	<b>Emergency Oxygen Administration:</b><br>\
	will provide the First Aider with the essential skills and knowledge \
	necessary to provide supplemental emergency oxygen to a suddenly ill or \
	injured patient until more advanced medical help can be obtained.<br><br>\
*/

var pauseit=1
var alreadyscrolling=0
var init=1

// Change nothing below!

scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) //slow speed down by 1 for NS
var copyspeed=scrollerspeed
var iedom=document.all||document.getElementById
var actualheight=''
var cross_scroller, ns_scroller
var pausespeed=(pauseit==0)? copyspeed: 0
var docLength = 100

function fastforward()
{
	startScr()
	scrollerspeed=3; 
	copyspeed=scrollerspeed; 
	//populate()
}

function rewind()
{
	startScr()
	scrollerspeed=(-3); 
	copyspeed=scrollerspeed; 
	//populate()
}

function pause()
{
	//scrollerspeed=0
	copyspeed=pausespeed
}

function skipstart()
{
	cross_scroller.style.top= "10px"
	copyspeed=pausespeed
}

function skipend()
{
	cross_scroller.style.top= "-" + docLength + "px"
	copyspeed=pausespeed
}

function populate()
{
	if (iedom)
	{
	cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller
	//cross_scroller.style.top=parseInt(scrollerheight)+8+"px"
	cross_scroller.style.top= "10px"
	cross_scroller.innerHTML=scrollercontent
	actualheight=cross_scroller.offsetHeight
	}
	else if (document.layers)
	{
	ns_scroller=document.ns_scroller.document.ns_scroller2
	ns_scroller.top=parseInt(scrollerheight)+8
	ns_scroller.document.write(scrollercontent)
	ns_scroller.document.close()
	actualheight=ns_scroller.document.height
	}
	//startScr()
}

function startScr()
{
	if (alreadyscrolling==0)
	{
		lefttime=setInterval("scrollscroller()",50)
	}
}


window.onload=populate

function scrollscroller()
{
	alreadyscrolling = 1
	if (scrollerspeed>0)
	{
		if (parseInt(cross_scroller.style.top)>(-docLength))
		{
			if (iedom)
			{
				if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+8))
				cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px"
				else
				cross_scroller.style.top=parseInt(scrollerheight)+8+"px"
			}
			else if (document.layers)
			{
				if (ns_scroller.top>(actualheight*(-1)+8))
				ns_scroller.top-=copyspeed
				else
				ns_scroller.top=parseInt(scrollerheight)+8
			}
		}
		else
		{
			copyspeed=pausespeed
		}
	}
	else
	{	
		if (parseInt(cross_scroller.style.top)<10)
		{
			if (iedom)
			{
				if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+8))
				cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px"
				else
				cross_scroller.style.top=parseInt(scrollerheight)+8+"px"
			}
			else if (document.layers)
			{
				if (ns_scroller.top>(actualheight*(-1)+8))
				ns_scroller.top-=copyspeed
				else
				ns_scroller.top=parseInt(scrollerheight)+8
			}
		}
		else
		{
			copyspeed=pausespeed
		}
	}

}

if (iedom||document.layers)
{
	with (document)
	{
		if (iedom)
		{
			write('<div style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden">')
			write('<div id="iescroller" style="position:absolute;left:0px;top:0px;width:100%;">')
			write('</div></div>')
		}
		else if (document.layers)
		{
			write('<ilayer width='+scrollerwidth+' height='+scrollerheight+' name="ns_scroller">')
			write('<layer name="ns_scroller2" width='+scrollerwidth+' height='+scrollerheight+' left=0 top=0></layer>')
			write('</ilayer>')
		}
	}
}

//onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed"
