// JavaScript Document

var $popup = jQuery.noConflict();   
        
     // Use jQuery via $j(...)   
     $popup(document).ready(function(){   
       $popup(".someclass").hide();   
     }); 

		$popup(document).ready(function() {
			/*
			*   Examples - images
			*/

			$popup("a#enkelefoto").fancybox({
				'titleShow'		: false
			});

			$popup("a#example2").fancybox({
				'titleShow'		: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic'
			});

			$popup("a#example3").fancybox({
				'titleShow'		: false,
				'transitionIn'	: 'none',
				'transitionOut'	: 'none'
			});

			$popup("a#example4").fancybox();

			$popup("a#example5").fancybox({
				'titlePosition'	: 'inside'
			});

			$popup("a#example6").fancybox({
				'titlePosition'	: 'over'
			});

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

			/*
			*   Examples - various
			*/

			$popup("#various1").fancybox({
				'titlePosition'		: 'inside',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});

			$popup("#various2").fancybox();

			$popup("#popup").fancybox({
				'width'				: '75%',
				'height'			: '75%',
				'autoScale'			: true,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$popup("#popup1").fancybox({
				'width'				: '75%',
				'height'			: '75%',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

			$popup(".popup1").fancybox({
				'width'				: '75%',
				'height'			: '75%',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".popupfolders").fancybox({
				'width'				: '75%',
				'height'			: '100%',
				'autoScale'			: true,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".popupmap").fancybox({
				'width'				: '90%',
				'height'			: '90%',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".popup").fancybox({
				'width'				: 800,
				'height'			: 600,
				'autoDimensions'		: true, 
				'autoScale'			: false,
				'transitionIn'			: 'none',
				'transitionOut'			: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".popupafspraak").fancybox({
				'width'				: 800,
				'height'			: 750,
				'autoDimensions'		: true, 
				'autoScale'			: false,
				'transitionIn'			: 'none',
				'transitionOut'			: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".popupregistratie").fancybox({
				'width'				: 800,
				'height'			: 750,
				'autoDimensions'		: true, 
				'autoScale'			: false,
				'transitionIn'			: 'none',
				'transitionOut'			: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".loginpop").fancybox({
				'width'				: 726,
				'height'			: 370,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".garantiepop").fancybox({
				'width'				: 725,
				'height'			: 605,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".accountpop").fancybox({
				'width'				: 726,
				'height'			: 450,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".popupnorm").fancybox({
				'width'				: 580,
				'height'			: 600,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$popup(".popupofferte").fancybox({
				'width'				: 450,
				'height'			: 600,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

			$popup("#various4").fancybox({
				'padding'			: 0,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});
			
			$popup(".popup_tunal").fancybox({
				'width'				: '90%',
				'height'			: '90%',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			$popup(".popup_aanvragen").fancybox({
				'width'				: 750,
				'height'			: '90%',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			$popup(".popup_bedrijfsfilm").fancybox({
				'width'				: 640,
				'height'			: 360,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

		});


