// all scripts at the bottom of the page should be added here

/*	this is to add class on "a" w/ submenu for p7mon support
	just change #main-menu to whatever parent class or id of the p7menu
	Revome script if not using p7menu
	Revome script if using p7 tab menu*/
jQuery("#main-menu ul li:has(ul) > a").addClass("p7PMtrg");
jQuery(".sidebar-menu li a").each(function(){
var cur_url = window.location.pathname;
if(jQuery(this).attr("href") == cur_url){
jQuery(this).parent("li").addClass("selected");
}

});


$(document).ready(function() {
	$("#various1").fancybox({
		'titlePosition'		: 'inside',
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
});
