//  Blue Button  \\

Lblue_L = new Image();
Lblue_F = new Image();
Lblue_R = new Image();
Lblue_L.src = '/slovakia/lib/templates/windowsmobile/images/Blue_Button_StateA_Left.png';
Lblue_F.src = '/slovakia/lib/templates/windowsmobile/images/Blue_Button_StateA_Fill.png';
Lblue_R.src = '/slovakia/lib/templates/windowsmobile/images/Blue_Button_StateA_Right.png';

gold_L = new Image();
gold_F = new Image();
gold_R = new Image();
gold_L.src = '/slovakia/lib/templates/windowsmobile/images/TotalAccess_Button_StateA_Left.png';
gold_F.src = '/slovakia/lib/templates/windowsmobile/images/TotalAccess_Button_StateA_Fill.png';
gold_R.src = '/slovakia/lib/templates/windowsmobile/images/TotalAccess_Button_StateA_Right.png';

function blueButtonNormal(btn) {
    btn.childNodes[0].childNodes[0].childNodes[0].style.backgroundImage = 'url(' + Lblue_L.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[1].style.backgroundImage = 'url(' + Lblue_F.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[2].style.backgroundImage = 'url(' + Lblue_R.src + ')';
}
function blueButtonHover(btn) {
    btn.childNodes[0].childNodes[0].childNodes[0].style.backgroundImage = 'url(' + gold_L.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[1].style.backgroundImage = 'url(' + gold_F.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[2].style.backgroundImage = 'url(' + gold_R.src + ')';
}


//  Gold Button  \\

silver_L = new Image();
silver_F = new Image();
silver_R = new Image();
silver_L.src = '/slovakia/lib/templates/windowsmobile/images/GLobalButton_StateA_Left.png';
silver_F.src = '/slovakia/lib/templates/windowsmobile/images/GLobalButton_StateA_Fill.png';
silver_R.src = '/slovakia/lib/templates/windowsmobile/images/GLobalButton_StateA_Right.png';

gold_L = new Image();
gold_F = new Image();
gold_R = new Image();
gold_L.src = '/slovakia/lib/templates/windowsmobile/images/TotalAccess_Button_StateA_Left.png';
gold_F.src = '/slovakia/lib/templates/windowsmobile/images/TotalAccess_Button_StateA_Fill.png';
gold_R.src = '/slovakia/lib/templates/windowsmobile/images/TotalAccess_Button_StateA_Right.png';

function goldButtonNormal(btn) {
    btn.childNodes[0].childNodes[0].childNodes[0].style.backgroundImage = 'url(' + gold_L.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[1].style.backgroundImage = 'url(' + gold_F.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[2].style.backgroundImage = 'url(' + gold_R.src + ')';
}
function goldButtonHover(btn) {
    btn.childNodes[0].childNodes[0].childNodes[0].style.backgroundImage = 'url(' + silver_L.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[1].style.backgroundImage = 'url(' + silver_F.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[2].style.backgroundImage = 'url(' + silver_R.src + ')';
}


//  Grey Button  \\

silver_L = new Image();
silver_F = new Image();
silver_R = new Image();
silver_L.src = '/slovakia/lib/templates/windowsmobile/images/GLobalButton_StateA_Left.png';
silver_F.src = '/slovakia/lib/templates/windowsmobile/images/GLobalButton_StateA_Fill.png';
silver_R.src = '/slovakia/lib/templates/windowsmobile/images/GLobalButton_StateA_Right.png';

blue_L = new Image();
blue_F = new Image();
blue_R = new Image();
blue_L.src = '/slovakia/lib/templates/windowsmobile/images/GLobalButton_StateB_Left.png';
blue_F.src = '/slovakia/lib/templates/windowsmobile/images/GLobalButton_StateB_Fill.png';
blue_R.src = '/slovakia/lib/templates/windowsmobile/images/GLobalButton_StateB_Right.png';

function greyButtonHover(btn) {
    btn.childNodes[0].childNodes[0].childNodes[0].style.backgroundImage = 'url(' + blue_L.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[1].style.backgroundImage = 'url(' + blue_F.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[2].style.backgroundImage = 'url(' + blue_R.src + ')';
}
function greyButtonNormal(btn) {
    btn.childNodes[0].childNodes[0].childNodes[0].style.backgroundImage = 'url(' + silver_L.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[1].style.backgroundImage = 'url(' + silver_F.src + ')';
    btn.childNodes[0].childNodes[0].childNodes[2].style.backgroundImage = 'url(' + silver_R.src + ')';
}