﻿    var nRandom = Math.random();
    
    function randomImage() {
        var nRandom2 = 0;
        var myimages = new Array();
      
        //specify random images below. You can have as many as you wish
        myimages[1] = "content-image.jpg";
        myimages[2] = "content-image2.jpg";
        myimages[3] = "content-image3.jpg";
        myimages[4] = "content-image4.jpg";
        myimages[5] = "content-image5.jpg";
        myimages[6] = "content-image6.jpg";
        myimages[7] = "content-image7.jpg";
        myimages[8] = "content-image8.jpg";
        myimages[9] = "content-image9.jpg";
        myimages[10] = "content-image10.jpg";
        myimages[11] = "content-image11.jpg";
        
        nRandom2 = Math.floor(nRandom * myimages.length);
        if (nRandom2 == 0)
            nRandom2 = 1;            
        
        document.write("<img src='/Images/Bits/" + myimages[nRandom2] + "'/>");
    }
    
    //specify random quotes below. You can have as many as you wish phish
    var strQuotes = new Array();     
    
    strQuotes[1] = "It is massively encouraging to know that The Training Room candidates have such a well-rounded understanding of what is required of them by their future employers.|Nick Hudson<br/><strong>Virgin Active</strong>";
    strQuotes[2] = "The Training Room gives students the qualifications, and particularly the practice and assessed environment, to develop the exact skills we’re looking for.<br/><br/>By far, The Training Room produces a higher calibre than the other PT training providers in the UK.|Jackie Kiley<br/><strong>Greens</strong>";
    strQuotes[3] = "The graduates come off the course with a very good grounding and all round experience in group training and personal training, making them the perfect candidates for Esporta health clubs.<br/><br/>I would highly recommend their training to anyone looking to qualify as a personal trainer. The course is a very good all-round one that develops your skills to be able to provide effective one-to-one sessions.|Carl Paper<br/><strong>Esporta Health Clubs</strong>";
    strQuotes[4] = "Students have a vast knowledge of all aspects of fitness as well as having the confidence to utilise them upon starting employment.<br/><br/>The course is as high a standard as any in the industry, and the gym floor experience that the students come away with sets them apart.|Finlay Anderson<br/><strong>Next Generation<br/>David Lloyd</strong>";
    strQuotes[5] = "The Training Room not only gives you the training basis in the theoretical, but also incorporates training behaviours and habits that are required to be a good and successful personal trainer.|Andrew Omotajo<br/><strong>LA Fitness</strong>";
    strQuotes[6] = "We have been impressed with the attitude of the graduates, very outgoing with a willingness to learn.<br/><br/>I would describe the programme as thorough, in a friendly environment.|Guy Russell<br/><strong>Onboard Spa Company</strong>";
    strQuotes[7] = "The most intense and efficient way to get your foot in the door with a recognized operator in the leisure industry.|Ian Ratcliffe<br/><strong>Leisurejobs</strong>";
    strQuotes[8] = "LA Fitness and The Training Room operate a successful partnership and we are pleased to extend our facilities for PT courses run by The Training Room.<br><br>Their students are able to train in the club at off peak hours giving them the opportunity to interact with our staff and professional PTs. The caliber of students is extremely good and they apply for Personal Trainer vacancies on qualifying, a win win scenario for everyone!|Gordon Booth<br/><strong>LA Fitness</strong>";
    
    /*
    strQuotes[8] = "Personal training allows me to use all my enthusiasm and ideas to solve other people’s exercise and fitness problems! Motivation combined with knowledge is key!<br/><br/>I was impressed by the assessment days and recruitment process, and after training with TTR felt totally prepared to embark on my own career in the fitness industry.|Megan Bowe<br/><strong>Training Room graduate</strong>";
    strQuotes[9] = "The friendships that I have taken away from the course is a great aspect, I have gained friends for life and memories that I will never forget.<br/><br/>I was lucky enough to be offered two fantastic positions during the course. I am now on my way to a Mark Warner holiday in Sardinia!<br/><br/>For me personally it was a life-changing experience. I never would have thought I would have so many different opportunities…and it’s thanks to qualifications and life skills I gained from The Training Room.|Martyn Smith<br/><strong>Training Room Graduate</strong>";
    strQuotes[10] = "It's a great course and the qualifications you get really are what the industry are looking for in a CV.<br/><br/>If you really make the most of the course and the contacts you meet, the opportunities are endless.|Joe Turner<br/><strong>Training Room graduate</strong>";
    strQuotes[11] = "Now I'm apersonal trainer at David Lloyd Hatfield, working 40 hours a week on the gym floor with a steadily growing client base.<br/><br/>Anyone considering PT qualifications will not find another company that even comes close to The Training Room. Their handling and organisation of courses and the expertise provided are second to none.|David Howatson<br/><strong>Training Room graduate</strong>";
    strQuotes[12] = "Be a personal trainer and more in just 6 weeks!|Chris Hole<br/><strong>Training Room Graduate</strong>";
    strQuotes[13] = "High professionalism, and well balanced practice and theory contents.|David Villalonga Torrent<br/><strong>Training Room Graduate</strong>";
    strQuotes[14] = "I wanted something that provided a varied day and a chance to meet different and interesting people, and try and help them achieve their goals and improve their lives.<br/><br/>It is a brilliant course and you learn so much!|Chris Turner<br/><strong>Training Room Graduate</strong>";
    */    
    
    function randomQuote() {
        var nRandom2 = 0;      
        var strQuote;
        
        nRandom2 = Math.floor(nRandom * strQuotes.length);
        if (nRandom2 == 0)
            nRandom2 = 1;            
        
        strQuote = strQuotes[nRandom2].split("|");
        document.getElementById("spnQuoteText1").innerHTML = "<span style='font-size:1.2em;margin-left:-8px;'>“</span>" + strQuote[0] + "<span style='font-size:1.2em;'>”</span>";
        document.getElementById("spnQuoteText2").innerHTML = strQuote[1];
    }
    
    function setQuote(nQuote) {       
        var strQuote;
           
        strQuote = strQuotes[nQuote].split("|");
        document.getElementById("spnQuoteText1").innerHTML =  "<span style='font-size:1.2em;margin-left:-8px;'>“</span>" + strQuote[0] + "<span style='font-size:1.2em;'>”</span>";
        document.getElementById("spnQuoteText2").innerHTML = strQuote[1];
    }