﻿// AVAILABLE PROPERTIES ROUTINES

    function availableRentals(buildingID){
        var parent = window.opener;
        parent = parent == null ? document : parent;
        parent.location.replace(ApplicationPath + "/Content/Properties/Rental/Default.aspx?buildingID=" + buildingID + "&avl=1");
        parent.focus();
    }

    function availableSales(buildingID){
        var parent = window.opener;
        parent = parent == null ? document : parent;
        parent.location.replace(ApplicationPath + "/Content/Properties/Sales/Default.aspx?buildingID=" + buildingID + "&pst=1");
        parent.focus();
    }


