

/* Script to display shadow around flyout boxes */
/*
$('#EmailFlyout').shadow({ color: "#444", offset: 5, opacity: 0.2 });
$('#LinkFlyout').shadow({ color: "#444", offset: 5, opacity: 0.2 });
$('#SigmaFlyout').shadow({ color: "#444", offset: 5, opacity: 0.2 });
*/

/* Scripts to control navigation rollover effect */




if(active == 1){

// About Us
$(document).ready(function(){
$("#nav_about").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});

// Appraisal Process
$(document).ready(function(){
$("#nav_appraisal_process").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});

// Market Report
$(document).ready(function(){
$("#nav_market_report").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});

// Little Black Book
$(document).ready(function(){
$("#nav_black_book").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});

// Services
$(document).ready(function(){
$("#nav_services").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});

// Contact Us
$(document).ready(function(){
$("#nav_contact").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});

// Appraisal On Demand
$(document).ready(function(){
$("#nav_appraisal").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '-10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});

// Guestbook
$(document).ready(function(){
$("#nav_guestbook").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});

//Brochure
$(document).ready(function(){
$("#nav_brochure").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});










$(document).ready(function(){
$("#nav_corp").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			marginTop: '10px', 
			marginLeft: '-10px', 
			top: '50%', 
			left: '50%', 
			padding: '0px' 
		}, 200);
	
	} , function() {
	$(this).css({'z-index' : '0'});
	$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0', 
			left: '0', 

			padding: '0px'
		}, 400);
});
});

}
