$(document).ready(function(){

// ========================================================================================== 
// ! ANCHOR SCROLL FUNCTION -----------------------------------------------------------------   
// ========================================================================================== 

	$.localScroll(2500,{easing:'elasout'});


// ========================================================================================== 
// ! ABOUT PAGE THICKBOX FUNCTIONS ----------------------------------------------------------   
// ========================================================================================== 

	$('.expertInfo').click(function(){
		var popup_expert = $(this).attr("alt");
		var base_URL = "http://askthebuildingexperts.com/wp-content/themes/askthebuildingexperts/tooltips/";
		
		if(popup_expert=="tristate"){
			tb_show("Superior Walls of the Tri-State",""+base_URL+"tristate.php?height=420&width=460");
		}
		else if(popup_expert=="maple"){
			tb_show("Maple Craft Custom Homes",""+base_URL+"maple.php?height=420&width=460");
		}
		else if(popup_expert=="nationwideHomes"){
			tb_show("Nationwide Custom Homes",""+base_URL+"nationwideHomes.php?height=500&width=460");
		}
		else if(popup_expert=="lamit"){
			tb_show("Lamit Industries",""+base_URL+"lamit.php?height=420&width=460");
		}
		else if(popup_expert=="rdsHomeDesign"){
			tb_show("Residential Design Solutions",""+base_URL+"rdsHomeDesign.php?height=420&width=460");
		}
		else if(popup_expert=="crec"){
			tb_show("The Columbus Real Estate Company",""+base_URL+"crec.php?height=420&width=460");
		}
		else if(popup_expert=="dunmoor"){
			tb_show("Dunmoor Homes",""+base_URL+"dunmoor.php?height=420&width=460");
		}
		else if(popup_expert=="thomsonConcrete"){
			tb_show("Thompson Concrete, Inc.",""+base_URL+"thomsonConcrete.php?height=420&width=460");
		}
		else if(popup_expert=="alzner"){
			tb_show("Alzner Masonry",""+base_URL+"alzner.php?height=420&width=460");
		}
		else if(popup_expert=="84lumber"){
			tb_show("84 Lumber",""+base_URL+"84lumber.php?height=470&width=460");
		}
		else if(popup_expert=="norandrexreynolds"){
			tb_show("Norandex Building Products",""+base_URL+"norandrexreynolds.php?height=420&width=460");
		}
		else if(popup_expert=="jsDrywall"){
			tb_show("J &amp; S Drywall",""+base_URL+"jsdrywall.php?height=470&width=460");
		}
		else if(popup_expert=="floorsource"){
			tb_show("America's Floor Source",""+base_URL+"floorsource.php?height=470&width=460");
		}
		else if(popup_expert=="colsglassblock"){
			tb_show("Columbus Glass Block Company",""+base_URL+"colsglassblock.php?height=420&width=460");
		}
		else if(popup_expert=="selectElectric"){
			tb_show("Select Electric",""+base_URL+"selectElectric.php?height=420&width=460");
		}
		else if(popup_expert=="hhgregg"){
			tb_show("HH Gregg/Fine Lines",""+base_URL+"hhgregg.php?height=420&width=460");
		}
		else if(popup_expert=="completeComfort"){
			tb_show("Complete Comfort Air",""+base_URL+"completeComfort.php?height=470&width=460");
		}
		else if(popup_expert=="capitalLighting"){
			tb_show("Capital Lighting",""+base_URL+"capitalLighting.php?height=420&width=460");
		}
		else if(popup_expert=="bestPlumb"){
			tb_show("Best Plumbing Ltd.",""+base_URL+"bestPlumbing.php?height=350&width=460");
		}
		else if(popup_expert=="aspenFireplace"){
			tb_show("Aspen Fireplace and Patio, Inc.",""+base_URL+"aspenFireplace.php?height=470&width=460");
		}
		else if(popup_expert=="davidsonHome"){
			tb_show("Davidson Home Remodeling",""+base_URL+"davidsonHome.php?height=420&width=460");
		}
		else if(popup_expert=="wilson"){
			tb_show("Wilson Landscaping",""+base_URL+"wilsonLandscape.php?height=350&width=460");
		}
		else if(popup_expert=="bonedry"){
			tb_show("Bone Dry Waterproofing, Inc.",""+base_URL+"bonedry.php?height=350&width=460");
		}
		else if(popup_expert=="31w"){
			tb_show("31-W Insulation",""+base_URL+"31w.php?height=350&width=460");
		}
		else if(popup_expert=="radonSystems"){
			tb_show("Radon Systems",""+base_URL+"radonSystems.php?height=350&width=460");
		}
	});
	
	
	
// ========================================================================================== 
// ! ABOUT PAGE THICKBOX FUNCTIONS ----------------------------------------------------------   
// ========================================================================================== 

	$('.expertInfo').hoverIntent(function(){
		var tip_expert = $(this).attr("alt");
		
		if(tip_expert=="tristate"){
			$('#tristate_tip').fadeIn();
			$('#tristate_tip span').text("Foundation Systems");			
		}
		else if(tip_expert=="maple"){
			$('#maple_tip').fadeIn();
			$('#maple_tip span').text("Custom Homes");			
		}
		else if(tip_expert=="nationwideHomes"){
			$('#nationwideHomes_tip').fadeIn();
			$('#nationwideHomes_tip span').text("Modular Homes");			
		}
		else if(tip_expert=="lamit"){
			$('#lamit_tip').fadeIn();
			$('#lamit_tip span').text("Structural Insulated Panels");			
		}
		else if(tip_expert=="rdsHomeDesign"){
			$('#rdsHomeDesign_tip').fadeIn();
			$('#rdsHomeDesign_tip span').text("Home Design");			
		}
		else if(tip_expert=="crec"){
			$('#crec_tip').fadeIn();
			$('#crec_tip span').text("Real Estate");			
		}
		else if(tip_expert=="dunmoor"){
			$('#dealers_tip').fadeIn();
			$('#dealers_tip span').text("Custom Homes");			
		}
		else if(tip_expert=="thomsonConcrete"){
			$('#thompsonConcrete_tip').fadeIn();
			$('#thompsonConcrete_tip span').text("Concrete");			
		}
		else if(tip_expert=="alzner"){
			$('#alzner_tip').fadeIn();
			$('#alzner_tip span').text("Cultured Stone");			
		}
		else if(tip_expert=="84lumber"){
			$('#84lumber_tip').fadeIn();
			$('#84lumber_tip span').text("Roofing, Windows, Doors, Stairs, Trims and Moulding");			
		}
		else if(tip_expert=="norandrexreynolds"){
			$('#norandrexreynolds_tip').fadeIn();
			$('#norandrexreynolds_tip span').text("Siding");			
		}
		else if(tip_expert=="jsDrywall"){
			$('#jsDrywall_tip').fadeIn();
			$('#jsDrywall_tip span').text("Drywall");			
		}
		else if(tip_expert=="floorsource"){
			$('#floorsource_tip').fadeIn();
			$('#floorsource_tip span').text("Flooring, Wall Tile, Window Treatments");			
		}
		else if(tip_expert=="colsglassblock"){
			$('#colsglassblock_tip').fadeIn();
			$('#colsglassblock_tip span').text("Glass Block");			
		}
		else if(tip_expert=="selectElectric"){
			$('#selectElectric_tip').fadeIn();
			$('#selectElectric_tip span').text("Electrical Work");			
		}
		else if(tip_expert=="hhgregg"){
			$('#hhgregg_tip').fadeIn();
			$('#hhgregg_tip span').text("Appliances");			
		}
		else if(tip_expert=="completeComfort"){
			$('#completeComfort_tip').fadeIn();
			$('#completeComfort_tip span').text("HVAC");			
		}
		else if(tip_expert=="capitalLighting"){
			$('#capitalLighting_tip').fadeIn();
			$('#capitalLighting_tip span').text("Lighting");			
		}
		else if(tip_expert=="bestPlumb"){
			$('#bestPlumb_tip').fadeIn();
			$('#bestPlumb_tip span').text("Plumbing");			
		}
		else if(tip_expert=="aspenFireplace"){
			$('#aspenFireplace_tip').fadeIn();
			$('#aspenFireplace_tip span').text("Fireplaces");			
		}
		else if(tip_expert=="davidsonHome"){
			$('#davidsonHome_tip').fadeIn();
			$('#davidsonHome_tip span').text("remodels and room additions");			
		}
		else if(tip_expert=="wilson"){
			$('#wilson_tip').fadeIn();
			$('#wilson_tip span').text("Landscaping");			
		}
		else if(tip_expert=="bonedry"){
			$('#bonedry_tip').fadeIn();
			$('#bonedry_tip span').text("Basement Waterproofing");			
		}
		else if(tip_expert=="31w"){
			$('#31w_tip').fadeIn();
			$('#31w_tip span').text("Insulation");			
		}
		else if(tip_expert=="radonSystems"){
			$('#radonSystems_tip').fadeIn();
			$('#radonSystems_tip span').text("Radon Mitigation");			
		}
	},function(){
		$('.about_tip').fadeOut();
	});
	
	
	
	
	


// ========================================================================================== 
// ! PNG FIX FUNCTIONS ----------------------------------------------------------------------   
// ========================================================================================== 

	$('img[src$=.png], .logo, .search, .comment_count, #footer_bottom_left').ifixpng();


// ========================================================================================== 
// ! COMMENT FORM VALIDATION ----------------------------------------------------------------   
// ========================================================================================== 

	$('#commentform').submit(function(){

	var author = $('#author');
	var email = $('#email');
	var comment = $('#comment');

		if (author.val()=='') {
			author.addClass('highlight'); 
			var error = "stop_form";
		} else author.removeClass('highlight'); 


		if (email.val()=='') {
			email.addClass('highlight'); 
			var error = "stop_form";
		} else email.removeClass('highlight'); 


		if (comment.val()=='') {
			comment.addClass('highlight'); 
			var error = "stop_form";
		} else comment.removeClass('highlight'); 

		if(error == "stop_form"){
			return false;
		}
		
		else{
			return true;
		}

	});


// ============================================================================================= 
// ! HIDE ASK EXPERT FORM SUB CATEGORIES -----------------------------------------------------   
// ============================================================================================= 

	$('.sub_hide').hide();
	
	$('#category_topic_main').change(function(){
		if($(this).val()=="General Question"){
			$('.sub_hide').slideUp();
		}
		if($(this).val()=="Alternative Building Concepts"){
			$('.sub_hide').slideUp();
			$('#category_sub_alt').slideDown();
		}
		if($(this).val()=="Building and Professional Services"){
			$('.sub_hide').slideUp();
			$('#category_sub_build').slideDown();
		}
		if($(this).val()=="Creating Outdoor Living Space"){
			$('.sub_hide').slideUp();
			$('#category_sub_outdoor').slideDown();
		}
		if($(this).val()=="Exterior Products and Finishes"){
			$('.sub_hide').slideUp();
			$('#category_sub_ext').slideDown();
		}
		if($(this).val()=="Home Electronics and Conveniences"){
			$('.sub_hide').slideUp();
			$('#category_sub_elect').slideDown();
		}
		if($(this).val()=="Interior Products and Finishes"){
			$('.sub_hide').slideUp();
			$('#category_sub_int').slideDown();
		}
		if($(this).val()=="Maintaining Your Home"){
			$('.sub_hide').slideUp();
			$('#category_sub_maint').slideDown();
		}
		if($(this).val()=="Mechanical Systems and Equipment"){
			$('.sub_hide').slideUp();
			$('#category_sub_mech').slideDown();
		}
		if($(this).val()=="Remodeling and Rennovations"){
			$('.sub_hide').slideUp();
			$('#category_sub_remod').slideDown();
		}
		if($(this).val()=="Site Work"){
			$('.sub_hide').slideUp();
			$('#category_sub_site').slideDown();
		}
		if($(this).val()=="Structural Components"){
			$('.sub_hide').slideUp();
			$('#category_sub_structure').slideDown();
		}
		if($(this).val()=="Weather Protection"){
			$('.sub_hide').slideUp();
			$('#category_sub_weather').slideDown();
		}
		
	});


// ============================================================================================= 
// ! ABOUT PAGE SORTING FUNCTIONS -----------------------------------------------------   
// ============================================================================================= 

	$('#about_sort_experts').change(function(){
	
		if($('#about_sort_experts').val()=="all_cat"){
			$('.expertInfo').slideDown();
		}
		
		else if($('#about_sort_experts').val()=="alternative"){
			$('.tristate, .nationwideHomes, .lamit').slideDown();
			$('.maple, .rdsHomeDesign, .crec, .dealers, .thomsonConcrete, .alzner, .84lumber, .norandrexreynolds, .jsDrywall, .floorsource, .colsglassblock, .selectElectric, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .davidsonHome, .wilson, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="building"){
			$('.maple, .rdsHomeDesign, .crec').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .dealers, .thomsonConcrete, .alzner, .84lumber, .norandrexreynolds, .jsDrywall, .floorsource, .colsglassblock, .selectElectric, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .davidsonHome, .wilson, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="outdoor"){
			$('.dealers, .thomsonConcrete').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .maple, .rdsHomeDesign, .crec, .alzner, .84lumber, .norandrexreynolds, .jsDrywall, .floorsource, .colsglassblock, .selectElectric, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .davidsonHome, .wilson, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="exterior"){
			$('.dealers, .alzner, .84lumber, .norandrexreynolds').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .maple, .rdsHomeDesign, .crec, .thomsonConcrete, .jsDrywall, .floorsource, .colsglassblock, .selectElectric, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .davidsonHome, .wilson, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="electronics"){
			$('').slideDown();
			$('.expertInfo').slideUp();
		}

		else if($('#about_sort_experts').val()=="interior"){
			$('.84lumber, .jsDrywall, .floorsource, .colsglassblock').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .maple, .rdsHomeDesign, .crec, .dealers, .thomsonConcrete, .alzner, .norandrexreynolds, .selectElectric, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .davidsonHome, .wilson, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="maintaining"){
			$('.selectElectric, .norandrexreynolds').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .maple, .rdsHomeDesign, .crec, .dealers, .thomsonConcrete, .alzner, .84lumber, .jsDrywall, .floorsource, .colsglassblock, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .davidsonHome, .wilson, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="mechanical"){
			$('.hhgregg, .selectElectric, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .maple, .rdsHomeDesign, .crec, .dealers, .thomsonConcrete, .alzner, .84lumber, .norandrexreynolds, .jsDrywall, .floorsource, .colsglassblock, .davidsonHome, .wilson, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="remodeling"){
			$('.jsDrywall, .davidsonHome').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .maple, .rdsHomeDesign, .crec, .dealers, .thomsonConcrete, .alzner, .84lumber, .norandrexreynolds, .floorsource, .colsglassblock, .selectElectric, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .wilson, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="site_work"){
			$('.thomsonConcrete, .wilson').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .maple, .rdsHomeDesign, .crec, .dealers, .alzner, .84lumber, .norandrexreynolds, .jsDrywall, .floorsource, .colsglassblock, .selectElectric, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .davidsonHome, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="structural"){
			$('.dealers').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .maple, .rdsHomeDesign, .crec, .thomsonConcrete, .alzner, .84lumber, .norandrexreynolds, .jsDrywall, .floorsource, .colsglassblock, .selectElectric, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .davidsonHome, .wilson, .bonedry, .31w').slideUp();
		}

		else if($('#about_sort_experts').val()=="weather"){
			$('.bonedry, .31w').slideDown();
			$('.tristate, .nationwideHomes, .lamit, .maple, .rdsHomeDesign, .crec, .dealers, .thomsonConcrete, .alzner, .84lumber, .norandrexreynolds, .jsDrywall, .floorsource, .colsglassblock, .selectElectric, .hhgregg, .completeComfort, .capitalLighting, .bestPlumb, .aspenFireplace, .davidsonHome, .wilson').slideUp();
		}
			
	
	});


// ============================================================================================= 
// ! FOOTER TOOLTIPS FUNCTIONS -----------------------------------------------------   
// ============================================================================================= 
	
	
	$('.affiliate_link').hoverIntent(function(){
	
		var tooltip_expert = $(this).attr("alt");
		var base_URL = "http://askthebuildingexperts.com/wp-content/themes/askthebuildingexperts/tooltips/";
		
		if(tooltip_expert=="tristate"){
			$('#footer_tip_b').fadeIn();
			$('#footer_tip_arrow_b').animate({marginTop: "0px"}, 500 );
			$('#footer_tip_content_b').load(base_URL+"tristate_tip.php");
		}
		else if(tooltip_expert=="maple"){
			$('#footer_tip_b').fadeIn();
			$('#footer_tip_arrow_b').animate({marginTop: "38px"}, 500 );
			$('#footer_tip_content_b').load(base_URL+"maple_tip.php");
		}
		else if(tooltip_expert=="nationwideHomes"){
			$('#footer_tip_c').fadeIn();
			$('#footer_tip_arrow_c').animate({marginTop: "0px"}, 500 );
			$('#footer_tip_content_c').load(base_URL+"nationwideHomes_tip.php");
		}
 		else if(tooltip_expert=="lamit"){
			$('#footer_tip_a').fadeIn();
			$('#footer_tip_arrow_a').animate({marginTop: "38px"}, 500 );
			$('#footer_tip_content_a').load(base_URL+"lamit_tip.php");
		}
		else if(tooltip_expert=="rdsHomeDesign"){
			$('#footer_tip_c').fadeIn();
			$('#footer_tip_arrow_c').animate({marginTop: "38px"}, 500 );
			$('#footer_tip_content_c').load(base_URL+"rdsHomeDesign_tip.php");
		}
		else if(tooltip_expert=="crec"){
			$('#footer_tip_a').fadeIn();
			$('#footer_tip_arrow_a').animate({marginTop: "78px"}, 500 );
			$('#footer_tip_content_a').load(base_URL+"crec_tip.php");
		}
		else if(tooltip_expert=="dunmoor"){
			$('#footer_tip_b').fadeIn();
			$('#footer_tip_arrow_b').animate({marginTop: "78px"}, 500 );
			$('#footer_tip_content_b').load(base_URL+"dunmoor_tip.php");
		}
		else if(tooltip_expert=="thomsonConcrete"){
			$('#footer_tip_c').fadeIn();
			$('#footer_tip_arrow_c').animate({marginTop: "78px"}, 500 );
			$('#footer_tip_content_c').load(base_URL+"thomsonConcrete_tip.php");
		}
		else if(tooltip_expert=="alzner"){
			$('#footer_tip_a').fadeIn();
			$('#footer_tip_arrow_a').animate({marginTop: "116px"}, 500 );
			$('#footer_tip_content_a').load(base_URL+"alzner_tip.php");
		}
		else if(tooltip_expert=="84lumber"){
			$('#footer_tip_b').fadeIn();
			$('#footer_tip_arrow_b').animate({marginTop: "116px"}, 500 );
			$('#footer_tip_content_b').load(base_URL+"84lumber_tip.php");
		}
		else if(tooltip_expert=="norandrexreynolds"){
			$('#footer_tip_c').fadeIn();
			$('#footer_tip_arrow_c').animate({marginTop: "116px"}, 500 );
			$('#footer_tip_content_c').load(base_URL+"norandrexreynolds_tip.php");
		}
		else if(tooltip_expert=="jsdrywall"){
			$('#footer_tip_a').fadeIn();
			$('#footer_tip_arrow_a').animate({marginTop: "155px"}, 500 );
			$('#footer_tip_content_a').load(base_URL+"jsdrywall_tip.php");
		}
		else if(tooltip_expert=="floorsource"){
			$('#footer_tip_b').fadeIn();
			$('#footer_tip_arrow_b').animate({marginTop: "155px"}, 500 );
			$('#footer_tip_content_b').load(base_URL+"floorsource_tip.php");
		}
		else if(tooltip_expert=="colsglassblock"){
			$('#footer_tip_c').fadeIn();
			$('#footer_tip_arrow_c').animate({marginTop: "155px"}, 500 );
			$('#footer_tip_content_c').load(base_URL+"colsglassblock_tip.php");
		}
		else if(tooltip_expert=="selectElectric"){
			$('#footer_tip_a').fadeIn();
			$('#footer_tip_arrow_a').animate({marginTop: "192px"}, 500 );
			$('#footer_tip_content_a').load(base_URL+"selectElectric_tip.php");
		}
		else if(tooltip_expert=="hhgregg"){
			$('#footer_tip_b').fadeIn();
			$('#footer_tip_arrow_b').animate({marginTop: "192px"}, 500 );
			$('#footer_tip_content_b').load(base_URL+"hhgregg_tip.php");
		}
		else if(tooltip_expert=="completeComfort"){
			$('#footer_tip_c').fadeIn();
			$('#footer_tip_arrow_c').animate({marginTop: "192px"}, 500 );
			$('#footer_tip_content_c').load(base_URL+"completeComfort_tip.php");
		}
		else if(tooltip_expert=="capitalLighting"){
			$('#footer_tip_a').fadeIn();
			$('#footer_tip_arrow_a').animate({marginTop: "229px"}, 500 );
			$('#footer_tip_content_a').load(base_URL+"capitalLighting_tip.php");
		}
		else if(tooltip_expert=="bestPlumbing"){
			$('#footer_tip_b').fadeIn();
			$('#footer_tip_arrow_b').animate({marginTop: "229px"}, 500 );
			$('#footer_tip_content_b').load(base_URL+"bestPlumbing_tip.php");
		}
		else if(tooltip_expert=="aspenFireplace"){
			$('#footer_tip_c').fadeIn();
			$('#footer_tip_arrow_c').animate({marginTop: "229px"}, 500 );
			$('#footer_tip_content_c').load(base_URL+"aspenFireplace_tip.php");
		}
		else if(tooltip_expert=="davidsonHome"){
			$('#footer_tip_a').fadeIn();
			$('#footer_tip_arrow_a').animate({marginTop: "268px"}, 500 );
			$('#footer_tip_content_a').load(base_URL+"davidsonHome_tip.php");
		}
		else if(tooltip_expert=="31w"){
			$('#footer_tip_a').fadeIn();
			$('#footer_tip_arrow_a').animate({marginTop: "305px"}, 500 );
			$('#footer_tip_content_a').load(base_URL+"31w_tip.php");
		}
		else if(tooltip_expert=="bonedry"){
			$('#footer_tip_c').fadeIn();
			$('#footer_tip_arrow_c').animate({marginTop: "268px"}, 500 );
			$('#footer_tip_content_c').load(base_URL+"bonedry_tip.php");
		}
		else if(tooltip_expert=="wilson"){
			$('#footer_tip_b').fadeIn();
			$('#footer_tip_arrow_b').animate({marginTop: "268px"}, 500 );
			$('#footer_tip_content_b').load(base_URL+"wilsonLandscape_tip.php");
		}
		else if(tooltip_expert=="radonSystems"){
			$('#footer_tip_b').fadeIn();
			$('#footer_tip_arrow_b').animate({marginTop: "268px"}, 500 );
			$('#footer_tip_content_b').load(base_URL+"radonSystems_tip.php");
		}
	
	
	},function(){
		$('#footer_tip_a, #footer_tip_b, #footer_tip_c').fadeOut();
		$('#footer_tip_arrow_a, #footer_tip_arrow_b, #footer_tip_arrow_c').animate({marginTop: "0px"}, 500 );
		$('#footer_tip_content_a, #footer_tip_content_b, #footer_tip_content_c').html("");
	});


});
