// JScript source code

function imgRollover(imgID)
{
    var imgSRC;
    imgSRC = document.getElementById(imgID).src;

    var ext = imgSRC.substring(imgSRC.length - 4,imgSRC.length);
    
    if (imgSRC.substring(imgSRC.length - 8,imgSRC.length) == "_hot" + ext || imgSRC.substring(imgSRC.length - 7,imgSRC.length) == "_on" + ext)
    {
    
    }else
    {
        var newSRC = imgSRC.substring(0,imgSRC.length - 4);
        document.getElementById(imgID).src = newSRC + "_hot" + ext;
    }
}

function imgRollout(imgID)
{
    var imgSRC;
    imgSRC = document.getElementById(imgID).src;

    var ext = imgSRC.substring(imgSRC.length - 4,imgSRC.length);
    
    if (imgSRC.substring(imgSRC.length - 8,imgSRC.length) == ext || imgSRC.substring(imgSRC.length - 7,imgSRC.length) == "_on.gif" )
    {
    
    }else
    {
        var newSRC = imgSRC.substring(0,imgSRC.length - 8);
        document.getElementById(imgID).src = newSRC + ext;
    }
}

function changeTabs(tabVal)
{
    
    if (tabVal == 1)
    {
        document.getElementById("tab1").style.display = 'block';
        document.getElementById("tab2").style.display = 'none';
    }
    else
    {
        document.getElementById("tab1").style.display = 'none';
        document.getElementById("tab2").style.display = 'block';
    }

}


          
