$(function() {
    //$(".submenuItem:eq(5)").css("width","165px");
    
    $('.topMenu').hover(function() {
        $(this).css('background-image', $(this).css('background-image').replace('.gif', 'Over.gif'));
    }, function() {
        $(this).css('background-image', $(this).css('background-image').replace('Over.gif', '.gif'));
    });

    $(".jqueryslidemenu>ul>li>a:not('.homeMenu')").addClass("menuChild");
    jqueryslidemenu.buildmenu("myslidemenu");

    $("#weatherData").load("../../weather.ashx");
    $("#waterData").load("../../water.ashx");
});

function goUrl(url) {
    location.href = "htt" + "p://" + "www.iacm.gov.mo" + url;
}

function clickButton(e, buttonid){ 

      var evt = e ? e : window.event;

      var bt = document.getElementById(buttonid);

      if (bt){ 

          if (evt.keyCode == 13){ 

                bt.click(); 

                return false; 

          } 

      } 
	}
