function showError(message)
{
    var errorMessage = document.getElementById('errorMessage');
    errorMessage.innerHTML = message;
    GB_show('errorWindow', 155, 300);
}

function showWindow(windowId, height, width)
{
    GB_show(windowId, height, width);
    //tb_showBox('/#TB_inline?height='+height+'&width='+width+'&inlineId='+windowId+'&modal=true');
}

function swapImage(elementId, imageSrc)
{
    var element = document.getElementById(elementId);
    element.src = imageSrc;
}

function setCursor(elementId, cursorType)
{
    var element = document.getElementById(elementId);
    element.style.cursor=cursorType;
}

function setAddressIndex(elementId, txtElementId)
{
    var addressList = document.getElementById(elementId);
    var txtElement = document.getElementById(txtElementId);
    txtElement.value = addressList.selectedIndex;
}

/*$(document).ready(function()
{
    $('.formLine input, .formLine textarea, .formLine select').focus(function(){
        $(this).parents('.formLine').addClass("over");
    }).blur(function(){
        $(this).parents('.formLine').removeClass("over");
    });
});*/
