		$(document).ready(function() {
			//Activate FancyBox
			
			$("a#custom_2, a#custom_3, a#msubscribe, a#mlisten, a#mshownotes, a#msponsors, a#mabout, a#mlinks, a#mcontact, #mrss").fancybox({
				'zoomSpeedIn':	0, 
				'zoomSpeedOut':	0,
				'frameWidth': 650,
				'frameHeight': 600,
			});
			
			
var target = window.location.href.split('#')[1];
if (target == 'subscribe') { $('a#msubscribe').click(); }
if (target == 'listen') { $('a#mlisten').click(); }
if (target == 'shownotes') { $('a#mshownotes').click(); }
if (target == 'sponsors') { $('a#msponsors').click(); }
if (target == 'about') { $('a#mabout').click(); }
if (target == 'links') { $('a#mlinks').click(); }
if (target == 'contact') { $('a#mcontact').click(); }
if (target == 'rss') { $('a#mrss').click(); }
$("a#"+window.location.href.split('#')[1]).click();
			
			//Some lines for this page
			$("div#donate").bind("click", function() {
				$("#donate_form").submit()
			});
			
			$("#comment_form").attr("action", "/fancy/add_comment"); $("#age").val('fancy'); //die spamers, die...
		});

		//List can contain mixed media too
		//Parameter "o" ir optional and used to override settings, example: {url: "http://www.google.com", title: false,  o: {'frameWidth': 200} }
		var imageList = [
			{url: "/img/examples/6_b.jpg", title: "First image"},
			{url: "/img/examples/7_b.jpg", title: "Second image"},
			{url: "/img/examples/8_b.jpg", title: "Third image"}
		];
		
		function getGroupItems(opts) {
			jQuery.each(imageList, function(i, val) {
		        opts.itemArray.push(val);
		    });
		}
		
		
jQuery(document).ready(function($){
$('#mshownotes').attr('href', '#shownotes');
});
