var boom_x = "-352px";
var ldl_x = "-500px";
var footer_y = "-70px";
var force_footer_close = true;
var footerCloseTimeout;
	
$(".footer_logo").mouseover(function(){
    drop_name = $(this).attr("id");
		
    clear_footer_timeout();		
    clear_footer_box();
		
    $('.'+drop_name).show();
    $('#'+drop_name+' a').addClass('highlight_background');
   
});
	
$(".footer_logo").mouseleave(function(){
    footerCloseTimeout = window.setTimeout(footer_timeout, "100");
});
	
$(".propDropdown").mouseenter(function(){
    clear_footer_timeout();
});
	
$(".propDropdown").mouseleave(function(){
    var id = $(this).data('property');
    clear_footer_box(id);
});
	
function clear_footer_box(id){
    var id = id || null;
    $('.propDropdown').hide();
    if(id) {
	$('#'+id+' a').removeClass('highlight_background');
    } else {
	$(".footer_logo a").removeClass('highlight_background');
    }
}
    
function footer_timeout(){
    clear_footer_box();
}
	
function clear_footer_timeout(){
    window.clearTimeout(footerCloseTimeout);
}

