// JavaScript Document
$(document).ready(function() {
    $("#menu li a:not(.selected)").hover(
      function () {

		$(this).css({'opacity':'0.60','-moz-opacity':'0.60','filter':'alpha(opacity=60)'});
		//$(this).animate({'opacity':'0.60','-moz-opacity':'0.60','filter':'alpha(opacity=60)'}, 500);

      }, 
      function () {
		$(this).css({'opacity':'1.0','-moz-opacity':'1.0','filter':'alpha(opacity=100)'});
		
      
      }
    );
	$("#menu li ul.sub-level.expand ").show();

	$("#menu li.has-sub ").hover(
      function () {
		//$(this).children(".sub-level").fadeIn("slow");
		$(this).children(".sub-level").toggle("fast");;
		
      }, 
      function () {
		//$(this).children(".sub-level").fadeOut("slow");
		$(this).children(".sub-level").toggle("fast");;
      
      }
    );
	/*
	if ($.browser.safari && $.browser.version.substr(0,3)<"526") {
	   alert("This site is best viewed with Mozilla Firefox 2.0 or later and Safari 4.0 or later.");
	}
	*/

/* for IE */
//  filter:alpha(opacity=60);
  /* CSS3 standard */
 // opacity:0.6;

});