// JavaScript Document
jQuery(document).ready(function(){
 jQuery("body").append("<div id='facebox_opaque' style='display: none;'></div>");
 jQuery(document).bind('loading.facebox', function() {
    jQuery("#facebox_opaque").show();
 });
 jQuery(document).bind('close.facebox', function() {
    jQuery("#facebox_opaque").hide();
 });
 jQuery(document).bind('afterReveal.facebox', function() {
    // this is a fix for IE6 which resets the height to 100% of the window height
    jQuery("#facebox_opaque").height(jQuery(document).height());
 });
 
 jQuery.facebox.settings.loadingImage='jscripts/facebox/loading.gif';
 jQuery.facebox.settings.closeImage='jscripts/facebox/closelabel.gif';
 
 
});

