﻿// Function to "activate" images.
function imgAct(imgName)
{
    document.getElementById(imgName).src = "images/"+ imgName + "-over.png";
}

// Function to "deactivate" images.
function imgInact(imgName)
{
    document.getElementById(imgName).src = "images/"+ imgName + ".png";
}


function changeBgOver(id) {
    //alert(id);
    document.getElementById(id).style.backgroundImage = "url(images/rollover.jpg)";
}

function changeBgOut(id) {
    //alert(id);
    document.getElementById(id).style.backgroundImage = "url(images/normal.jpg)";
}



