$(document).ready(function(){	
//	$.easy.navigation();
	$.easy.tooltip();
	$.easy.popup();
	$.easy.external();
	$.easy.rotate();
	$.easy.forms();
	$.easy.showhide();
	$.easy.jump();

	
//font replacement	
		Cufon.replace('h2',{
			separate: 'none',
			fontFamily: 'Berthold-Bold'
		});
		Cufon.replace('#tab a',{
			separate: 'none',
			textShadow: '0px 1px  #332602',
			hover: {
				color:'#d4891c'
			}
		});

// image showdows for IE
	function imgGlow(x,y,z){
		$(x).wrap('<div class="'+y+'" />').removeClass(y).boxShadow( 0,  0, 5, z);
	}
	if ($.browser.msie) {
		imgGlow(".glow1.left", "left", "#cbcac0");
		imgGlow(".glow2.left", "left", "#999999");
		imgGlow(".glow1.right", "right", "#cbcac0");
		imgGlow(".glow2.right", "right", "#999999");
	}
	
// Animate mountain background
	function mtnAnimate(){	
		$('#mtn1').animate({backgroundPosition: '(-3200px bottom)'}, 110000,function(){
			$('#mtn1').css({backgroundPosition: 'bottom left'});
			return $('#mtn1').css('background-position');
		});
   		$('#mtn2').animate({backgroundPosition: '(-3200px bottom)'}, 90000,function(){
			$('#mtn2').css({backgroundPosition: 'bottom left'});
			return $('#mtn2').css('background-position');
		});	
	}
	
	mtnAnimate();

	
});