function showVideo(id) {
	$('#overlay').height($(document).height()).width($(document).width()).fadeIn();
	
	var selector = '#' + id;
    $(selector).css({
        "left": ($(window).width()-$(selector).width())/2+$(window).scrollLeft(),
        "top": ($(window).height()-$(selector).height())/2+$(window).scrollTop()
    }).fadeIn();

}

function hideVideo() {
	$('.video').fadeOut();
	$('#overlay').fadeOut();
}

