(function($) {
	$(function() { 
 
    // assign a click event to the exposed element, using normal jQuery coding 
    $("form.expose").bind("click keydown", function() { 
 
        $(this).expose({ 
 
            // custom mask settings with CSS 
            maskId: 'mask', 
 
            // when exposing is done, change form's background color 
            onBeforeLoad: function() { 
                this.getExposed().css({backgroundColor: '#0A80A4'}); 
            }, 
 
            // when "unexposed", return to original background color 
            onClose: function() { 
                this.getExposed().css({backgroundColor: null}); 
            }, 
 
            api: true 
 
        }).load(); 
    });  
	});
	})(jQuery);