/*code.js*/

//myFunc
	function myFunc()
		{

		header.innerHTML = ("<img src='images/logo.gif'; style='border-style:none'; align=left; />");		

    		logo.innerHTML = (""
			+"<object codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='125' height='125'>"
    			+"<param name='movie' value='images/logo.swf'>"
    			+"<param name=quality value=high>"
    			+"<embed src='images/logo.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='125' height='125'>"
  			+"</embed>"
			+"</object>");
		
		menu.innerHTML = ("<h2>"
			+" &nbsp;<a class='two' href='index.cfm'>Home</a><br /><br />"	
			+" &nbsp;<a class='two' href='aboutBackground.cfm'>About Us</a><br /><br />"
			+" &nbsp;<a class='two' href='exerciseRefDates.cfm'>Exercise Referral</a><br /><br />"
			+" &nbsp;<a class='two' href='specialistDates.cfm'>Specialist Courses</a><br /><br />"
			+" &nbsp;<a class='two' href='/conference/'>Conference 2010</a><br /><br />"
			+" &nbsp;<a class='two' href='http://www.exercise4life.org' target='blank'>Exercise4Life</a><br /><br />"
			+" &nbsp;<a class='two' href='http://www.europeanheartgames.org' target='blank'>European Heart<br />&nbsp; Games</a><br /><br />"
			+" &nbsp;<a class='two' href='consultancies.cfm'>Consultancies</a><br /><br />"
			+" &nbsp;<a class='two' href='software.cfm'>Wright Solutions<br />&nbsp; Software</a><br /><br />"
			+" &nbsp;<a class='two' href='eNews.cfm'>eNews</a><br /><br />"
			+" &nbsp;<a class='two' href='http://www.wrightfoundationresearch.org' target=_'blank';/>Research</a><br /><br />"
			+" &nbsp;<a class='two' href='recruitment.cfm'>Recruitment /<br />&nbsp; Careers</a><br /><br />"
			+" &nbsp;<a class='two' href='comments.cfm'>Client Comments</a><br /><br />"
			//+" &nbsp;<a class='two' href='bera.cfm'>BERA</a><br /><br />"
			+" &nbsp;<a class='two' href='downloads.cfm'>Downloads</a><br /><br />"
			//+" &nbsp;<a class='two' href='http://www.liw.co.uk' target='_blank'; />                 <img src='images/LIW.GIF';  style='border-style:none'; align=left; /></a>"
			+"<div style='background-color:white;'> &nbsp; &nbsp; &nbsp; &nbsp;<a href='http://www.facebook.com/WR1GHT.Foundation.Research' target='_blank' /><img src='images/fb35.gif' border='0' style='margin-top:5px;' /></a> &nbsp; &nbsp; &nbsp;<a href='http://www.twitter.com/WF_RESEARCH/' target='_blank' /><img src='images/twitter35.gif' border='0' style='margin-top:5px;' /></a></div>"
			+" &nbsp <a class='two' href='http://www.ultra-fitmagazine.com/wright' target='_blank'; /><img src='images/mag1.GIF'; style='border-style:none'; align=left; /></a><br /><br />"
	   		+"</h2>");

		contact.innerHTML = ("<h4>"
			+" &nbsp <a class='two' href='aboutContact.cfm'>Contact Us</a> | <a class='two' href='aboutFAQ.cfm'>FAQ</a><br />"	
			+" &nbsp <a class='two' href='exerciseRefDates.cfm'>Exercise Referral</a><br />"
			+" &nbsp <a class='two' href='specialistDates.cfm'>Specialist Courses</a><br />"
			+" &nbsp <a class='two' href='downloads.cfm'>Application Forms</a><br />"
			+" &nbsp <a class='seven' href='recruitment.cfm'>New Career<br /> &nbsp Opportunities</a><br />"
			+"</h4>");
		
		footer.innerHTML = (""
			+" &nbsp <a class='two' href='http://www.fia.org.uk' target='_blank'alt='FIA'/>                           <img src='images/1.gif'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <a class='two' href='http://www.exerciseregister.org' target='_blank' alt='REPS'/>               <img src='images/2.GIF'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <a class='two' href='http://www.ehfa.eu' target='_blank' alt='EHFA'/>                            <img src='images/3.gif'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <a class='two' href='http://www.skillsactive.com/' target='_blank' alt='Skills Active'/>         <img src='images/4.GIF'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <a class='two' href='http://www.wrightfoundationresearch.org' target='_blank' alt='WF Research'/><img src='images/5.gif'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <h5>The WRIGHT Foundation 2010 &copy</h5>"
			+"");
			
		
		}

//home page long logo
		function homeLogo()
		{

		header2.innerHTML = ("<a class='two' href='/conference' target='_blank'><img src='images/logo3.gif'; style='border-style:none'; /></a>");	
		}


//home page long footer
		function homeFooter()
		{

		footer2.innerHTML = (""
			+" &nbsp <a class='two' href='http://www.fia.org.uk' target='_blank'alt='FIA'/>                           <img src='images/1.gif'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <a class='two' href='http://www.exerciseregister.org' target='_blank' alt='REPS'/>               <img src='images/2.GIF'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <a class='two' href='http://www.ehfa.eu' target='_blank' alt='EHFA'/>                            <img src='images/3.gif'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <a class='two' href='http://www.skillsactive.com/' target='_blank' alt='Skills Active'/>         <img src='images/4.GIF'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <a class='two' href='http://www.wrightfoundationresearch.org' target='_blank' alt='WF Research'/><img src='images/5.gif'; style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp <h5>The WRIGHT Foundation 2010 &copy</h5>"
			+"");	
		}

		
////////////////////////////////////////////about page - menu
		function aboutdiv()
		{
			aboutmenu.innerHTML = ("<h5>" 
					+" &nbsp <a href='aboutBackground.cfm'>About Us</a>"
					+" &nbsp <a href='aboutWho.cfm'>Who's Who</a>"
					+" &nbsp <a href='aboutCentres.cfm'>Centres of Excellence</a>"
					+" &nbsp <a href='aboutFAQ.cfm'>FAQ</a>"
					+" &nbsp <a href='aboutContact.cfm'>Contact Us</a><br /><hr>"					
					+"</h5>");
		}


//background page
		function aboutBackgroundheaddiv()
		{
			aboutBackgroundhead.innerHTML = ("<h3>About Us</h3>");
		}

//contact page
		function aboutContactheaddiv()
		{
		 	aboutContacthead.innerHTML = ("<h3>Contact Us</h3>");
		}

//centres of excellence page
		function aboutCentresheaddiv()
		{
		 	aboutCentreshead.innerHTML = ("<h3>Centres of Excellence</h3>");
		}
//whos who page
		function aboutWhoheaddiv()
		{
		 	aboutWhohead.innerHTML = ("<h3>Who's Who</h3>");
		}

//FAQ page
		function aboutFAQheaddiv()
		{
		 	aboutFAQhead.innerHTML = ("<h3>Frequently Asked Questions</h3>");
		}
		

		
/////////////////////////////////////////exercise referral page - menu
		function exerciseRefdiv()
		{
			exerciseRefmenu.innerHTML = ("<h5><b>Exercise Referral Courses - </b>" 
					+" &nbsp <a href='exerciseRefDates.cfm'>Course Dates</a>"
					+" &nbsp <a href='exerciseRefDetails.cfm'>Details</a>"
					+" &nbsp <a href='exerciseRefHosting.cfm'>Hosting</a>"
					+" &nbsp <a href='exerciseRefProv.cfm'>Book a Place</a>"
					+" &nbsp <a href='exerciseRefApplications.cfm'>Application Form</a>"
					+" &nbsp <a href='exerciseRefSoon.cfm'>Apply Online</a>"
					//+" &nbsp <a href='/apply'>Apply Online</a>"
					//+" &nbsp <a href='exerciseRefRefresh.cfm'>Refresher Course</a><br />"
					+"<hr></h5>");
		}

//exercise referral details
		function exerciseRefDetailsheaddiv()
		{
		 	exerciseRefDetailshead.innerHTML = ("<h3>5 Day Exercise Referral Course Details</h3>");
		}
		
//exercise referral dates
		function exerciseRefDatesheaddiv()
		{
		 	exerciseRefDateshead.innerHTML = ("<h3>5 Day Exercise Referral Course Dates</h3>");
		}
		
//exercise referral hosting
		function exerciseRefHostingheaddiv()
		{
		 	exerciseRefHostinghead.innerHTML = ("<h3>Course Hosting</h3>");
		}
		
//exercise referral application form
		function exerciseRefApplicationsheaddiv()
		{
		 	exerciseRefApplicationshead.innerHTML = ("<h3>Application Form</h3>");
		}

//exercise referral refresher
		function exerciseRefRefreshheaddiv()
		{
		 	exerciseRefRefreshhead.innerHTML = ("<h3>Refresher Course</h3>");
		}


////////////////////////////////////////specialist course page - menu
		function specialistdiv()
		{
			specialistmenu.innerHTML = ("<h5><b>Specialist Courses -</b>" 
					+" &nbsp <a href='specialistDates.cfm'>Course Dates</a>"
					+" &nbsp <a href='specialistDetails.cfm'>Details</a>"
					+" &nbsp <a href='specialistHosting.cfm'>Course Hosting</a>"
					+" &nbsp <a href='specialistProv.cfm'>Book a Place</a>"
					+" &nbsp <a href='specialistApplications.cfm'>Application Form</a><br /><hr>"
					+"<b>More Info -</b>" 
					+" &nbsp <a href='specialistCardiac.cfm'>Cardiac Rehab Phase IV</a>"
					+" &nbsp <a href='specialistPulm.cfm'>Pulmonary Rehab</a>"
					+" &nbsp <a href='specialistObesity.cfm'>Obesity & Diabetes</a>"
					+" &nbsp <a href='specialistLowerB.cfm'>Lower Back Pain</a>"
					+" &nbsp <a href='specialistMental.cfm'>Mental Health</a><hr>"					
					+"</h5>");
		}	

//specialist Details
		function specialistDetailsheaddiv()
		{
		 	specialistDetailshead.innerHTML = ("<h3>&nbsp; &nbsp; Specialist Course Details</h3>");
		}

//specialist Dates
		function specialistDatesheaddiv()
		{
		 	specialistDateshead.innerHTML = ("<h3>&nbsp; &nbsp; Specialist Course Dates</h3>");
		}

//specialist Hosting
		function specialistHostingheaddiv()
		{
		 	specialistHostinghead.innerHTML = ("<h3>&nbsp; &nbsp; Specialist Course Hosting</h3>");
		}

//specialist Cardiac
		function specialistCardiacheaddiv()
		{
		 	specialistCardiachead.innerHTML = ("<h3>&nbsp; &nbsp; Cardiac Rehab Phase IV</h3>");
		}

//specialist Pulm
		function specialistPulmheaddiv()
		{
		 	specialistPulmhead.innerHTML = ("<h3>&nbsp; &nbsp; Pulmonary Rehab</h3>");
		}

//specialist Pulm
		function specialistMentalheaddiv()
		{
		 	specialistMentalhead.innerHTML = ("<h3>&nbsp; &nbsp; Mental Health Course (Level 4)</h3>");
		}

//specialist LowerB
		function specialistLowerBheaddiv()
		{
		 	specialistLowerBhead.innerHTML = ("<h3>&nbsp; &nbsp; Chronic Lower Back Pain</h3>");
		}

//specialist Obesity
		function specialistObesityheaddiv()
		{
		 	specialistObesityhead.innerHTML = ("<h3>&nbsp; &nbsp; Obesity & Diabetes</h3>");
		}

//specialist Applications
		function specialistApplicationsheaddiv()
		{
		 	specialistApplicationshead.innerHTML = ("<h3>&nbsp; &nbsp; Application Form</h3>");
		}


//specialist Children
		function specialistChildrenheaddiv()
		{
		 	specialistChildrenhead.innerHTML = ("<h3>&nbsp; &nbsp; Children & Young People</h3>");
		}

//specialist Stroke
		function specialistStrokeheaddiv()
		{
		 	specialistStrokehead.innerHTML = ("<h3>&nbsp; &nbsp; Stroke</h3>");
		}

//specialist OlderAdult
		function specialistOlderAdultheaddiv()
		{
		 	specialistOlderAdulthead.innerHTML = ("<h3>&nbsp; &nbsp; Exercise & The Older Adult</h3>");
		}





////////////////////////////////////////conference page - menu
		function conferencediv()
		{
			conferencemenu.innerHTML = ("<h5><span class='centerTeal12B'>The WRIGHT Foundation 10th UK National Exercise Referral, Rehab & Activity Conference 2009 </span><br /><br />" 
					+" &nbsp <a href='index.cfm'><< Back to WRIGHT Foundation</a>"
					+" &nbsp <a href='conferenceSandP2.cfm'>Speakers & Programmes</a>"
					+" &nbsp <a href='conferenceBooking2.cfm'>Booking Form</a>"
					+" &nbsp <a href='conferenceWho2.cfm'>Who Should Attend</a>"
					+" <br /><hr>"					
					+"</h5>");
		}	

//conference Details
		function conferenceDetailsheaddiv()
		{
		 	conferenceDetailshead.innerHTML = ("<h3>&nbsp; &nbsp; 10th UK National Exercise Referral Conference 2009</h3>");
		}

//conference Booking
		function conferenceBookingheaddiv()
		{
		 	conferenceBookinghead.innerHTML = ("<h3>&nbsp; &nbsp; Booking Form</h3>");
		}

//conference SandP
		function conferenceSandPheaddiv()
		{
		 	conferenceSandPhead.innerHTML = ("<h3>&nbsp; &nbsp; Speakers & Programmes</h3>");
		}

//conference Who
		function conferenceWhoheaddiv()
		{
		 	conferenceWhohead.innerHTML = ("<h3>&nbsp; &nbsp; Who Should Attend</h3>");
		}

//conference Archive
		function conferenceArchiveheaddiv()
		{
		 	conferenceArchivehead.innerHTML = ("<h3>&nbsp; &nbsp; Archive</h3>");
		}





////////////////////////////////////////eNews page - menu
		function eNewsdiv()
		{
			eNewsmenu.innerHTML = ("<h5>" 
					+" &nbsp <a href='eNews.cfm'>eNews</a>"
					+" &nbsp <a href='eNewsArchive.cfm'>eNews Archive</a><br /><hr>"					
					+"</h5>");
		}

//eNews
		function eNewsheaddiv()
		{
		 	eNewshead.innerHTML = ("<h3>&nbsp; &nbsp; eNews</h3>");
		}

//eNews Archive
		function eNewsArchiveheaddiv()
		{
		 	eNewsArchivehead.innerHTML = ("<h3>&nbsp; &nbsp; eNews Archive</h3>");
		}






////////////////////////////////////////consultancies page
		function consultanciesheaddiv()
		{
		 	consultancieshead.innerHTML = ("<h3>&nbsp; &nbsp; Consultancies</h3>");
		}





////////////////////////////////////////bera page
		function beraheaddiv()
		{
		 	berahead.innerHTML = ("<h3>&nbsp; &nbsp; BERA</h3>");
		}






////////////////////////////////////////recruitment page
		function recruitmentheaddiv()
		{
		 	recruitmenthead.innerHTML = ("<h3>&nbsp; &nbsp; Recruitment / Careers</h3>");
		}






////////////////////////////////////////software page
		function softwareheaddiv()
		{
		 	softwarehead.innerHTML = ("<h3>&nbsp; &nbsp; Software</h3>");
		}






////////////////////////////////////////comments page
		function commentsheaddiv()
		{
		 	commentshead.innerHTML = ("<h3>&nbsp; &nbsp; Client Comments</h3>");
		}





////////////////////////////////////////downloads page
		function downloadsheaddiv()
		{
		 	downloadshead.innerHTML = ("<h3>&nbsp; &nbsp; Downloads</h3>");
		}


////////////////////////////////////////prov bookings page
		function provheaddiv()
		{
		 	provhead.innerHTML = ("<h3>&nbsp; &nbsp; Book a <span class='centerTeal12'>Provisional</span> Place</h3>");
		}




////////////////////////////////////////spec prov bookings page
		function specprovheaddiv()
		{
		 	specProvHead.innerHTML = ("<h3>&nbsp; &nbsp; Book a <span class='centerTeal12'>Provisional</span> Place</h3>");
		}




////////////////////////////////////////form bookings page
		function formheaddiv()
		{
		 	formhead.innerHTML = ("<h3>&nbsp; &nbsp; Exercise Referral - Online Application</h3>");
		}