// JavaScript Document

// Highlight current navigation
//$(document).ready(function(){
//	jQuery(function($) {
//	  var path = location.pathname.substring(1);
//	  $('.LeftMenu a[@href$="' + path + '"]').addClass('current');
//	});
//});


$(document).ready(function(){
	$(".LeftMenu").find("a[href='"+window.location.href+"']").each(function(){
		$(this).addClass("current")
		//add your own logic here if needed
	})

	$(".homefeature").hover(function() {
		$(this).find(".inside").slideToggle("slow");
	}, function() {
		$(this).find(".inside").slideToggle("normal");
	});
	
	$("#newsticker").newsticker();
	
	$(".LeftSideMenuHeadlineExpand").hover(function() {
		$(this).addClass("h3hover");
	}, function() {
		$(this).removeClass("h3hover");
	});
	
	$(".LeftSideMenuHeadlineExpand").click(function() {
		$(this).next("#currentnav").slideToggle("slow");
	}, function() {
		$(this).next("#currentnav").slideToggle("normal");
	});
	
	$("#flashpopup").fancybox({
		'hideOnContentClick': false
	});
	
});