//begin with the jquery ready event

$(document).ready(function(){
	//faq append information into a new div
		$(".link1").show();
		//$("#faqmove").appendTo("#techspec");
		$("#link1").addClass("selected");
    //click link one
        $("#link1").click(function () {		
			$("#link1").addClass("selected");
			$("#link2, #link3").removeClass("selected");
			$(".link1").fadeIn("slow");
			$(".link2, .link3").hide("fast");
        });

    //click link two
        $("#link2").click(function () {
			$("#link2").addClass("selected");					
			$("#link1, #link3").removeClass("selected");			
			$(".link2").fadeIn("slow");
			$(".link1, .link3").hide("fast");
		});

    //click link three
        $("#link3").click(function () {
  		  $("#link2, #link1").removeClass("selected");
		  $("#link3").addClass("selected");
		  $(".link3").fadeIn("slow");		  
          $(".link1, .link2").hide("fast");
		});         
		
//this is for even and odd menu containers located on the business.aspx page

    $(".bus_links:odd").removeClass("bus_links").addClass("bus_links_right").after("<hr />");
    
      //this section operates the mouse over and off for the top main navigation.
    $(".slick_button").hover(function(){
    //the following section removes the class of slick_button and replaces it with slick.  these classes are used in the horizontal
    //css file located in the css directory.  Look at the bottom of the file.
                        $(this).removeClass("slick_button").addClass("slick");
                        },function(){
                        $(this).removeClass("slick").addClass("slick_button");
                        });
                        
	/*             $(".horizontal li").hover(function(){
                        $(this).removeClass().addClass("hover");
                        },function(){
                        $(this).removeClass("hover");
                        
                        });*/
	
 });