var featuredProperty = document.getElementById("featuredPropertiesList").firstChild;
if (featuredProperty.nodeType == 3) {
    featuredProperty = featuredProperty.nextSibling;
}
function next() {
    
    featuredProperty.style.display = "none";
    featuredProperty = featuredProperty.nextSibling;
    if (featuredProperty != null && featuredProperty.nodeType == 3) {
        featuredProperty = featuredProperty.nextSibling;
    }
    
    if (featuredProperty == null) {
        featuredProperty = document.getElementById("featuredPropertiesList").firstChild;
        if (featuredProperty.nodeType == 3) {
            featuredProperty = featuredProperty.nextSibling;
        }
    }
    
    featuredProperty.style.display = "block";
}

function previous() {

    featuredProperty.style.display = "none";
    featuredProperty = featuredProperty.previousSibling;
    if (featuredProperty != null && featuredProperty.nodeType == 3) {
        featuredProperty = featuredProperty.previousSibling;
    }
    if (featuredProperty == null) {
        featuredProperty = document.getElementById("featuredPropertiesList").lastChild;
        if (featuredProperty.nodeType == 3) {
            featuredProperty = featuredProperty.previousSibling;
        }
    }
    featuredProperty.style.display = "block";
}