$(document).ready(function() {
    $("#dialog").load("/" + $("#dialog").attr('lang') + "/contact/request-quote").dialog({
        modal: true,
        width: 255,
        height: 420,
        autoOpen: false,
        position: 'center'
    }); 
    $('.request_quote').click(function () {
        // show the popup with the form to request a quote
        init();
        $("#dialog").dialog("open"); 
        $("#top").focus();
    })
});
