$(document).ready(function() {

	var currentSlide = {};
	currentSlide.id = "";
	
	
	$("#firstpane div.menu_head").click(function()
    {
        sendGoogle($(this).attr("id"));




	$(this).siblings().css({backgroundImage:"url(/Includes/Images/home_content/bg_arrow_blue_right.jpg)"});        
        $(this).css({backgroundImage:"url(/Includes/Images/home_content/bg_arrow_blue_down.jpg)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");

	if (currentSlide.id == $(this).attr("id"))
	{
		$(this).css({backgroundImage:"url(/Includes/Images/home_content/bg_arrow_blue_right.jpg)"});
		currentSlide.id = "";
	}
	else
	{
		currentSlide.id = $(this).attr("id");
	}
        
       
    });
    
    
    function sendGoogle(inID)
    {
        if( inID.indexOf("accordian") != -1)
        {
            _gaq.push([inID, 'click']);
        }
    }
    


});



