function showZone( ed ){
    

    var f = $(".activeViewSelected");
    var notModel = true
    var model = 0
    if( f.length > 0 ){
        f.each(function(){
            if( $(this).attr("idM") ){
                notModel = false;
                model = $(this).attr("idM");
            }
        });
        if( notModel ){
            alert( "Seleccione el tipo del inmueble y después presione Del./Mpio." );
            return false;
        }
    }else{
        alert( "Seleccione el tipo del inmueble y después presione Del./Mpio." );
        return false;
    }                        
    
    activate( ed );
    setTimeout('$(".selectores.zona[idModel='+model+']").fadeIn("slow");',100);
    var dHeight = $($(".slide")[1]).innerHeight() + 15;
    dHeight = ( dHeight > 284)?dHeight:284;

    $(".slider").parent().animate({height:dHeight+"px"},"slow");
    $(".slider").animate({left:"-512px"},"slow",function(){
        
    })
}
function backZones(){
    $("a[group=filter]").removeClass( "activeViewSelected" );
    $(".selectores.zona").fadeOut("fast");
    $(".slider").parent().animate({height:"284px"},"slow");
    $(".slider").animate({left:"0px"},"slow",function(){
    })
}

