// 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'>DAN Training Courses</font><br>\
	<br>\
	<b>DAN Oxygen First Aid for Aquatic Emergencies</b><br>\
	<br>\
	<p><img src=\"images/courses/1.jpg\" align=\"left\">\
	This program trains you how to respond and provide oxygen first aid for drowning accidents. \
	This is the ideal program for Pool attendants and life guards.<br>\
	Understanding the role and function of the respiratory and circulatory \
	systems in the human body and the identification and major causes of aquatic \
	accidents are taught in the program. Explanation, description and \
	mechanism of drowning and the benefits of oxygen first aid to the victim. \
	Demonstrate competency in rescue breathing and CPR and identify the indications \
	for supplemental oxygen first aid use as well as the correct response of a \
	breathing and non breathing swimmer with circulation and without circulation.<br>\
	</p>\
	<br>\
	<b>DAN Oxygen First Aid for Scuba Diving Injuries</b><br>\
	<br>\
	<p><img src=\"images/courses/2.jpg\" align=\"left\">\
	A lot of divers are trained in Oxygen Administration, but by far not enough. \
	Every diver should be familiar with the first aid procedures and oxygen \
	administration for an injured diver.<br>\
	The course will show the mechanism of diving injuries and how to \
	recognise diving injuries as well as the proper response should you come \
	across diving injuries. The oxygen provider also knows how to respond with \
	oxygen in order to provide immediate and effective first aid and is able to \
	communicate with the Emergency Medical Services (EMS) and DAN.<br>\
	</p>\
	<br>\
	<b>DAN Advanced Oxygen First Aid</b><br>\
	<br>\
	<p><img src=\"images/courses/3.jpg\" align=\"left\">\
	This program intends to teach the Oxygen Provider the skills and knowledge \
	needed to supplement Basic Life Support and CPR skills with advanced resuscitation \
	techniques to assist any diver who is not breathing.<br>\
	During the course you will review the latest guidelines for Basic Life Support, \
	Resuscitation and CPR techniques. You also learn the potential problems of \
	resuscitation with a Bag Valve Mask (BVM) and the Manually Triggered Ventilator (MTV) \
	and to resuscitate non breathing divers with the Bag Valve Mask (BVM) and the \
	Manually Triggered Ventilator (MTV).<br>\
	</p>\
	<br>\
	<b>DAN First Aid for Hazardous Marine Life Injuries</b><br>\
	<br>\
	<p><img src=\"images/courses/4.jpg\" align=\"left\">\
	Serious marine life injuries are rare, but many divers will experience minor \
	discomfort at some point during their diving.<br>\
	This course trains divers to minimize these injuries and reduce discomfort and pain. \
	It also provides knowledge on specific types of injuries and the general \
	first aid procedures for them. The program also includes identification and \
	how you can avoid hazardous marine life as well as recognizing of the \
	possible injuries caused by the hazardous marine life.<br>\
	</p>\
	<br>\
	<b>DAN Automated External Defibrillation</b><br>\
	<br>\
	<p><img src=\"images/courses/5.jpg\" align=\"left\">\
	This training program is designed to train and educate the general \
	diving public and qualified non diving \
	public in the techniques of using an \
	Automated External Defibrillator for victims of sudden cardiac arrest. \
	The training also includes a revision of the Basic Life Support techniques. \
	Recognizing the warning signs of sudden cardiac arrest and provides \
	Basic Life Support while setting up and then use an \
	Automated External Defibrillator as well as the care and maintenance procedures for an AED.<br>\
	</p>\
	<br>\
	<b>DAN Diving Emergency Management Provider / DAN Diving First Responder </b><br>\
	<br>\
	<p><img src=\"images/courses/6.jpg\" align=\"left\">\
	DAN offers several dive-specific first aid training programs. Because these \
	courses are often taught independently, there is repetitive information and \
	skills. The Diving Emergency Management Provider and the Diving First Responder \
	Course allows DAN Instructors to offer an integrated course that allows divers \
	to learn the information and skills from all DAN Training Programs, at a \
	significant savings of time, but without sacrificing any skills. \
	While the Diving Emergency Management Provider course combines the Oxygen, AED \
	and HMLI course, the DAN Diving First Responder course also \
	includes the skills and knowledge from the Advanced Oxygen Provider course.\
	</p>\
</div>"

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 = 600

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"
