﻿var intro= "<img class='headers' src='images/header_what.gif' /><p>At Forde Dental we focus on high quality dental care using up to date techniques and equipment.</p><p>Our modern, air-conditioned clinic in the centre of Dunbar has been completely upgraded and we offer a full range of dental services to suit everyone.</p><p>To learn more about what we could do for you, simply move your mouse over the service categories shown on the left.</p>";

var prevention= "<img class='headers' src='images/header_prevention.gif' /><p>Everyone knows that prevention is better then cure.</p><p>At Forde Dental we help people prevent or deal with decay and gum disease, the two major causes of tooth loss. With quality preventive dentistry and constant new developments, it is possible to prevent or reduce dental disease. By dealing with problems before they happen, the more chance people have of keeping their teeth for life.</p><p>Preventive dentistry benefits everyone with some of their own teeth. It is excellent for children and young people, but it is never too late to start. People who don’t have any teeth can also benefit because mouth conditions can be identified and treated during regular visits to the dentist or hygienist.</p><p>The joint efforts of the dentist, the hygienist and the patient, can help to prevent the need for treatment. We encourage you to make regular check up appointments with the dentist, and maintenance appointments with our dental hygienist.</p><p>We may recommend a course of treatment to get your mouth into good condition, and a maintenance plan will be worked out to help you keep it that way.</p><p>We want to help you to keep your teeth!</p>";

var whitening="<img class='headers' src='images/header_whitening.gif' /><p>Have you ever wanted whiter teeth? Maybe you just want to get rid of staining caused by smoking, coffee or red wine. Teeth whitening could be for you.</p><p> Teeth whitening can be a highly effective way of lightening the natural colour of your teeth without removing any of the tooth surface. It cannot make a complete colour change, but it will lighten the existing shade.</p><p>Professional bleaching is the best form of teeth whitening.</p><p>Over-the-counter kits sold in the UK are not recommended as legally they can only contain a small amount of the whitening product hydrogen peroxide. The legal limit in the UK is 0.1% of hydrogen peroxide and effective bleaching products need to have about 3.6%. So home teeth bleaching kits will not be able to lighten your teeth noticeably, and because some contain acids and others are abrasive, they could cause ulcers and damage the gums if not used properly.</p><p>At Forde Dental we offer proven teeth whitening techniques that are quick, reliable, safe and professionally supervised.</p>";

var hygienist="<img class='headers' src='images/header_hygienist.gif' /><p>A clean and healthy mouth will improve your appearance, help you to keep your teeth and give you fresh breath. Our dental hygienist can help.</p><p>At Forde Dental we have an experienced dental hygienist who plays an important role in keeping patients' teeth and gums in optimum condition. By discussing your diet, and recommending other preventive measures, tooth decay can also be slowed down. Regular visits and advice will help build your confidence in achieving and maintaining a healthy mouth.</p><p>The hygienist's job is to prevent dental disease by professionally cleaning and polishing patients&#8217; teeth, showing patients how to keep their teeth free of plaque and giving advice on diet and preventing dental decay. Our dental hygienist is also qualified to take dental x-rays and carry out fissure sealants.</p><p>The dental hygienist works with the dentist to provide individually tailored care to our patients.</p>";

var cosmetic="<img class='headers' src='images/header_cosmetic.gif' /><p>First impressions count! A great smile is an important factor in creating a good first impression.</p><p>Dentistry is no longer just a case of filling and removing teeth. Nowadays, many people turn to cosmetic dentistry as a way of improving their appearance.</p><p>At Forde Dental we can provide treatments to straighten, lighten, reshape and repair teeth depending on your own individual needs. Cosmetic treatments include veneers, crowns, bridges and tooth-coloured fillings.</p><p>White fillings are a popular alternative to amalgam (metal) fillings, and new dental materials mean it is easier to find a perfect match for the shade of a particular tooth. In most cases, it is practically impossible to see that the tooth even has a filling.</p><p>We'd be happy to talk to you about the best way for you to improve your smile.</p>";

var nervous="<img class='headers' src='images/header_nervous.gif' /><p>As someone who is nervous about dental treatment, you need to be looked after by a dental practice that will take special care of you.</p><p>If you let us know that you're anxious when you make your appointment we can book more time for you, and take things at a slower, more relaxed pace.</p><p>Modern dental treatment can now be completely painless. Despite this, most people still feel a bit nervous at the thought of going to the dentist. If you have not been to see a dentist for some time, you will probably find that things have improved a lot since your last visit.</p><p>By getting your mouth into good shape with the help of the dentist and dental hygienist, you should need less treatment and there will be less for the dentist to do in the future. Once your mouth is healthy, your visits to the practice will often just be easy sessions for checking and cleaning.</p>";

var denplan="<img class='headers' src='images/header_denplan.gif' /><p>Most of our adult patients pay for their treatments using Denplan, the UK's leading independent dental insurer. Denplan covers all your routine dental treatment except laboratory fees, and you can join the scheme once you are dentally fit.</p><p>For an affordable monthly payment, patients can budget for routine dental care and treatment which removes worries about costly and unexpected bills. They also benefit from peace of mind through worldwide dental accident and emergency cover.</p><p>At Forde Dental we're pleased to offer Denplan because it lets us spend more time with our patients and offer them a wider range of treatments. It lets us focus on preventing dental problems before they happen, rather than just filling and removing teeth. We think that's better for everyone.</p>";
  
function writeContent(contentValue){
	switch(contentValue){
		case "intro" : document.getElementById('center_box').innerHTML=intro;
		break;
		case "prevention" : document.getElementById('center_box').innerHTML=prevention;
		break;
		case "whitening" : document.getElementById('center_box').innerHTML=whitening;
		break;
		case "hygienist" : document.getElementById('center_box').innerHTML=hygienist;
		break;
		case "cosmetic" : document.getElementById('center_box').innerHTML=cosmetic;
		break;
		case "nervous" : document.getElementById('center_box').innerHTML=nervous;
		break;
		case "denplan" : document.getElementById('center_box').innerHTML=denplan;
		break;
	}
}