﻿function showOriginatingUrlPopup() {
    showWireFramePopUp();
    //window.setTimeout('hideWireFramePopUp()', 3000);
}

function showWireFramePopUp() {
    document.getElementById('wireframe_blackout').style.display = 'block';
    document.getElementById('wireframe_popup_outer').style.display = 'block';
}

function hideWireFramePopUp() {
    document.getElementById('wireframe_blackout').style.display = 'none';
    document.getElementById('wireframe_popup_outer').style.display = 'none';
}

function showSavedSearchPopUp() {
    if (_search.ListingTypeId == null) {
        alert("Please select a property type\nbefore saving your search.");
        return;
    }
    StartRegistration('SaveSearch', '', '', '', '');
}

function hideSavedSearchPopUp() {
    document.getElementById('wireframe_blackout').style.display = 'none';
    document.getElementById('divPromptSaveSearch').style.display = 'none';
}
