﻿// JScript File
function switchArea(aow)
{
    var aN = document.getElementById('areaName');
    var aD = document.getElementById('areaDesc');
    var aL = document.getElementById('areaLink');
    
    var aStart = "<a href=\"./";
    var aMid = "/\">";
    var aEnd = "</a>";
    switch(aow)
    {
        case 'COM': // communities
            aN.innerHTML = 'Communities';
            aD.innerHTML = '<b>Challenge, contribution, action</b><br/><br/>';
            aD.innerHTML += 'We want every single person to feel that they have a place in their community, the right to express their concerns, respect for their specific needs and the confidence to take action where necessary to build a fair, tolerant, dynamic and active society.<br/><br/>';
            aD.innerHTML += 'darts works with the whole community, the complete spectrum of ages and backgrounds and the connections between them. We excel in challenging and inspiring projects that contribute to local strategies and more importantly have a direct impact on people’s lives.<br/><br/>';
            aD.innerHTML += 'We work with community leaders, local residents and groups to identify issues and concerns and to find creative solutions, enabling people to make a contribution to decisions that affect them and fostering a true sense of belonging and community spirit.<br/><br/>';
            aD.innerHTML += 'Over the years we have built a network of community organisations interested in creative approaches – Creative Communities Network. We hope to broaden its scope so that throughout the borough there is a culture of ambitious aspirational groups of people taking action to improve the quality of life where they live.<br/><br/>';
            aL.innerHTML = makeLink('communities','Communities');
            break;
        case 'ELY': // early years
            aN.innerHTML = 'Early Years';
            aD.innerHTML = '<b>Imagination, adventure, joy</b><br><br/>';
            aD.innerHTML += 'We believe in firing imaginations and celebrating a sense of play, with adults and children learning, exploring and creating together. We aim to inspire practitioners and parents and to enrich provision throughout the borough for 0-5s and their grown-ups.<br/><br/>';
            aD.innerHTML += 'Working in partnership with the Local Authority, we develop programmes of work which explore creative practices in nurseries, playgroups, pre-schools and schools.<br/><br/>';
            aD.innerHTML += 'Training is a vital aspect of our work and we run practical sessions for practitioners as well as working side by side with them in their settings. We also share our skills and knowledge at local and national conferences.<br/><br/>';
            aD.innerHTML += 'The sense of joy and wonder that results from being immersed in imaginative adventures provides a solid foundation for future learning experiences.<br/><br/>';
            aL.innerHTML = makeLink('earlyyears','Early Years');
            break;
        case 'EDU': // education
            aN.innerHTML = 'Education';
            aD.innerHTML = '<b>Enjoyment, engagement, achievement</b><br><br/>';
            aD.innerHTML += 'Our drive is to enliven the curriculum and explore alternative ways of delivering it, encouraging professionals to take risks and challenge themselves and the children and young people with whom they work, in order to ignite a lifelong passion for learning.<br/><br/>';
            aD.innerHTML += 'We work in partnership with the School Improvement Service and their consultants and directly with schools, either singly or in network groups, working to deliver on initiatives and drives at both school, local and national levels.<br/><br/>';
            aD.innerHTML += 'Our work involves children and young people of all ages throughout their lives in and out of education. In order to make the work sustainable, we ensure that with every programme of work we are developing the skills and confidence of teachers to approach teaching and learning in a more creative way.<br/><br/>';
            aD.innerHTML += 'Our current research on the impact of enjoyment on achievement convinces us even more strongly that we owe it to all our children to provide them with an exciting relevant curriculum delivered by committed enthusiastic professionals in an atmosphere of creative exploration.<br/><br/>';
            aL.innerHTML = makeLink('education','Education');
            break; 
        case 'HWB': // health and wellbeing
            aN.innerHTML = 'Health & Wellbeing';
            aD.innerHTML = '<b>Person-centred, aspirational, transformational</b><br><br/>';
            aD.innerHTML += 'Our vision is a world in which creative approaches run right through the health sector, raising the morale of staff, transforming care environments and giving the individual a voice.<br/><br/>';
            aD.innerHTML += 'We work directly with people dealing with a range of conditions including substance misuse, mental health problems, various disabilities and the long-term effects of unemployment, as well as those who simply want to feel better in themselves using activities such as singing and dance, proven in recent research to have positive effects on physiological and mental functions.<br/><br/>';
            aD.innerHTML += 'We aim to provide a safe and creative place where people can explore previous parts of their lives if they wish to, or develop confidence and coping strategies through new forms of self-expression.<br/><br/>';
            aD.innerHTML += 'Individuals benefit from being part of a group and finding a new identity as, for example, film-makers or recording artists. We have witnessed lives being literally turned around as people unlock their potential.<br/><br/>';
            aD.innerHTML += 'We provide training for professionals and carers, exploring their own creativity and giving them new techniques and approaches for working with their clients.<br/><br/>';
            aD.innerHTML += 'We welcome partnerships with health professionals and the voluntary sector in this exciting area of work.<br/><br/>';
            aL.innerHTML = makeLink('healthandwellbeing','Health & Wellbeing');
            break;
        case 'YEN': // youth engagement
            aN.innerHTML = 'Youth Engagement';
            aD.innerHTML = '<b>Trust, confidence, self-belief</b><br/><br/>';
            aD.innerHTML += 'We seek to broaden the horizons of young people dealing with difficult situations by increasing their self-esteem and encouraging a strong sense of self-belief, enabling them to develop skills and confidence for life.<br/><br/>';
            aD.innerHTML += 'In partnership with the Local Authority, the Primary Care Trust and other local and national partners, we work with young parents, young offenders, young people at risk of alcohol and/or substance misuse, young people with behavioural and emotional difficulties, and those with diagnosed mental health conditions.<br/><br/>';
            aD.innerHTML += 'Our team of artists and support staff strive to provide a safe environment in which the young people feel able to engage with new activities, see themselves and others in new roles, work through their issues and build new connections with adults and their peers.<br/><br/>';
            aD.innerHTML += 'Working on challenging creative projects in an atmosphere of mutual trust and respect builds their confidence, improves their ability to work as a team and opens up opportunities for them to contribute to their own community and wider society.<br/><br/>';
            aL.innerHTML = makeLink('youthengagement','Youth Engagement');
            break;                
    }
    return;
}

function makeLink(aowL, aowN)
{
    var aStart = "<a href=\"./";
    var aMid = "/\">enter ";
    var aEnd = "</a>";
    
    return aStart + aowL + aMid + aowN + aEnd;
}
