$(document).ready(function(){
/*	$("a.zoom").fancybox();
	$("a.zoom1").fancybox({
		'overlayOpacity':0.0,
		'overlayColor':'#FFFFFF'
	});
  
	$("a.zoom2").fancybox({
		'zoomSpeedIn':500,
		'zoomSpeedOut':500,
		'overlayShow':false
	});

	$(".iframe").fancybox({
		'frameWidth'			: 674,
		'frameHeight'			: 425,
		'autoScale'     	: false,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe',
		'overlayOpacity': '0.0',
		'overlayColor': '#000000',
		'centerOnScroll' : false
	});	
	$("a.zoom-yt").click(function() {
		$.fancybox({
			'padding'             : 0,
			'autoScale'   : false,
			'transitionIn'        : 'none',
			'transitionOut'       : 'none',
			'title'               : this.title,
			'overlayOpacity'		: 0.8,
			'overlayColor'		: '#000000',
			'width'               : 680,
			'height'              : 495,
			'href'                : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'                : 'swf',    // <--add a comma here
			'swf'                 : {
				'allowfullscreen':'true'
			} // <-- flashvars here
		});
		return false;

	});	
*/	
	$('a.email').each(function(){
		e = this.title.replace('[A]','@');
		var mail_array = e.split('[+]');
		var mail = mail_array.join('') 
		this.href = 'mailto:' + mail;
		this.title = 'email';
		$(this).text(mail);
	});	
/*	
	$('.ad-gallery').adGallery({
		height : 370,
		width : 960,
		animate_first_image: false, // Should first image just be displayed, or animated in?
		animation_speed: 1500, // Which ever effect is used to switch images, how long should it take?
		display_next_and_prev: true, // Can you navigate by clicking on the left/right on the image?
		slideshow: {
			enable: true,
			autostart: true,
			speed: 5000
		},
		effect: 'fade', // 'slide-hori'or 'slide-vert', 'resize', 'fade', 'none' or false
		enable_keyboard_move: false, // Move to next/previous image with keyboard arrows?
		cycle: true // If set to false, you can't go from the last image to the first, and vice versa
	});
	
	$('.nav').find('a.active').parentsUntil('.nav > ul').filter('li').addClass('active');
*/	
});
