function coment(TIPO,ID) {
  window.open('http://www.miradordenovacala.com/agentes/reserva.php?tipo=' + TIPO + '&id=' + ID ,'NFOVIEW','width=360,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,height=380')
}
function enfoca( obj ) {
        if (!document.layers) {obj.style.background = '#F3F3F3'; return true;}
}
function desenfoca( obj ) {
        if (!document.layers) {obj.style.background = '#FFFFFF'; return true;}
}

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",5)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=45
}

function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
} 


function confirmLink(theLink, pregunta)
{
    // Confirmation is not required in the configuration file
    if (confirmMsg == '') {
        return true;
    }

    var is_confirmed = confirm(confirmMsg + ' :\n' + pregunta);
    if (is_confirmed) {
        theLink.href += '&is_js_confirmed=1';
    }

    return is_confirmed;
} // end of the 'confirmLink()' function