var analytics_code = false;
var _gaq = _gaq || [];
_gaq.push(['_setAccount', analytics_code]);
_gaq.push(['_trackPageview']);
$(document).ready(function() {
/* $("a.image_gallery").fancybox({
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'speedIn' : 600,
'speedOut' : 200,
'overlayShow' : true
});
$("a.java_buttons").fancybox({
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'speedIn' : 600,
'speedOut' : 200,
'overlayShow' : true
});
*/
				$(document).ready(function(){

				$("#mainnav").find("ul").find("li:first").addClass("first");
				$("#mainnav").find("ul").find("li").find("ul").find("li:first").removeClass("first");
				});


				Cufon.replace('#mainnav, h6', {hover: true, fontFamily: 'georgia' });
				Cufon.replace('h1,h2,h3,h4,h5', {fontFamily: 'eurostile' });

				$('#cycle').cycle({
				fx: 'scrollHorz',
				speed: 'slow',
				timeout: 5000,
				next: '#next',
				prev: '#prev',
				easing: 'easeInQuart'
				});
				
				$('#cycle_atlantis').cycle({
				fx: 'fade',
				speed: 'slow',
				timeout: 5000,
				next: '#next',
				prev: '#prev',
				easing: 'easeInQuart'
				});
				
				$('#mainnav').children("ul").children("li").each(function(){
				$(this).children("ul").children("li").each(function(){
				var children = $(this).children("ul");
					
				if(children.length > 0){
					$(this).addClass("arr2");
					$(children).children("li").each(function(){
					var children2 = $(this).children("ul");
					if(children2.length > 0){
					$(this).addClass("arr2");
				}
/* new code */
					$(children2).children("li").each(function(){
					var children3 = $(this).children("ul");
					if(children3.length > 0){
					$(this).addClass("arr2");
				}
					});
/**/
						});
							}
								});
									});
										$('#mainvertnav').children("ul").children("li").each(function(){
											$(this).children("ul").children("li").each(function(){
												var children = $(this).children("ul");
													if(children.length > 0){
														$(this).addClass("arr2");
														$(children).children("li").each(function(){
																var children2 = $(this).children("ul");
																if(children2.length > 0){
																	$(this).addClass("arr2");
																}
														});
											}
										});
					});
					$(".arr2").live("mouseover", function(){
						$(this).removeClass();
						$(this).addClass("arr");
					});
					$(".arr").live("mouseout", function(){
						$(this).removeClass();
						$(this).addClass("arr2");
					});
				});

