 jQuery(document).ready(function(){
    
	jQuery("#shared-btn").click(function() {
	
		jQuery(".div-comp").fadeOut("slow");
		jQuery("#shared-div").fadeIn("slow", function() {
			jQuery("#shared-div").html("<div style=\"text-align: center;\">Loading...</div>");
			jQuery("#shared-div").load("wp-content/themes/makosolutions/staticpages/policy-shared.html");	
		});
		
	});
	
	jQuery("#vps-btn").click(function() {
	
		jQuery(".div-comp").fadeOut("slow");
		jQuery("#vps-div").fadeIn("slow", function() {
			jQuery("#vps-div").html("<div style=\"text-align: center;\">Loading...</div>");
			jQuery("#vps-div").load("wp-content/themes/makosolutions/staticpages/policy-vps.html");	
		});
		
	});
	
	jQuery("#scranton-btn").click(function() {
	
		jQuery(".div-comp").fadeOut("slow");
		jQuery("#scranton-div").fadeIn("slow", function() {
			jQuery("#scranton-div").html("<div style=\"text-align: center;\">Loading...</div>");
			jQuery("#scranton-div").load("wp-content/themes/makosolutions/staticpages/policy-scranton.html");	
		});
		
	});
	
	jQuery("#sanantonio-btn").click(function() {
	
		jQuery(".div-comp").fadeOut("slow");
		jQuery("#sanantonio-div").fadeIn("slow", function() {
			jQuery("#sanantonio-div").html("<div style=\"text-align: center;\">Loading...</div>");
			jQuery("#sanantonio-div").load("wp-content/themes/makosolutions/staticpages/policy-sanantonio.html");	
		});
		
	});	
	
	jQuery("#privacy-btn").click(function() {
	
		jQuery(".div-comp").fadeOut("slow");
		jQuery("#privacy-div").fadeIn("slow", function() {
			jQuery("#privacy-div").html("<div style=\"text-align: center;\">Loading...</div>");
			jQuery("#privacy-div").load("wp-content/themes/makosolutions/staticpages/policy-privacy.html");	
		});
		
	});	

	jQuery("#copyright-btn").click(function() {
	
		jQuery(".div-comp").fadeOut("slow");
		jQuery("#copyright-div").fadeIn("slow", function() {
			jQuery("#copyright-div").html("<div style=\"text-align: center;\">Loading...</div>");
			jQuery("#copyright-div").load("wp-content/themes/makosolutions/staticpages/policy-copyright.html");	
		});
		
	});		
});
