$(document).ready(function() {
	
	$(".speaker_bio_link").fancybox({
				'type'				: 'iframe',
				'width'				: 400,
				'height'			: 500,
				'titleShow'			: false
			});
			
	$(".speaker_form_link").fancybox({
				'type'				: 'iframe',
				'width'				: 700,
				'height'			: '100%',
				'titleShow'			: false
			});
	
	
	$(".sponsor_form_link").fancybox({
				'type'				: 'iframe',
				'width'				: 700,
				'height'			: '100%',
				'titleShow'			: false,
				'transitionIn'	: 'fade',
				'transitionOut'	: 'fade',
			});
			
	$(".startup_form_link").fancybox({
				'type'				: 'iframe',
				'width'				: 700,
				'height'			: '100%',
				'titleShow'			: false
			});
	
	$(".press_form_link").fancybox({
				'type'				: 'iframe',
				'width'				: 700,
				'height'			: '100%',
				'titleShow'			: false
			});
	
	$(".interview_form_link").fancybox({
				'type'				: 'iframe',
				'width'				: 700,
				'height'			: '100%',
				'titleShow'			: false
			});
	
	$(".press_release_link").fancybox({
				'type'				: 'iframe',
				'width'				: 700,
				'height'			: '100%',
				'titleShow'			: false
			});
	
	$(".floorplan_link").fancybox({
				'type'				: 'iframe',
				'width'				: 950,
				'height'			: '100%',
				'titleShow'			: false
			});
	
	
	$(".workshop_link").fancybox({
				'type'				: 'iframe',
				'width'				: 630,
				'height'			: '100%',
				'titleShow'			: false
			});
	
	$(".intensives_link").fancybox({
				'type'				: 'iframe',
				'width'				: 630,
				'height'			: 400,
				'titleShow'			: false
			});
	
	$(".connect_video_link").fancybox({
				'type'				: 'iframe',
				'width'				: 450,
				'height'			: 350,
				'titleShow'			: false
			});
	
	$(".topic_form").fancybox({
				'type'				: 'iframe',
				'width'				: 700,
				'height'			: '100%',
				'titleShow'			: false
			});
	
	
	$(".chartArea").hover(function() {
	$(this).css({'z-index' : '10'});
    $(this).find('img').attr("src", $(this).find('img').attr("src").match(/[^\.]+/) + "_big.gif");
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0', 
			top: '50%', 
			left: '50%', 
			width: '400px', 
			height: '300px',
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 
			width: '272px', 
			height: '170px', 
			padding: '5px'
		}, 400);
	$(this).find('img').attr("src", $(this).find('img').attr("src").replace(/_big/i, ""));	
});
	
});

