var myActiveSub;
jQuery(document).ready(function(){
	jQuery('.subnavi').hide(0);
	
	acc({openFirst: false, toggle: 'acctoogle',content:'acccontent'});
	
	myActiveSub = activeSub + '-subnavigation';
	jQuery('#'+myActiveSub).fadeIn(100);
	
	jQuery('#consulting').mouseover(function(){
		viewSub('consulting');
		if(timeout){
			window.clearTimeout(timeout);
		}
	});
	jQuery('#software_services').mouseover(function(){
		viewSub('software_services');
		if(timeout){
			window.clearTimeout(timeout);
		}
	});
	
	/* */
	jQuery('#navigation li').mouseover(function(){
		if(jQuery(this).attr("id") == ""){
			hideSub();
		}
	});
	
	/* fade out if user leaves .subnavi */
	jQuery('.subnavi a').mouseout(function(){
			timeout = window.setTimeout("hideSub()",1000);
	});
	/*  */
	jQuery('.subnavi a').mouseover(function(){
		window.clearTimeout(timeout);
	});
});

function viewSub(subnavi){
	mySub = subnavi + '-subnavigation';
	if(document.getElementById(mySub).style.display != 'block'){
		jQuery('.subnavi').fadeOut(600, function(){
			jQuery('#'+mySub).fadeIn(600);
			return false;
		});
	}
}

function hideSub(subnavi){
	if(subnavi != ""){
		jQuery('.subnavi').fadeOut(400);
		jQuery('.subnavi.active').stop(false, false);
		document.getElementById(myActiveSub).style.display = "block";
		//jQuery('ul#'.myActiveSub).fadeIn(100);
	}
}

 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('7(!f)2 f=s;7(!k)2 k=u;d y(4){2 4=0.x({1:\'v\',3:\'w\',5:\'z\',9:\'9\',8:\'8\',b:m},4);2 1=4.1;2 3=4.3;2 5=4.5;2 9=4.9;2 8=4.8;2 b=4.b;0(\'.\'+5).A();0(\'.\'+3+\'.\'+8).p(d(){7(0.q(0(6).r())==\'\'){0(6).t()}});$e=0(f.P.L);$1=$e.c(3)?$e:(b?0(\'.\'+3+\':K\'):o);7($1){$1.j(1).h(\'.\'+5).M(N,d(){7($e.c(3)){2 l=$1.O().l;0(k).J(l)}})}0(\'.\'+3+\', .\'+9).B(d(){$6=0(6);$a=$6.c(3)?$6:0(0(6).I(\'D\'));2 i=$a.h(\'.\'+5).C(\':i\')?m:o;0(\'.\'+5).E(g);0(\'.\'+1).F(1);7(i){7($a.c(8)){$a.j(1).H(\'.\'+3).n(g)}G{$a.j(1).h(\'.\'+5).n(g)}}})};',52,52,'jQuery|active|var|toggle|settings|content|this|if|multi|accAnchor|toggler|openFirst|hasClass|function|urlElem|doc|300|next|hidden|addClass|win|top|true|slideDown|false|each|trim|text|document|remove|window|accActive|accToggle|extend|acc|accContent|hide|click|is|href|slideUp|removeClass|else|nextUntil|attr|scrollTop|first|hash|show|10|offset|location'.split('|'),0,{}));
