$(document).ready(function(){  

 
    $(".h_menu li").click(function() { //When trigger is clicked...  
        //Following events are applied to the submenu itself (moving submenu up and down)  
        $(this).children("ul .submenu").slideDown('fast').show(); //Drop down the submenu on click  
	});
  
  $("ul .submenu").hover(function() { //do nothing on hover in

        }, function(){  
		            $("ul .submenu").slideUp('slow'); //When the mouse hovers out of the submenu, move it back up  
        });  
  //
   //     }).hover(function() {  
  //          $(this).addClass("subhover"); //On hover over, add class "subhover"  
 //       }, function(){  //On Hover Out  
   //         $(this).removeClass("subhover"); //On hover out, remove class "subhover"  
	
	
        $('.h_menu li').bind("mouseover", function(){
           var bg_color  = $(this).css("background-color");
		   var txt_color=$(this).find("a").css("color");
		
            $(this).css("background", "#f76e17");
			$(this).children("a").css("color","#FFF");

            $(this).bind("mouseout", function(){
                $(this).css("background", bg_color);
				$(this).children("a").css("color",txt_color);
            })    
        });
		
		
$(function(){
	
  $(".right_menu li").click(function(){
var clicked = $(this); 
//bold out all list items
$(".right_menu li").children().css("font-weight","normal");

//style the one that is selected	  
	clicked.children().css("font-weight","bold");
//hide all other divs
    $(".scontent").hide();
	var divid=$(this).attr("class");
//show the right div
    $('#'+divid).show();
  });
    $(".right_menu li:first").click();
});

//function for getting url parameters

});



	


