﻿$(document).ready(function() {
    $("a.addEvent").attr("href", "http://xlapartner.blogspot.com/2010/12/open-call-for-la-arts-month-event.html");

    $("a[href*='http']").click(function() {
        if (this.host != window.location.host) {
            var linktext = $(this).attr('href');
            $(this).attr('target', '_blank');
        }
    });

    initTabs('hcontent');
    SelectTab('About');
});

$(function() {
    $(document).ajaxSend(function() {
        $("#ajax-progress").css("top", ($(window).height() / 2) + "px").css("left", ($(window).width() / 2) + "px").show();
        $("#ajax-progress-modal").show();
    });
    $(document).ajaxStop(function() {
        $("#ajax-progress").hide();
        $("#ajax-progress-modal").hide();
    });
});
