
	
	
var email_signature = "";


// JavaScript Document
$(document).ready(function() {
						   
	//---------------- top nav tabs--------------------------					   
	$("#top_nav1").hover(
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_selected");
		showsubnav('how_to_give_subnav');
	 },
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_notselected");
		hidesubnav('how_to_give_subnav');
	  }
    );
	
	$("#top_nav1").click(
		function () {
			window.location = "http://www.lmu.edu/Page37679.aspx";
		}
	);					 
	
	$("#top_nav2").hover(
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_selected");
		showsubnav('annual_giving_subnav');
      },
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_notselected");
		hidesubnav('annual_giving_subnav');
      }
    );
	
	$("#top_nav2").click(
		function () {
			window.location = "http://www.lmu.edu/Page37667.aspx";
		}
	);		
	
	$("#top_nav3").hover(
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_selected");
		showsubnav('gift_planning_subnav');
      },
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_notselected");
		hidesubnav('gift_planning_subnav');
      }
    );
	
	$("#top_nav3").click(
		function () {
			window.location = "http://www.plan.gs/Home.do?orgId=680";
		}
	);		
	
	$("#top_nav4").hover(
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_selected");
		showsubnav('lmu_campaign_subnav');
      },
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_notselected");
		hidesubnav('lmu_campaign_subnav');
      }
    );
	
	$("#top_nav4").click(
		function () {
			window.location = "http://www.lmu.edu/Page37662.aspx";
		}
	);		
	
	$("#top_nav5").hover(
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_selected");
		showsubnav('question_contact_subnav');
      },
      function () {
        $(this).removeClass();
		$(this).addClass("top_navigation_notselected");
		hidesubnav('question_contact_subnav');
      }
    );
	
	$("#top_nav5").click(
		function () {
			window.location = "http://www.lmu.edu/Page37685.aspx";
		}
	);		
	
	
	
	
});// end doc ready



function showsubnav(id)
{
	
	document.getElementById(id).className = "subnav_show_"+id;	
	/*document.getElementById(id +'_link').className = "mouseover"; */
}
//end of function

function hidesubnav(id)
{
	document.getElementById(id).className = "subnav_noshow";	
	/*document.getElementById(id +'_link').className = "";*/
}
//end of function


