
$(document).ready(function() {
													 
	$(".fesmap").fancybox({
		'width'				: 900,
		'height'			: 550,
		'type'				: 'iframe',
		'swf'				:{wmode: 'transparent'}
	});

	$(".fesmap_mob").fancybox({
		'width'				: 900,
		'height'			: 550,
		'type'				: 'image',
		'swf'				:{wmode: 'transparent'}
	});

	$("#mailmagazine").fancybox({
		'width'				: 540,
		'height'			: 720,
		'type'				: 'iframe',
		'swf'				:{wmode: 'transparent'}
	});

	$(".rts_color").fancybox({
		'width'				: 680,
		'height'			: 490,
		'type'				: 'iframe',
		'swf'				:{wmode: 'transparent'}
	});

	$(".rts_entry_form").fancybox({
		'width'				: 540,
		'height'			: 620,
		'type'				: 'iframe',
		'swf'				:{wmode: 'transparent'}
	});

	$(".artist_profile_link").fancybox({
		'width'				: 620,
		'height'			: 720,
		'type'				: 'iframe',
		'swf'				:{wmode: 'transparent'}
	});

	$('a[rel="newsimg"]').fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'titlePosition' 	: 'over',
		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
			return '<span id="fancybox-title-over">News ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
		}
	});

	$('a[rel="risingstar"]').fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'titlePosition' 	: 'over',
		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
			return '<span id="fancybox-title-over">RISING★STAR ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
		}
	});

	$('.accessmap').fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});

	$(".list_carousel a#u_ph").fancybox({
		'overlayShow'	: false,
		'transitionIn'	: 'elastic',
		'transitionOut'	: 'elastic'
	});

	$(".list_carousel a[rel=group_1]").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'titlePosition' 	: 'over',
		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
			return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
		}
	});

});

