
//myFunc
	function myFunc()
		{

		topLogo.innerHTML = ("<img src='images/logo.gif'; style='border-style:none'; align=left; />");

		topLeft.innerHTML = (""
			+" <img src='images/wfrLogoSmall.gif'; style='border-style:none'; align=center; />"
			+"");
	
		menuTop.innerHTML = ("<h4>"
			+" &nbsp; <a class='two' href='index.cfm'>Home</a><br />"	
			+" &nbsp; <a class='two' href='aboutUs.cfm'>About Us</a><br />"
			+" &nbsp; <a class='two' href='aboutContact.cfm'>Contact Us</a><br />"
			+" &nbsp; <a class='two' href='aboutWho.cfm'>Who's Who</a><br />"
			+" &nbsp; <a class='two' href='aboutFAQ.cfm'>FAQ</a> | <a class='two' href='recruitment.cfm'>Recruitment</a><br />"
			+" &nbsp; <a class='two' href='downloads.cfm'>Downloads</a><br />"
			+""
			+"<h4>");

		menu.innerHTML = ("<h2><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='mission.cfm'>Mission Statement</a><br /><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='specialist.cfm'>Specialist Courses</a><br /><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='specialistCardiac.cfm'>Cardiac Rehab Ph.IV</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='http://www.wrightfoundation.com/conference/speakers.cfm'>Conference 2010</a><br /><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='http://www.exercise4life.org.uk' target='blank'>Exercise4Life</a><br /><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='http://www.europeanheartgames.org' target='blank'>European Heart<br /> &nbsp; &nbsp;&nbsp; Games</a><br /><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='http://www.wrightfoundation.com' target='_blank'>WRIGHT Foundation<br /> &nbsp; &nbsp;&nbsp; Other Courses</a><br /><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='news.cfm'>News</a><br /><br />"	
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='touch.cfm'>Touch Study</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='hay.cfm'>HAY Project</a><br /><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='child.cfm'>Child / Youth<br />&nbsp; &nbsp; &nbsp; Obesity Study</a><br /><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='specialistPulm.cfm'>Pulmonary Rehab</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.gif';height='7'width='7'; /> <span class='leftWhite8'> <a class='two' href='http://www.exercise4life.org.uk' target='blank'>swim for life</a></span><br />"
			+"&nbsp; <img src='images/bullet.gif'; height='7' width='7'; /> <a class='two' href='donations.cfm'>Donations & Giving</a><br /><br /><br />"
			+"       <img src='images/curveBR.gif'; style='border-style:none'; align=right; /><br /><br />"
			//+"<a class='two' href='http://www.liw.co.uk' target='_blank'; /><img src='images/liw.GIF'; style='border-style:none'; align=left; /></a><br /><br />"
			+"<a href='http://www.facebook.com/WR1GHT.Foundation.Research' target='_blank' /><img src='images/fb70.gif' border='0' width='70' /></a> &nbsp; <a href='http://www.twitter.com/WF_RESEARCH/' target='_blank' /><img src='images/twitter70.gif' border='0' width='70'></a><br />"
			+"<a class='two' href='http://www.ultra-fitmagazine.com/wright' target='_blank'; /><img src='images/mag.GIF'; style='border-style:none'; align=left; /></a><br />"
			+"<br /><br /><h2>");

		logos.innerHTML = (""
			//+"       <a href='survey/index.html' target='_blank'><img src='images/scheme1aaa.png' style='border-style:none';></a>"
			//+"       <a class='two' href='http://www.fia.org.uk' target='_blank'alt='FIA'/>  	           <img src='images/fia.GIF';     style='border-style:none'; align=left; target='_blank'; /></a><br />"
			//+" &nbsp <a class='two' href='http://www.ehfa.eu' target='_blank' alt='EHFA'/>                   <img src='images/ehfa.GIF';    style='border-style:none'; align=left; target='_blank'; /></a><br />"
			//+" &nbsp <a class='two' href='http://www.royalsurrey.nhs.uk/' target='_blank'alt='RSCH'/>        <img src='images/rsch.GIF';    style='border-style:none'; align=left; target='_blank'; /></a><br />"
			//+" &nbsp <a class='two' href='http://www.skillsactive.com/' target='_blank' alt='Skills Active'/><img src='images/sa.GIF';      style='border-style:none'; align=left; target='_blank'; /></a><br /><br />"
			//+" &nbsp <a class='two' href='http://www.exerciseregister.org' target='_blank' alt='REPS'/>      <img src='images/reps.GIF';    style='border-style:none'; align=left; target='_blank'; /></a><br /><br />"
			//+" &nbsp <a class='two' href='http://www.wrightfoundation.com' target='_blank' alt='WF'/>        <img src='images/wfLogo1.png'; style='border-style:none'; align=left; target='_blank'; /></a><br />"
			//+" &nbsp <a class='two' href='http://www.liw.co.uk' target='_blank'; />                   	   <img src='images/liw.GIF';     style='border-style:none'; align=left; target='_blank'; /></a><br />"
			//+" &nbsp <a class='two' href='http://www.ultra-fitmagazine.com/wright' target='_blank'; />	   <img src='images/mag.GIF';     style='border-style:none'; align=left; target='_blank'; /></a><br /><br />"
			+"");

		topRight.innerHTML = (""
			//+"<a href='http://www.wrightfoundationresearch.org/survey/surveyInfo.cfm'; style='border-style:none'; target='_blank'/><img src='images/schemes1.gif'; style='border-style:none';/></a>"
			//+"<a href='forum.cfm'; style='border-style:none'; /><img src='images/surveyTR.png'; style='border-style:none';/></a>"
			//+"<a href='survey/index.html'; style='border-style:none'; /><img src='images/surveyTR.png'; style='border-style:none';/></a>"
			+"");

		footer.innerHTML = (""
			//+" &nbsp &nbsp <a class='two' href='http://www.exerciseregister.org' target='_blank' alt='REPS'/>      <img src='images/reps.GIF';     style='border-style:none'; align=left; target='_blank'; /></a>"
			//+" &nbsp &nbsp <a class='two' href='http://www.royalsurrey.nhs.uk/' target='_blank'alt='RSCH'/>        <img src='images/rsch.GIF';     style='border-style:none'; align=left; target='_blank'; /></a>"
			//+" &nbsp &nbsp <a class='two' href='http://www.ehfa.eu' target='_blank' alt='EHFA'/>                   <img src='images/ehfa.GIF';     style='border-style:none'; align=left; target='_blank'; /></a><br /><br />"
			//+"             <a class='two' href='http://www.fia.org.uk' target='_blank'alt='FIA'/>                  <img src='images/fia.gif';      style='border-style:none'; align=left; target='_blank'; /></a>"
			//+" &nbsp &nbsp <a class='two' href='http://www.skillsactive.com/' target='_blank' alt='Skills Active'/><img src='images/sa.GIF';       style='border-style:none'; align=left; target='_blank'; /></a>"
			//+" &nbsp &nbsp <a class='two' href='http://www.wrightfoundation.com' target='_blank' alt='WF'/>        <img src='images/wfLogo2.gif';  style='border-style:none'; align=left; target='_blank'; /></a>"
			+" <h5>The WRIGHT Foundation Research 2010 &copy</h5>"
			+"");	
		
		}

//////////////////////////////////home page
//home page heading
		//function homeHead()
		//{
		//	head.innerHTML = ("<h5><i>&nbsp&nbspBenefiting the health and wellbeing of the UK and the World</i></h5>");
		//}

//home page logos
		function homePageLogos()
		{
		//homeLogos.innerHTML = ("Latest News <br /><br />"
			//+" <a href='news.cfm'>Exercise Referral<br /> Forum 2008</a><br />The WRIGHT Foundation announces a new look UK EXERCISE REFERRAL FORUM for 2008.<br /><br />"
			//+" <hr>"
			//+" &nbsp  &nbsp <a class='two' href='http://www.fia.org.uk' target='_blank'alt='FIA'/>  	   <img src='images/fia.png';     style='border-style:none'; align=left; target='_blank'; /></a><br />"
			//+" &nbsp <a class='two' href='http://www.ehfa.eu' target='_blank' alt='EHFA'/>                   <img src='images/ehfa.GIF';    style='border-style:none'; align=left; target='_blank'; /></a><br />"
			//+" &nbsp <a class='two' href='http://www.royalsurrey.nhs.uk/' target='_blank'alt='RSCH'/>        <img src='images/rsch.GIF';    style='border-style:none'; align=left; target='_blank'; /></a><br />"
			//+" &nbsp <a class='two' href='http://www.skillsactive.com/' target='_blank' alt='Skills Active'/><img src='images/sa.GIF';      style='border-style:none'; align=left; target='_blank'; /></a><br /><br />"
			//+" &nbsp <a class='two' href='http://www.exerciseregister.org' target='_blank' alt='REPS'/>      <img src='images/reps.GIF';    style='border-style:none'; align=left; target='_blank'; /></a><br /><br />"
			//+" &nbsp <a class='two' href='http://www.wrightfoundation.com' target='_blank' alt='WF'/>        <img src='images/wfLogo1.png'; style='border-style:none'; align=left; target='_blank'; /></a><br />"
			//+"");
		//}

		homeLogos.innerHTML = ("<hr>"
			//+" &nbsp &nbsp <a class='two' href='http://www.exerciseregister.org' target='_blank' alt='REPS'/>      <img src='images/reps.GIF';     style='border-style:none'; align=left; target='_blank'; /></a>"
			//+" &nbsp &nbsp <a class='two' href='http://www.royalsurrey.nhs.uk/' target='_blank'alt='RSCH'/>        <img src='images/rsch.GIF';     style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp &nbsp <a class='two' href='http://www.ehfa.eu' target='_blank' alt='EHFA'/>                   <img src='images/ehfa.GIF';     style='border-style:none'; align=left; target='_blank'; /></a>"
			+"             <a class='two' href='http://www.fia.org.uk' target='_blank'alt='FIA'/>                  <img src='images/fia.gif';      style='border-style:none'; align=left; target='_blank'; /></a>"
			//+" &nbsp &nbsp <a class='two' href='http://www.skillsactive.com/' target='_blank' alt='Skills Active'/><img src='images/sa.GIF';       style='border-style:none'; align=left; target='_blank'; /></a>"
			+" &nbsp &nbsp <a class='two' href='http://www.wrightfoundation.com' target='_blank' alt='WF'/>        <img src='images/wfLogo2.gif';  style='border-style:none'; align=left; target='_blank'; /></a>"
			+" <br /><hr><h5>The WRIGHT Foundation Research 2010 &copy<br /><br />"
			+" <i>Benefiting the health and wellbeing of the UK and the World</i><h5>"
			+"");
		}


//////////////////////////////////about page
//about menu
		function aboutPageMenu()
		{
		aboutMenu.innerHTML = ("<h5>" 
			+"              <a href='aboutUs.cfm'>About Us</a>"
			+" &nbsp  &nbsp <a href='aboutContact.cfm'>Contact Us</a>"
			+" &nbsp  &nbsp <a href='aboutWho.cfm'>Who's Who</a>"	
			+" &nbsp  &nbsp <a href='aboutFAQ.cfm'>FAQ</a></br><hr>"					
			+"</h5>");
		}


//about us head
		function aboutUsHead()
		{
			aboutHead.innerHTML = ("<h3>About Us</h3>");
		}

//about contact us head
		function contactUsHead()
		{
			aboutHead.innerHTML = ("<h3>Contact Us</h3>");
		}

//about who's who head
		function whoHead()
		{
			aboutHead.innerHTML = ("<h3>Who's Who</h3>");
		}

//about faq head
		function faqHead()
		{
			aboutHead.innerHTML = ("<h3>Frequently Asked Questions</h3>");
		}


//////////////////////////////////downloads page
//downloads head

		function downloadsHead()
		{
			head.innerHTML = ("<h3>Downloads</h3>");
		}


//////////////////////////////////news page
//news head

		function newsHead()
		{
			head.innerHTML = ("<h3>News</h3>");
		}


//////////////////////////////////hay project page
//hay head

		function hayHead()
		{
			head.innerHTML = ("<h3>Hay Project</h3>");
		}

//////////////////////////////////touch page
//touch head

		function touchHead()
		{
			head.innerHTML = ("<h3>Touch Study</h3>");
		}

//////////////////////////////////specialist page
//specialist menu
		function specialistPageMenu()
		{
		specialistMenu.innerHTML = ("<h5>" 
			+" &nbsp <a href='specialistPulm.cfm'>Pulmonary Rehab</a>"
			+" &nbsp <a href='specialistCardiac.cfm'>Cardiac Rehab Phase IV</a><br /><hr>"
			+" &nbsp <a href='specialist.cfm'>Specialist Course Details</a>"
			+" &nbsp <a href='specialistLowerB.cfm'>Lower Back Pain</a>"
			+" &nbsp <a href='specialistMental.cfm'>Mental Health</a>"
			+" &nbsp <a href='specialistObesity.cfm'>Obesity & Diabetes</a><hr>"					
			+"</h5>");
		}

//specMenu Test		
		//function specPageMenu()
		//{
		//specMenu.innerHTML = ("<h2>"
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='news.cfm'>News</a><br /><br />"	
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='mission.cfm'>Mission Statement</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='touch.cfm'>Touch Study</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='hay.cfm'>Hay Project</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='child.cfm'>Child / Youth<br />&nbsp; &nbsp; Obesity Study</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='specialistPulm.cfm'>Pulmonary Rehab</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='specialistCardiac.cfm'>Cardiac Rehab<br />&nbsp; &nbsp; &nbsp; Phase IV</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='specialist.cfm'>Other Specialist<br />&nbsp; &nbsp; &nbsp; Courses</a>"
				//+"<h4>&nbsp; &nbsp; <a class='two' href='specialist.cfm'>Specialist Details</a><br />"
				//+"&nbsp; &nbsp; <a class='two' href='specialistLowerB.cfm'>Lower Back Pain</a><br />"
				//+"&nbsp; &nbsp; <a class='two' href='specialistMental.cfm'>Mental Health</a><br />"
				//+"&nbsp; &nbsp; <a class='two' href='specialistObesity.cfm'>Obesity & Diabetes</a></h4><br /><br />"
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='sfl.cfm'>Swim for Life</a><br /><br />"
			//+"&nbsp; <img src='images/bullet.png'; height='7' width='7'; /> <a class='two' href='donations.cfm'>Donations<br />&nbsp; &nbsp; &nbsp; & Support</a><br /><br />"
			//+"<a class='two' href='http://www.liw.co.uk' target='_blank'; />                   <img src='images/liw.GIF'; style='border-style:none'; align=left; /></a><br /><br />"
			//+"<a class='two' href='http://www.ultra-fitmagazine.com/wright' target='_blank'; /><img src='images/mag.GIF'; style='border-style:none'; align=left; /></a><br />"
			//+"<br /><br /><h2>");
		//}

//specialist head

		function specialistPageHead()
		{
			specialistHead.innerHTML = ("<h3>Specialist Courses</h3>");
		}

//////////////////////////////////pulmonary page
//pulmonary head

		function pulmHead()
		{
			specialistHead.innerHTML = ("<h3>Pulmonary Rehab</h3>");
		}

//////////////////////////////////cardiac page
//cardiac head

		function cardiacHead()
		{
			specialistHead.innerHTML = ("<h3>Cardiac Rehab Phase IV</h3>");
		}

//////////////////////////////////lower back pain page
//lower back pain head

		function backHead()
		{
			specialistHead.innerHTML = ("<h3>Chronic Lower Back Pain</h3>");
		}

//////////////////////////////////mental health page
//mental health head

		function mentalHead()
		{
			specialistHead.innerHTML = ("<h3>Mental Health</h3>");
		}

//////////////////////////////////obesity page
//obesity head

		function obesityHead()
		{
			specialistHead.innerHTML = ("<h3>Obesity & Diabetes</h3>");
		}

//////////////////////////////////sfl page
//sfl menu
		function sflPageMenu()
		{
		sflMenu.innerHTML = ("<h5>" 
			+"		<a href='sfl.cfm'>Swim For Life</a>"
			+" &nbsp  &nbsp <a href='sfl07.cfm'>Swim a Mile 2007</a>"
			+" &nbsp  &nbsp <a href='sfl09.cfm'>Swim a Mile 2009</a></br><hr>"					
			+"</h5>");
		}

//////////////////////////////////sfl page
//sfl head

		function sflPageHead()
		{
			sflHead.innerHTML = ("<h3>Swim For Life</h3>");
		}

//////////////////////////////////sfl07 page
//sfl07 head

		function sfl07PageHead()
		{
			sflHead.innerHTML = ("<h3></h3>");
		}

//////////////////////////////////sfl08 page
//sfl08 head

		function sfl08PageHead()
		{
			sflHead.innerHTML = ("<h3></h3>");
		}

//////////////////////////////////sfl09 page
//sfl09 head

		function sfl09PageHead()
		{
			sflHead.innerHTML = ("<h3></h3>");
		}

//////////////////////////////////mission statement page
//mission head

		function missionHead()
		{
			head.innerHTML = ("<h3>Mission Statement</h3>");
		}

//////////////////////////////////donations page
//donations head

		function donationsPageHead()
		{
			donationsHead.innerHTML = ("<h3>Our Charity</h3>");
		}

//donationsDonate head

		function donationsDonateHead()
		{
			donationsHead.innerHTML = ("<h3>Donate</h3>");
		}

//donationsLinks head

		function donationsLinksHead()
		{
			donationsHead.innerHTML = ("<h3>Links</h3>");
		}

//donationsLegacies head

		function donationsLegaciesHead()
		{
			donationsHead.innerHTML = ("<h3>Legacies</h3>");
		}

//donationsVol head

		function donationsVolHead()
		{
			donationsHead.innerHTML = ("<h3>Volunteer</h3>");
		}

//donationsContact head

		function donationsContactHead()
		{
			donationsHead.innerHTML = ("<h3>Contact the WRIGHT Foundation Research</h3>");
		}

//donationsEvents head

		function donationsEventsHead()
		{
			donationsHead.innerHTML = ("<h3>Events & Challenges</h3>");
		}


//donations menu
		function donationsPageMenu()
		{
		donationsMenu.innerHTML = ("<h5>" 
			+"		<a href='donations.cfm'>Our Charity</a>"
			+" &nbsp  &nbsp <a href='http://www.exercise4life.org.uk' target='_blank'> Exercise4Life</a>"
			+" &nbsp  &nbsp <a href='http://www.europeanheartgames.org' target='_blank'> European Heart Games</a>"
			+" &nbsp  &nbsp <a href='donationsDonate.cfm'>Donate</a>"
			+" &nbsp  &nbsp <a href='donationsEvents.cfm'>Events/Challenges</a>"
			+" &nbsp  &nbsp <a href='donationsVol.cfm'>Volunteering</a>"
			+" &nbsp  &nbsp <a href='donationsLegacies.cfm'>Legacies</a>"
		      //+" &nbsp  &nbsp <a href='donationsLinks.cfm'>Links</a>"
			+" &nbsp  &nbsp <a href='donationsContact.cfm'>Contact Us</a></br><hr>"					
			+"</h5>");
		}

//donations events menu
		function donationsPageEventsMenu()
		{
		donationsEventsMenu.innerHTML = ("" 
			+" <a href='donationsEventsRun.cfm'>	 Running</a> <br /><br />"
			+" <a href='donationsEventsSwim.cfm'>	 Swimming</a><br /><br />"
			+" <a href='donationsEventsWalk.cfm'>	 Walking</a> <br /><br />"
			+" <a href='donationsEventsCycle.cfm'>	 Cycling</a> <br /><br />"
			+" <a href='donationsEventsUK.cfm'>	 UK Challenges</a><br /><br />"
			+" <a href='donationsEventsOver.cfm'>	 Oversea<br />Challenges</a><br /><br />"
			+" <a href='donationsEventsOther.cfm'>	 Other</a><br /><br />"
			+" <a href='donationsEventsRegister3.cfm' target='_blank'>Register with Us</a><br />"					
			+"");
		}

//////////////////////////////////child / youth obesity study page
//child / youth obesity study head

		function childHead()
		{
			head.innerHTML = ("<h3>Children / Youth Obesity Study</h3>");
		}

//////////////////////////////////forum page
//forum head

		//function forumHead()
		//{
			//head.innerHTML = ("<h3></h3>");
		//}

//forum menu
		function forumPageMenu()
		{
		forumMenu.innerHTML = ("<h5><b>10th UK National Exercise Referral Conference 2009 &nbsp; &nbsp; &nbsp;</b>" 
			//+"		<a href='documents/forumsFlyer.pdf' target='_blank'>Download Flyer</a>"
			//+" &nbsp  &nbsp <a href='documents/forumsBook.pdf' target='_blank'>Download Booking Form</a></br><hr>"					
			+"</h5>");
		}

////////////////////////////////////////conference page - menu
		function conferencediv()
		{
			conferenceMenu.innerHTML = ("<h5><span class='centerTeal12B'>10th UK National Exercise Referral Conference 2009</span><br /><br />" 
					+" &nbsp <a href='conferenceSpeakers.cfm'>Speakers & Programmes</a>"
					+" &nbsp <a href='conferenceBooking.cfm'>Booking Form</a>"
					+" &nbsp <a href='conferenceWho.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>");
		}