$(document).ready(function(){
	$("#max_adv").click(function(){
	$("#av").hide(100);
	$("#gra").hide(100);
	$("#web").hide(100, function(){
	$("#adv").show("slow");
	});
	});
	$("#min_adv").click(function(){
	$("#adv").hide("slow");
	});
	$("#max_av").click(function(){
	$("#adv").hide(100);
	$("#gra").hide(100);
	$("#web").hide(100, function(){
	$("#av").show("slow");
	});
	});
	$("#min_av").click(function(){
	$("#av").hide("slow");
	});
	$("#max_gra").click(function(){
	$("#av").hide(100);
	$("#adv").hide(100);
	$("#web").hide(100, function(){
	$("#gra").show("slow");
	});
	});
	$("#min_gra").click(function(){
	$("#gra").hide("slow");
	});
	$("#max_web").click(function(){
	$("#av").hide(100);
	$("#gra").hide(100);
	$("#adv").hide(100, function(){
	$("#web").show("slow");
	});
	});
	$("#min_web").click(function(){
	$("#web").hide("slow");
	});
});


$(document).ready(function(){
	$("#nav_home").click(function(){
           $("#content_div").load("./home_content2.php", function(response, status, xhr) {
               if (status == "error") {
                  var msg = "Sorry but there was an error: ";
                  $("#error").html(msg + xhr.status + " " + xhr.statusText);
               }
                else { $("#error").html("");
    $(function() {
        $('#gallery a').lightBox();
        $('#gallery2 a').lightBox();
    });
/*$(document).ready(function(){
	$("#max_adv").click(function(){
	$("#adv").show("slow", function(){
	$("#av").hide("slow");
	$("#gra").hide("slow");
	$("#web").hide("slow");
	});
	});
	$("#min_adv").click(function(){
	$("#adv").hide("slow");
	});
	$("#max_av").click(function(){
	$("#av").show("slow", function(){
	$("#adv").hide("slow");
	$("#gra").hide("slow");
	$("#web").hide("slow");
	});
	});
	$("#min_av").click(function(){
	$("#av").hide("slow");
	});
	$("#max_gra").click(function(){
	$("#gra").show("slow", function(){
	$("#av").hide("slow");
	$("#web").hide("slow");
	$("#adv").hide("slow");
	});
	});
	$("#min_gra").click(function(){
	$("#gra").hide("slow");
	});
	$("#max_web").click(function(){
	$("#web").show("slow", function(){
	$("#av").hide("slow");
	$("#gra").hide("slow");
	$("#adv").hide("slow");
	});
	});
	$("#min_web").click(function(){
	$("#web").hide("slow");
	});
});
*/
}
        }); });
        $("#nav_contact").click(function(){
           $("#content_div").load("./contact_content.php", function(response, status, xhr) {
               if (status == "error") {
                  var msg = "Sorry but there was an error: ";
                  $("#error").html(msg + xhr.status + " " + xhr.statusText);
               }
                else { $("#error").html(""); }
        }); });
        $("#contact").click(function(){
           $("#content_div").load("./contact_content.php", function(response, status, xhr) {
               if (status == "error") {
                  var msg = "Sorry but there was an error: ";
                  $("#error").html(msg + xhr.status + " " + xhr.statusText);
               }
                else { $("#error").html(""); }
        }); });
        $("#nav_resume").click(function(){
           $("#content_div").load("./resume_content.php", function(response, status, xhr) {
               if (status == "error") {
                  var msg = "Sorry but there was an error: ";
                  $("#error").html(msg + xhr.status + " " + xhr.statusText);
               }
                else { $("#error").html(""); }
        }); });
        $("#nav_about").click(function(){
           $("#content_div").load("./about_content.php", function(response, status, xhr) {
               if (status == "error") {
                  var msg = "Sorry but there was an error: ";
                  $("#error").html(msg + xhr.status + " " + xhr.statusText);
               }
                else { $("#error").html(""); }
        }); });
});

