
		$(document).ready(
		
			function() {
				
				/////////// create links in ordered list from text function
/* $(".linkmeup li").wrapInner(function() {
	  var src = $(this).text();
  return '<a href="' + 'http://' + src + '" />';
});
*/

$(".widewide a").fancybox({
		'width'				: '100%',
		'height'			: '100%',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
		       
		'type'				: 'iframe'
			
	});

			
			$(".video a, .tightgeneric").click(function() {
		$.fancybox({
			'padding'		: 0,
			'autoScale'		: false,
			'transitionIn'  : 'elastic',
            'transitionOut' : 'elastic',
			'speedIn' : 100,
        	'speedOut' : 50,

			'title'			: this.title,
			'width'			: 740,
			'height'		: 485,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			'wmode'				: 'transparent',
			'allowfullscreen'	: 'true'
			}
		});

		return false;
	});
			
			$("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({
    
});

	
	
			
			$("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'
			
	});
	
	
	$("a.narrow").fancybox({
		'width'				: '70%',
		'height'			: '100%',
        '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'
			
	});
	
	
        $("#life").fancybox({

			'width'				: '100%',
		'height'			: '100%',
        'autoScale'     	: false,
		'overlayColor'      : '#333333',
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	false,
		'padding'			: 7,
			
       
		'type'				: 'iframe'
			
 });

$('#life').trigger('click');

	});



 


$(document).ready(
    function()
    {
            $("#showme").click(function() {
                $("#happy").toggle("slow");
				
            });
			
		 $("#showme2").click(function() {
                
				$("#slavery").toggle("slow");
            });	
			
			
			
			
			
	 $(".thumbs img").fadeTo("slow", 0.6); // This sets the opacity of the thumbs to fade down to 60% when the page loads

$(".thumbs img").hover(function(){
$(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo("slow", 0.6); // This should set the opacity back to 60% on mouseout
});

$('.slidemenu a, .not(.generic)[href^="http://"]')
  .attr("target", "_blank");

/////////// Ending Brace		
});
 
