
		$(document).ready(
		
		function() {
			
			$("a.inline1").fancybox({
		'width'				: '75%',
		'height'			: '100%',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
		'hideOnContentClick': true
	});
	
	$("a.please").fancybox({
    
});

	
	
	 /* This is a non-obtrustive method for youtube videos*/

            $("a[rel=fancyvid]").fancybox({
                overlayShow: true,
                frameWidth:640,
                frameHeight:360
            });

			
			$("a.inline2").fancybox({
				'titlePosition'		: 'inside',
				'overlayColor'      : '#333333',
				'transitionIn'	:	'elastic',
				'transitionOut'	:	'elastic',
				'speedIn'		:	600, 
				'speedOut'		:	200, 
				'overlayShow'	:	true,
				
				'autoScale'			: true,
				
				'overlayOpacity'	: .7
			});

			$("a.inline3").fancybox();

			$("#iframe").fancybox({
		'width'				: '75%',
		'height'			: '100%',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
       
		'type'				: 'iframe'
			
	});
	
	
	$("span.reftext a").fancybox({
		'width'				: '100%',
		'height'			: '100%',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
       
		'type'				: 'iframe'
			
	});
	
	
	$("a.generic").fancybox({
		'width'				: '100%',
		'height'			: '100%',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
       
		'type'				: 'iframe'
			
	});
	
	$("#medpop1").fancybox({
		'autoDimensions'    : false,
		'width'				: 653,
		'height'			: 416,
		'scrolling'   		: 'no',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
		'hideOnContentClick': true
     
	
			
	});
	
	$("#medpop3").fancybox({
		'autoDimensions'    : false,
		'width'				: 650,
		'height'			: 400,
		'scrolling'   		: 'no',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
		'hideOnContentClick': true
     
		
			
	});
	
	
	$("a.narrow").fancybox({
		'width'				: '70%',
		'height'			: '100%',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
       
		'type'				: 'iframe'
			
	});
	
	 
	
	$("#medpop2").fancybox({
		'width'				: 700,
		'height'			: '80%',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
       
		'type'				: 'iframe'
			
	});
	
	$("a.medium").fancybox({
		'width'				: '85%',
		'height'			: '100%',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
       
		'type'				: 'iframe'
			
	});
	
	
		});
		


/*		
jQuery(document).ready(function() {
    $("#medpop3").trigger('click');
});

*/



/* Jquery Simple Show / Hide */

$(document).ready(
    function()
    {
            $("#showme").click(function() {
                $("#happy").toggle("slow");
				
            });
			
		 $(".showme2").hover(function() {
                
				$(".slavery").toggle("slow");
            });	
			
			 $(".showme3").click(function() {
                $(".happy3").toggle("slow");
				
            });
			
			
			
});


 /* 
 
 $(document).ready(function(){
 
	// TOGGLE SCRIPT
	$(".hide").hide();
 
	$("a.toggle").click(function(event){
		$(this).parents(".article").find(".hide").toggle("normal");
 
		// Stop the link click from doing its normal thing
		return false;
	}); // END TOGGLE
 
   }); // END ready function
   
   */


// Angel Blast Next Div with Close Button!!!!

$(document).ready(function() {


$('a.showpapa').click(function() {

$(".target1").toggle('slow', function() {
	
	$('.target1').animate(
    {opacity:1.0},
    500,
    function() {
        $(this).css('filter','');
    }
);

   
});




//$(".target1").removeAttr('filter'); 

//$(this).parent("div").hide('slow');
 

 
 
return false;

});
});


/*
$(document).ready(function() {  ///brace 1



////

$(document).click(function() {   ///brace 3
///

if( $(".target1").is(":visible") ) {   ///brace 2		


$(".target1").hide('slow');
$.scrollTo( '#biblelinks', 2000, {easing:'elasout'} );


		}   ///brace 2


///

else {   //// else brace1


$('.target1, a, .showpapa, .reftext').click(function(e) {
  e.stopPropagation();
});


 
 }  ////else brace 1


				});    ///brace 3
				
				



///
 
						});  ///brace 1

////
*/

//Add Class to Outbound Links
/*$(document).ready(function() {
            $('#tex a').addClass('generic');
        });
*/


/*$('#node').fadeOut('slow', function() {
   this.style.removeAttribute('filter');
});*/

// The function above removes filter attribute to fix IE fadeout but


//Below I've added the IE fix fade function to my previous simple one line code


/*$(this).parent().next('.showpapa').toggle('slow', function() {
   this.style.removeAttribute('filter');
});*/





// $(this).parent().next('.showpapa').toggle('slow'); //This WORKS!!!!


/*$(this).parent().parent('.showpapa').toggle('slow');*/

// return false so any link destination is not followed


// Angel Blast Next Div with Close Button!!!! end




