function initPage() {
										
	// LOGIN LINK
	jQuery(".page-item-21 a").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'autoScale'     	: false,
		'type'				: 'iframe',
		'width'				: 310,
		'height'			: 250,
		'scrolling'   		: 'no',
		'overlayOpacity'	: 0.8,
		'overlayColor'		: '#222',
		'padding'			: 10,
		'titleShow'			: false
	});


	jQuery("a.register_link").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'autoScale'     	: false,
		'type'				: 'iframe',
		'width'				: 700,
		'height'			: 700,
		'scrolling'   		: 'no',
		'overlayOpacity'	: 0.8,
		'overlayColor'		: '#222',
		'padding'			: 10,
		'titleShow'			: false
	});

	// CONTACT FORM HOVER
	jQuery("#submit_button").hover(
		function () {
			jQuery(this).attr('src', template_url+'/images/buttons/contact_form_send_now_hover.png');
		}, 
		function () {
			jQuery(this).attr('src', template_url+'/images/buttons/contact_form_send_now.png');
		}
	);

	// Music page category hover
	jQuery(".category_image_list img").hover(
		function () {
			jQuery(this).attr('src', jQuery(this).attr('rel'));
		}, 
		function () {
			jQuery(this).attr('src', jQuery(this).attr('title'));
		}
	);

	setupChildNav();

}

function setupChildNav() {
//	var pul = jQuery("#sidebar_container div > ul");
	var plinks = jQuery("#sidebar_container div > ul > li > a");
	jQuery.each(plinks, function(idx, node) {
		var li = node.parentNode;
		if(li.getElementsByTagName("ul").length > 0) {
			var arrow = document.createElement("span");
			arrow.innerHTML = (li.className.indexOf("current_page_") == -1) ? "&#x25ba;" : "&#x25bc;";
			/*
			var listen = function(evt) {
				return toggleChildNav(idx);
			}
			if(window.addEventListener) {
				node.addEventListener('click', listen, true);
			}
			else {
				node.attachEvent('onclick', listen);
			}
			*/
			node.appendChild(arrow);
		}
	});
}

function toggleChildNav(idx) {
	alert(idx);
	return false;
}

