// JavaScript Document
// Fuction for the header
function getimage(targetId)
{
    if (document.getElementById)
    {
// » Project Description
if (targetId == "1")
                {
document.getElementById('top_1_2').src = "../img/top_1_2_id1.gif";
document.getElementById('top_1_3').src = "../img/top_1_3_id1.gif";
document.getElementById('top_1_4').src = "../img/top_1_4_id1.gif";
document.getElementById('top_1_5').src = "../img/top_1_5_id1.gif";
document.getElementById('top_2_2').src = "../img/top_2_2_id1.gif";
document.getElementById('top_2_3').src = "../img/top_2_3_id1.gif";
document.getElementById('top_2_4').src = "../img/top_2_4_id1.gif";
document.getElementById('top_2_5').src = "../img/top_2_5_id1.gif";
document.getElementById('top_3_2').src = "../img/top_3_2_id1.gif";
document.getElementById('top_3_3').src = "../img/top_3_3_id1.gif";
document.getElementById('top_3_4').src = "../img/top_3_4_id1.gif";
document.getElementById('top_3_5').src = "../img/top_3_5_id1.gif";
                }
// » Objectives
if (targetId == "2")
                {
document.getElementById('top_1_2').src = "../img/top_1_2_id2.gif";
document.getElementById('top_1_3').src = "../img/top_1_3_id2.gif";
document.getElementById('top_1_4').src = "../img/top_1_4_id2.gif";
document.getElementById('top_1_5').src = "../img/top_1_5_id2.gif";
document.getElementById('top_2_2').src = "../img/top_2_2_id2.gif";
document.getElementById('top_2_3').src = "../img/top_2_3_id2.gif";
document.getElementById('top_2_4').src = "../img/top_2_4_id2.gif";
document.getElementById('top_2_5').src = "../img/top_2_5_id2.gif";
document.getElementById('top_3_2').src = "../img/top_3_2_id2.gif";
document.getElementById('top_3_3').src = "../img/top_3_3_id2.gif";
document.getElementById('top_3_4').src = "../img/top_3_4_id2.gif";
document.getElementById('top_3_5').src = "../img/top_3_5_id2.gif";
                }
// » Technical Approach
if (targetId == "3")
                {
document.getElementById('top_1_2').src = "../img/top_1_2_id3.gif";
document.getElementById('top_1_3').src = "../img/top_1_3_id3.gif";
document.getElementById('top_1_4').src = "../img/top_1_4_id3.gif";
document.getElementById('top_1_5').src = "../img/top_1_5_id3.gif";
document.getElementById('top_2_2').src = "../img/top_2_2_id3.gif";
document.getElementById('top_2_3').src = "../img/top_2_3_id3.gif";
document.getElementById('top_2_4').src = "../img/top_2_4_id3.gif";
document.getElementById('top_2_5').src = "../img/top_2_5_id3.gif";
document.getElementById('top_3_2').src = "../img/top_3_2_id3.gif";
document.getElementById('top_3_3').src = "../img/top_3_3_id3.gif";
document.getElementById('top_3_4').src = "../img/top_3_4_id3.gif";
document.getElementById('top_3_5').src = "../img/top_3_5_id3.gif";
                }
// » Consortium
if (targetId == "4")
                {
document.getElementById('top_1_2').src = "../img/top_1_2_id4.gif";
document.getElementById('top_1_3').src = "../img/top_1_3_id4.gif";
document.getElementById('top_1_4').src = "../img/top_1_4_id4.gif";
document.getElementById('top_1_5').src = "../img/top_1_5_id4.gif";
document.getElementById('top_2_2').src = "../img/top_2_2_id4.gif";
document.getElementById('top_2_3').src = "../img/top_2_3_id4.gif";
document.getElementById('top_2_4').src = "../img/top_2_4_id4.gif";
document.getElementById('top_2_5').src = "../img/top_2_5_id4.gif";
document.getElementById('top_3_2').src = "../img/top_3_2_id4.gif";
document.getElementById('top_3_3').src = "../img/top_3_3_id4.gif";
document.getElementById('top_3_4').src = "../img/top_3_4_id4.gif";
document.getElementById('top_3_5').src = "../img/top_3_5_id4.gif";
                }
// » Events & News
if (targetId == "5")
                {
document.getElementById('top_1_2').src = "../img/top_1_2_id5.gif";
document.getElementById('top_1_3').src = "../img/top_1_3_id5.gif";
document.getElementById('top_1_4').src = "../img/top_1_4_id5.gif";
document.getElementById('top_1_5').src = "../img/top_1_5_id5.gif";
document.getElementById('top_2_2').src = "../img/top_2_2_id5.gif";
document.getElementById('top_2_3').src = "../img/top_2_3_id5.gif";
document.getElementById('top_2_4').src = "../img/top_2_4_id5.gif";
document.getElementById('top_2_5').src = "../img/top_2_5_id5.gif";
document.getElementById('top_3_2').src = "../img/top_3_2_id5.gif";
document.getElementById('top_3_3').src = "../img/top_3_3_id5.gif";
document.getElementById('top_3_4').src = "../img/top_3_4_id5.gif";
document.getElementById('top_3_5').src = "../img/top_3_5_id5.gif";
                }
// » Publications
if (targetId == "6")
                {
document.getElementById('top_1_2').src = "../img/top_1_2_id6.gif";
document.getElementById('top_1_3').src = "../img/top_1_3_id6.gif";
document.getElementById('top_1_4').src = "../img/top_1_4_id6.gif";
document.getElementById('top_1_5').src = "../img/top_1_5_id6.gif";
document.getElementById('top_2_2').src = "../img/top_2_2_id6.gif";
document.getElementById('top_2_3').src = "../img/top_2_3_id6.gif";
document.getElementById('top_2_4').src = "../img/top_2_4_id6.gif";
document.getElementById('top_2_5').src = "../img/top_2_5_id6.gif";
document.getElementById('top_3_2').src = "../img/top_3_2_id6.gif";
document.getElementById('top_3_3').src = "../img/top_3_3_id6.gif";
document.getElementById('top_3_4').src = "../img/top_3_4_id6.gif";
document.getElementById('top_3_5').src = "../img/top_3_5_id6.gif";
                }
// » FAQ
if (targetId == "7")
                {
document.getElementById('top_1_2').src = "../img/top_1_2_id7.gif";
document.getElementById('top_1_3').src = "../img/top_1_3_id7.gif";
document.getElementById('top_1_4').src = "../img/top_1_4_id7.gif";
document.getElementById('top_1_5').src = "../img/top_1_5_id7.gif";
document.getElementById('top_2_2').src = "../img/top_2_2_id7.gif";
document.getElementById('top_2_3').src = "../img/top_2_3_id7.gif";
document.getElementById('top_2_4').src = "../img/top_2_4_id7.gif";
document.getElementById('top_2_5').src = "../img/top_2_5_id7.gif";
document.getElementById('top_3_2').src = "../img/top_3_2_id7.gif";
document.getElementById('top_3_3').src = "../img/top_3_3_id7.gif";
document.getElementById('top_3_4').src = "../img/top_3_4_id7.gif";
document.getElementById('top_3_5').src = "../img/top_3_5_id7.gif";
                }
// » Glossary
if (targetId == "8")
                {
document.getElementById('top_1_2').src = "../img/top_1_2_id8.gif";
document.getElementById('top_1_3').src = "../img/top_1_3_id8.gif";
document.getElementById('top_1_4').src = "../img/top_1_4_id8.gif";
document.getElementById('top_1_5').src = "../img/top_1_5_id8.gif";
document.getElementById('top_2_2').src = "../img/top_2_2_id8.gif";
document.getElementById('top_2_3').src = "../img/top_2_3_id8.gif";
document.getElementById('top_2_4').src = "../img/top_2_4_id8.gif";
document.getElementById('top_2_5').src = "../img/top_2_5_id8.gif";
document.getElementById('top_3_2').src = "../img/top_3_2_id8.gif";
document.getElementById('top_3_3').src = "../img/top_3_3_id8.gif";
document.getElementById('top_3_4').src = "../img/top_3_4_id8.gif";
document.getElementById('top_3_5').src = "../img/top_3_5_id8.gif";
                }
    }
}

// Function for menu colour
function toggle(targetId)
{
    if (document.getElementById)
    {
// » Project Description
if (targetId == "1")
                {
                 document.getElementById(1).style.color = "#CC0000";
                 document.getElementById(2).style.color = "";
                 document.getElementById(3).style.color = "";
                 document.getElementById(4).style.color = "";
                 document.getElementById(5).style.color = "";
                 document.getElementById(6).style.color = "";
                 document.getElementById(7).style.color = "";
                 document.getElementById(8).style.color = "";
                }
// » Objectives
if (targetId == "2")
                {
                 document.getElementById(1).style.color = "";
                 document.getElementById(2).style.color = "#CC0000";
                 document.getElementById(3).style.color = "";
                 document.getElementById(4).style.color = "";
                 document.getElementById(5).style.color = "";
                 document.getElementById(6).style.color = "";
                 document.getElementById(7).style.color = "";
                 document.getElementById(8).style.color = "";
                }
// » Technical Approach
if (targetId == "3")
                {
                 document.getElementById(1).style.color = "";
                 document.getElementById(2).style.color = "";
                 document.getElementById(3).style.color = "#CC0000";
                 document.getElementById(4).style.color = "";
                 document.getElementById(5).style.color = "";
                 document.getElementById(6).style.color = "";
                 document.getElementById(7).style.color = "";
                 document.getElementById(8).style.color = "";
                }
// » Consortium
if (targetId == "4")
                {
                 document.getElementById(1).style.color = "";
                 document.getElementById(2).style.color = "";
                 document.getElementById(3).style.color = "";
                 document.getElementById(4).style.color = "#CC0000";
                 document.getElementById(5).style.color = "";
                 document.getElementById(6).style.color = "";
                 document.getElementById(7).style.color = "";
                 document.getElementById(8).style.color = "";
                }
// » Events & News
if (targetId == "5")
                {
                 document.getElementById(1).style.color = "";
                 document.getElementById(2).style.color = "";
                 document.getElementById(3).style.color = "";
                 document.getElementById(4).style.color = "";
                 document.getElementById(5).style.color = "#CC0000";
                 document.getElementById(6).style.color = "";
                 document.getElementById(7).style.color = "";
                 document.getElementById(8).style.color = "";
                }
// » Publications
if (targetId == "6")
                {
                 document.getElementById(1).style.color = "";
                 document.getElementById(2).style.color = "";
                 document.getElementById(3).style.color = "";
                 document.getElementById(4).style.color = "";
                 document.getElementById(5).style.color = "";
                 document.getElementById(6).style.color = "#CC0000";
                 document.getElementById(7).style.color = "";
                 document.getElementById(8).style.color = "";
                }
// » FAQ
if (targetId == "7")
                {
                 document.getElementById(1).style.color = "";
                 document.getElementById(2).style.color = "";
                 document.getElementById(3).style.color = "";
                 document.getElementById(4).style.color = "";
                 document.getElementById(5).style.color = "";
                 document.getElementById(6).style.color = "";
                 document.getElementById(7).style.color = "#CC0000";
                 document.getElementById(8).style.color = "";
                }
// » Glossary
if (targetId == "8")
                {
                 document.getElementById(1).style.color = "";
                 document.getElementById(2).style.color = "";
                 document.getElementById(3).style.color = "";
                 document.getElementById(4).style.color = "";
                 document.getElementById(5).style.color = "";
                 document.getElementById(6).style.color = "";
                 document.getElementById(7).style.color = "";
                 document.getElementById(8).style.color = "#CC0000";
                }
    }

}
