
var conn = new net.nextdb.Connection('adamhuntercaldwell','SITEDB');

var loading = "<center><img src='ajax-loader.gif'/></center>";

main = {

    init : function(){
        //        $('#tabs').tabs().bind('tabsselect',
        //            function(event, ui) {}).hide().fadeIn("slow");
        
        $('#logo').fadeIn("slow");
        $('#tabs').tabs();
        $.address.change(function(event){
            $("#tabs").tabs( "select" , window.location.hash );
        });
        $("#tabs").bind("tabsselect", function(event, ui) {
            window.location.hash = ui.tab.hash;
        });
        $(".ui-widget").css("font-size","1.5em");
        
    //        $("#logo").hide().fadeIn("slow");
    //        $('#tabs').tabs();
    //        $.address.change(function(event){
    //            $("#tabs").tabs( "select" , window.location.hash )
    //        })
    //        // when the tab is selected update the url with the hash
    //        $("#tabs").bind("tabsselect", function(event, ui) {
    //            window.location.hash = ui.tab.hash;
    //        })
    //        $(".ui-widget").css("font-size","1.5em");
    }
}






