function ArxRedirOnConfirm(message, url)
{
    if (confirm(message)) location.href = url;
}

function ArxPopupWindow(linkObj, width, height)
{
    window.open(linkObj.href, linkObj.target, 'width=' + width + ',height=' + height + ',' +
        'location=no,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=yes');
    return false;
}

function ArxShowWindow(link, width, height)
{
    var top = (screen.height - height)/2;
	var left = (screen.width - width)/2;
	
    window.open(link, "ShowWindow", 'width=' + width + ',height=' + height + ',' +
        'top=' + top + ', left=' + left + '');
    return false;
}


function ArxConfirm(message, linkobj)
{
    if (confirm(message)) 
    {
        location.href = linkobj.href;
        return true;
    }
    return false;
}
