/*function swap(){this.className="msieFix";jQuery('li.active ul').hide();}
function swapBack(){this.className="trigger";jQuery('li.active ul').show();}
function swapfocus() {this.parentNode.parentNode.parentNode.className="msieFix"}
function swapblur() {this.parentNode.parentNode.parentNode.className="trigger"}
function TJK_dropDown(){// v1.0 Copyright (c) 2006 TJKDesign - Thierry Koblentz
	if (document.getElementById){	
	var LI = document.getElementsByTagName("li");
	var zLI= LI.length;
		for(var k=0;k<zLI;k++){
			if(LI[k].id){
//			LI[k].firstChild.href="#";
			LI[k].className="trigger";
			}
			if(LI[k].parentNode.parentNode.className=="trigger"){LI[k].firstChild.onfocus=swapfocus;LI[k].firstChild.onblur = swapblur}
			if(LI[k].className=="trigger"){LI[k].onmouseover=swap;LI[k].onmouseout=swapBack}
		}
	}
}
window.onload=function(){TJK_dropDown();}
*/
jQuery(document).ready(function() {
	jQuery('.main-menu>li').hover(
  		function () {
			jQuery('.main-menu li.active ul').hide();
			jQuery('ul',this).show();
  		},
  		function () {
  			jQuery(this).removeClass('focus');
			jQuery('ul',this).hide();
			jQuery('.main-menu>li.active ul').show();
  		}
	);
	jQuery('.main-menu li').hover(
  		function () {
    			jQuery(this).addClass('focus');
  		},
  		function () {
  			jQuery(this).removeClass('focus');
  		}
	);
});


