$(function() {
$(".triggers img[rel]").overlay({mask: '#222', effect: 'apple'});
//patch for Internet Explorer "youtube video on top" bug
//the code class="homepage_video" is also added to each youtube iframe
$(".triggers img[rel]").click(function(){
$('.homepage_video').hide();
});
$("a.close").click(function(){
$('.homepage_video').show();
});
//end patch
});