function randomTip() {

var tip = new Array();
tip[1]="Performing cardiovascular type activities (i.e. running, cycling, swimming, etc.) five times a week decreases your risk of type II diabetes by 45%.";

tip[2]="People who have less than 6 hours sleep a night have a 70 % higher mortality rate, according to Californian studies.";

tip[3]="Make sure you don't skip breakfast, unless you get out of bed after 12 o'clock, then go straight for lunch.";

tip[4]="Eat a balanced diet, lower in fat, lower in sugar salt and processed foods, eat more fibre and whole food products.";

tip[5]="There are currently around 100,000 cases of food poisoning resulting in up to 200 deaths a year in the U. K. Make sure you wash and prepare food properly and check the sell buy dates";

tip[6]="Heart disease, cancer's etc. can run in the family. Check your family history and aim to get yourself checked out for any hereditary problems.";
tip[7]="Exercise is one of the best ways to reduce stress, ask yourself how you feel, after working out.";
tip[8]="When trying to lose fat, aim for a maximum of 1 1/2 pounds a week.";
tip[9]="Remember low fat foods, are often laced with sugar, which also has calories, just look at a low fat yoghurt. ";

tipran = (Math.round((Math.random()*8)+1));

document.getElementById('random-tip').innerHTML = tip[tipran];
}
