		$(document).ready(function() {

			$(".iframe-deletebox").fancybox({
				'width'				: 360,
				'height'			: 90,
				'autoScale'			: true,
				'centerOnScroll'	: true,
				'autoDimensions'	: true,
				'type'				: 'iframe',
				'onClosed'			: function() { parent.location.reload(true) }
			});
			
			$(".iframe-editbox").fancybox({
				'width'				: 650,
				'height'			: 425,
				'autoScale'			: true,
				'centerOnScroll'	: true,
				'autoDimensions'	: true,
				'scrolling'			: 'no',
				'type'				: 'iframe',
				'onClosed'			: function() { parent.location.reload(true) }
			});
			
			$(".iframe-commentseditbox").fancybox({
				'width'				: 650,
				'height'			: 300,
				'autoScale'			: true,
				'centerOnScroll'	: true,
				'autoDimensions'	: true,
				'scrolling'			: 'no',
				'type'				: 'iframe',
				'onClosed'			: function() { parent.location.reload(true) }
			});
			
			$(".iframe-addbox").fancybox({
				'width'				: 650,
				'height'			: 425,
				'autoScale'			: true,
				'centerOnScroll'	: true,
				'autoDimensions'	: true,
				'scrolling'			: 'no',
				'type'				: 'iframe',
				'onClosed'			: function() { parent.location.href= "./" }
			});
			
			$(".iframe-tagsbox").fancybox({
				'width'				: 360,
				'height'			: 100,
				'autoScale'			: true,
				'centerOnScroll'	: true,
				'autoDimensions'	: true,
				'scrolling'			: 'no',
				'type'				: 'iframe',
				'onClosed'			: function() { parent.location.reload(true) }
			});
				
			$(".youtube").fancybox({
				'padding'			: 0,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'title'				: this.title,
				'width'				: 680,
				'height'			: 495,
				'href'				: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
				'type'				: 'swf',
				'swf'				: {
				'wmode'				: 'transparent',
				'allowfullscreen'	: 'true'
				}
			});

		return false;
		});
