$(window).resize(function() { 
    setFooter(); 
});

function setFooter()
{
	var marginTop;
	var contentHeight;
	
	var footerHeight = $('#footer-container').height();
	var headerHeight = ($('#header-container').height() + $('#header-image').height()) + 75;
	var browserHeight = $(window).height();
	
	if($('#faq-body-container').length){
		contentHeight = ($('#faq-body-container').height()) - 25;
		//alert("contentHeight: " + contentHeight);
	}
	else {
		contentHeight = $('#body-container').height();
		//alert("contentHeight: " + contentHeight);
	}
	var documentHeight = headerHeight + contentHeight + footerHeight;
	
	if(browserHeight >= documentHeight)
	{
		marginTop = browserHeight - documentHeight;
		$('#footer-container').css('margin-top', marginTop+'px');
	} 
}

$(document).ready(function(){
		//Fix Errors - http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/
	
	setFooter();
	//Remove outline from links
	$("a").click(function(){
		$(this).blur();
	});	
	
	//==============================================================================================================================================================================================
	
	//=============================================================================== HOME PAGE BUTTONS ============================================================================================
	
	$(".schedule-tour-btn").css('cursor','pointer');
	$(".schedule-tour-btn-small").css('cursor','pointer');
	$(".visit-gallery-btn").css('cursor','pointer');
	$(".view-all-btn").css('cursor','pointer');
	
	
	
	//When mouse is removed from view all btn
	$(".view-all-btn-itself").mouseover(function(){
		$(this).stop().animate({marginTop: "-20px"}, 1);
	});
	
	//When mouse is removed from view all btn
	$(".view-all-btn-itself").mouseout(function(){
		$(this).stop().animate({marginTop: "0px"}, 1);
	});	
	
	//When mouse is removed from visit gallery btn
	$(".visit-gallery-btn-itself").mouseover(function(){
		$(this).stop().animate({marginTop: "-20px"}, 1);
	});
	
	//When mouse is removed from visit gallery btn
	$(".visit-gallery-btn-itself").mouseout(function(){
		$(this).stop().animate({marginTop: "0px"}, 1);
	});	
	
	//When mouse is removed from schedule a tour btn
	$(".schedule-tour-btn-itself").mouseover(function(){
		$(this).stop().animate({marginTop: "-35px"}, 1);
	});
	
	//When mouse is removed from schedule a tour btn
	$(".schedule-tour-btn-itself").mouseout(function(){
		$(this).stop().animate({marginTop: "0px"}, 1);
	});	
	
	//When mouse is removed from small schedule a tour btn
	$(".schedule-tour-btn-small-itself").mouseover(function(){
		$(this).stop().animate({marginTop: "-18px"}, 1);
	});
	
	//When mouse is removed from small schedule a tour btn
	$(".schedule-tour-btn-small-itself").mouseout(function(){
		$(this).stop().animate({marginTop: "0px"}, 1);
	});	
	
	//===============================================================================================================================================================================================
	//=============================================================== Navigation Dropdown Menu ======================================================================================================
	
	//Initialize the rollovers. Make them go to height 0px.
	if ( $("#home").length > 0)
	{
		//$("#header-nav-icons > li").children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-about").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-news").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-schools").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-programs").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-admissions").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-support").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-gallery").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
		//When mouse is removed - home
		$("#header-nav-icons > li").mouseout(function(){
			$(this).children(".nav-rollover-home").stop().animate({height:'121px'},{queue:false, duration:300, easing: 'easeOutQuad'})
		});
		
	} else {
		$("#header-nav-icons > li").children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
			//When mouse rolls over - home
			$("#header-nav-icons > li").mouseover(function(){
				$(this).children(".nav-rollover-home").stop().animate({height:'121px'},{queue:false, duration:300, easing: 'easeOutQuad'}, function() {
			// Animation complete.
			display:"none"
				})
			});
			
			//When mouse is removed - home
			$("#header-nav-icons > li").mouseout(function(){
				$(this).children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:300, easing: 'easeOutQuad'}, function() {
			// Animation complete.
			display:"none"
				})
			});
	}
	
	if ( $("#about").length > 0)
	{
		$("#header-nav-icons > li").children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-about").stop().animate({height:'100px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-news").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-schools").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-programs").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-admissions").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-support").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-gallery").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseout(function(){
			$(this).children(".nav-rollover-about").stop().animate({height:'100px'},{queue:false, duration:500, easing: 'easeOutQuad'})
		});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseover(function(){
			$(this).children(".nav-rollover-about").stop().animate({height:'391px'},{queue:false, duration:500, easing: 'easeOutQuad'})
		});
		
	} else {
		$("#header-nav-icons > li").children(".nav-rollover-about").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
			//When mouse rolls over - about
			$("#header-nav-icons > li").mouseover(function(){
				$(this).children(".nav-rollover-about").stop().animate({height:'391px'},{queue:false, duration:500, easing: 'easeOutQuad'})
			});
			
			//When mouse is removed - about
			$("#header-nav-icons > li").mouseout(function(){
				$(this).children(".nav-rollover-about").stop().animate({height:'0px'},{queue:false, duration:500, easing: 'easeOutQuad'})
			});
	}
	
	if ( $("#news").length > 0)
	{
		$("#header-nav-icons > li").children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-about").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-news").stop().animate({height:'100px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-schools").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-programs").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-admissions").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-support").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-gallery").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseout(function(){
			$(this).children(".nav-rollover-news").stop().animate({height:'100px'},{queue:false, duration:350, easing: 'easeOutQuad'})
		});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseover(function(){
			$(this).children(".nav-rollover-news").stop().animate({height:'260px'},{queue:false, duration:350, easing: 'easeOutQuad'})
		});
		
	} else {
		$("#header-nav-icons > li").children(".nav-rollover-news").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
			//When mouse rolls over - about
			$("#header-nav-icons > li").mouseover(function(){
				$(this).children(".nav-rollover-news").stop().animate({height:'260px'},{queue:false, duration:350, easing: 'easeOutQuad'})
			});
			
			//When mouse is removed - about
			$("#header-nav-icons > li").mouseout(function(){
				$(this).children(".nav-rollover-news").stop().animate({height:'0px'},{queue:false, duration:350, easing: 'easeOutQuad'})
			});
	}
	
	if ( $("#schools").length > 0)
	{
		$("#header-nav-icons > li").children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-about").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-news").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-schools").stop().animate({height:'100px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-programs").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-admissions").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-support").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-gallery").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseout(function(){
			$(this).children(".nav-rollover-schools").stop().animate({height:'100px'},{queue:false, duration:350, easing: 'easeOutQuad'})
		});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseover(function(){
			$(this).children(".nav-rollover-schools").stop().animate({height:'295px'},{queue:false, duration:350, easing: 'easeOutQuad'})
		});
		
	} else {
		$("#header-nav-icons > li").children(".nav-rollover-schools").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
			//When mouse rolls over - about
			$("#header-nav-icons > li").mouseover(function(){
				$(this).children(".nav-rollover-schools").stop().animate({height:'295px'},{queue:false, duration:350, easing: 'easeOutQuad'})
			});
			
			//When mouse is removed - about
			$("#header-nav-icons > li").mouseout(function(){
				$(this).children(".nav-rollover-schools").stop().animate({height:'0px'},{queue:false, duration:350, easing: 'easeOutQuad'})
			});
	}
	
	if ( $("#programs").length > 0)
	{
		$("#header-nav-icons > li").children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-about").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-news").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-schools").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-programs").stop().animate({height:'100px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-admissions").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-support").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-gallery").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseout(function(){
			$(this).children(".nav-rollover-programs").stop().animate({height:'100px'},{queue:false, duration:500, easing: 'easeOutQuad'})
		});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseover(function(){
			$(this).children(".nav-rollover-programs").stop().animate({height:'403px'},{queue:false, duration:500, easing: 'easeOutQuad'})
		});
		
	} else {
		$("#header-nav-icons > li").children(".nav-rollover-programs").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
			//When mouse rolls over - about
			$("#header-nav-icons > li").mouseover(function(){
				$(this).children(".nav-rollover-programs").stop().animate({height:'403px'},{queue:false, duration:500, easing: 'easeOutQuad'})
			});
			
			//When mouse is removed - about
			$("#header-nav-icons > li").mouseout(function(){
				$(this).children(".nav-rollover-programs").stop().animate({height:'0px'},{queue:false, duration:500, easing: 'easeOutQuad'})
			});
	}
	
	if ( $("#admissions").length > 0)
	{
		$("#header-nav-icons > li").children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-about").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-news").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-schools").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-programs").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-admissions").stop().animate({height:'100px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-support").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-gallery").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseout(function(){
			$(this).children(".nav-rollover-admissions").stop().animate({height:'100px'},{queue:false, duration:350, easing: 'easeOutQuad'})
		});
		
		//When mouse is removed - about
		$("#header-nav-icons > li").mouseover(function(){
			$(this).children(".nav-rollover-admissions").stop().animate({height:'285px'},{queue:false, duration:350, easing: 'easeOutQuad'})
		});
		
	} else {
		$("#header-nav-icons > li").children(".nav-rollover-admissions").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
			//When mouse rolls over - about
			$("#header-nav-icons > li").mouseover(function(){
				$(this).children(".nav-rollover-admissions").stop().animate({height:'285px'},{queue:false, duration:350, easing: 'easeOutQuad'})
			});
			
			//When mouse is removed - about
			$("#header-nav-icons > li").mouseout(function(){
				$(this).children(".nav-rollover-admissions").stop().animate({height:'0px'},{queue:false, duration:350, easing: 'easeOutQuad'})
			});
	}
	
	if ( $("#support").length > 0)
	{
		$("#header-nav-icons > li").children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-about").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-news").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-schools").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-programs").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-admissions").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-support").stop().animate({height:'100px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-gallery").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
		//When mouse is removed - support
		$("#header-nav-icons > li").mouseout(function(){
			$(this).children(".nav-rollover-support").stop().animate({height:'100px'},{queue:false, duration:400, easing: 'easeOutQuad'})
		});
		
		//When mouse is removed - support
		$("#header-nav-icons > li").mouseover(function(){
			$(this).children(".nav-rollover-support").stop().animate({height:'325px'},{queue:false, duration:400, easing: 'easeOutQuad'})
		});
		
	} else {
		$("#header-nav-icons > li").children(".nav-rollover-support").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
			//When mouse rolls over - support
			$("#header-nav-icons > li").mouseover(function(){
				$(this).children(".nav-rollover-support").stop().animate({height:'325px'},{queue:false, duration:400, easing: 'easeOutQuad'})
			});
			
			//When mouse is removed - support
			$("#header-nav-icons > li").mouseout(function(){
				$(this).children(".nav-rollover-support").stop().animate({height:'0px'},{queue:false, duration:400, easing: 'easeOutQuad'})
			});
	}
	
	if ( $("#gallery").length > 0)
	{
		$("#header-nav-icons > li").children(".nav-rollover-home").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-about").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-news").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-schools").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-programs").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-admissions").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-support").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		$("#header-nav-icons > li").children(".nav-rollover-gallery").stop().animate({height:'100px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
		//When mouse is removed - support
		$("#header-nav-icons > li").mouseout(function(){
			$(this).children(".nav-rollover-gallery").stop().animate({height:'100px'},{queue:false, duration:350, easing: 'easeOutQuad'})
		});
		
		//When mouse is removed - support
		$("#header-nav-icons > li").mouseover(function(){
			$(this).children(".nav-rollover-gallery").stop().animate({height:'230px'},{queue:false, duration:350, easing: 'easeOutQuad'})
		});
		
	} else {
		$("#header-nav-icons > li").children(".nav-rollover-gallery").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutQuad'});
		
			//When mouse rolls over - support
			$("#header-nav-icons > li").mouseover(function(){
				$(this).children(".nav-rollover-gallery").stop().animate({height:'230px'},{queue:false, duration:350, easing: 'easeOutQuad'})
			});
			
			//When mouse is removed - support
			$("#header-nav-icons > li").mouseout(function(){
				$(this).children(".nav-rollover-gallery").stop().animate({height:'0px'},{queue:false, duration:350, easing: 'easeOutQuad'})
			});
	}
	
	
	//Make the cursor a hand.
	$(".nav-menu > li").css('cursor','pointer');
	
	
	//When mouse rolls over entire menu
	$(".nav-menu > li").mouseover(function(){
		if($(this).children('div').stop().hasClass('menu-rollouts-single'))
		{
			$(this).children('div').stop().removeClass('menu-rollouts-single').addClass('menu-rollouts-single-active');
		} else {
			$(this).children('div').stop().removeClass('menu-rollouts-double').addClass('menu-rollouts-double-active');
		}
	});
	
	//When mouse is removed from menu
	$(".nav-menu > li").mouseout(function(){
		if($(this).children('div').stop().hasClass('menu-rollouts-single-active'))
		{
			$(this).children('div').stop().removeClass('menu-rollouts-single-active').addClass('menu-rollouts-single');
		} else {
			$(this).children('div').stop().removeClass('menu-rollouts-double-active').addClass('menu-rollouts-double');
		}
	});	
		
	
	//====================================================================== COllapsing FAQ page ==================================================================
	
	//expand all or hide all options
	//$('#tools a.expand').click(function() { $('.reveal .content').slideDown('slow'); $('.reveal .header a').addClass('active'); });
	//$('#tools a.hide').click(function() { $('.reveal .content').slideUp('slow'); $('.reveal .header a').removeClass('active'); });
	//individual header click toggle
	$('.reveal .header a').click(function(){
		//collapse and remove active class, if the div is opened it will close
		var activeHeader = $(this).hasClass('active');
		$(this).removeClass('active').parent('div').next('.content').slideUp('slow');
		
		if(activeHeader==0)
		{ 
		$(this).addClass('active').parent('div').next('.content').slideDown('slow');
		$(this).children('.question-carrot-container').children('.question-carrot').animate({marginTop: "-7px"}, 1);
		$(this).children('.faculty-plus-container').children('.faculty-plus').animate({marginTop: "-13px"}, 1);
		//$('.question-carrot-itself').animate({marginTop: "-7px"}, 1);
		} else {
			$(this).children('.question-carrot-container').children('.question-carrot').animate({marginTop: "0px"}, 1);
			$(this).children('.faculty-plus-container').children('.faculty-plus').animate({marginTop: "0px"}, 1);
		}
		
	});
	
	
	//This is for the contact us colorbox.
	if($('.contact-us').length)
	{
        $(".contact-us").colorbox({iframe:true, innerWidth:500, innerHeight:236});
	}
	
	$(".contact-us").click(function(){
		$(".contact-us").colorbox.close()
	});
	
	if($('.footer-nav-tour').length)
	{
        $(".footer-nav-tour").colorbox({iframe:true, innerWidth:500, innerHeight:236});
	}
	
	$(".footer-nav-tour").click(function(){
		$(".footer-nav-tour").colorbox.close()
	});
	
	
	
	
	
	
});
