var httpBase = 'http://localhost/';
var httpBaseExt = httpBase + 'default.aspx';

//var currentlySelected = 0;
//var timer;
//function selectHPItem(index) {

//    if (index < $('.pnav li').length) {
//        $('.panel').css({ display: "none" });
//        
//        //temperarily remove click until animation is done
//        $('.pnav li').unbind();
//        $('.panel:eq(' + index + ')').slideDown("slow", function() {
//            //rebind clicks
//            $('.pnav li').each(function(i) {
//                $(this).click(function() {
//                    selectHPItem(i);
//                    $(this).blur();
//                    $(".pnav li a").blur();
//                });
//            });
//        });
//        

//        $('.pnav li').removeClass("pon1").removeClass("pon5").removeClass("pon");
//        if (index == 0) {
//            $('.pnav li:eq(' + index + ')').addClass("pon1");
//        }
//        else if (index == $('.pnav li').length - 1) {
//            $('.pnav li:eq(' + index + ')').addClass("pon5");
//        }
//        else {
//            $('.pnav li:eq(' + index + ')').addClass("pon");
//        }

//        currentlySelected = index;
//        clearTimeout(timer);
//        timer = setTimeout('selectHPItem("' + (parseInt(currentlySelected) + 1) + '")', 10000);
//    }
//    else {
//        selectHPItem(0);
//    }
//}

$(document).ready(function() {

//    $('.pnav li').each(function(i) {
//        $(this).click(function() {
//            selectHPItem(i);
//            $(this).blur();
//            $(".pnav li a").blur();
//        });
//    });
//    selectHPItem(0);

    //homepage slide in
//    $("#freedom").css("display", "none");
//    $("#footer").css("display", "none");
//    $("#freedom").slideDown("slow", function() {
//        $("#footer").fadeIn("slow");
//    });
    
    $("[id$='freedom']").css("display", "none");
    $("[id$='footer']").css("display", "none");
    $("[id$='freedom']").slideDown("slow", function() {
        $("[id$='footer']").fadeIn("slow");
    });
    
    //END homepage slide in
    


});