jQuery.noConflict();
jQuery(function ($){

$('#mainMenu li').hover(
  function(){
    $(this).children('.submenu1').show();
    $(this).css('z-index','10');
  },
  function(){
    $(this).children('.submenu1').hide();
    $(this).css('z-index','0');
  }
)
/*
  var beforeText = $("#article").html();
  var beforeHeading = $(".h1content h1").html();

  $("#mainMenu li").hover(function() {
  	isActive = $(this).children("a").hasClass("active");
		if(!isActive) {
			$(this).addClass("hover");
	    $.ajax({
	     type: "GET",
	     url: "/ajaxtest/?param="+$(this).children('a').attr('rel'),
	     dataType: "json",
	     success: function(c){
	   	   $("#article").html(c.text);
	   	   $(".h1content h1").html(c.heading);
	    }
	   })
   }
  },
  function(){
    $(this).removeClass("hover");
    $("#article").html(beforeText);
    $(".h1content h1").html(beforeHeading);
  });
*/

});
