var _gaq = _gaq ||[];
_gaq.push(['_setAccount', 'UA-7383520-2']);
_gaq.push(['_trackPageview']);

(function()
  {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol? 'https://ssl': 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  }
)();

$(document).ready(function()
  {
    var tabContainers = new Array();
    var N = 3;
    for (i=1; i<=N; i++)
    {
      tabContainers[i] = $('#navbl'+i+' .tabcont');
      tabContainers[i].hide().filter(':first').show();
      tabCont( 'navbl'+i, tabContainers[i] );
    }
  }
)

function tabCont( id, tabContainers )
{
    $('#'+id+' .tabmenu a').click(function ()
      {
        tabContainers.hide();
        tabContainers.filter(this.hash).show();
        $('#'+id+' .tabmenu a').removeClass('selected');
        $(this).addClass('selected');
        return false;
      }
    ).filter(':first').click();
}

// 'blind', 'clip', 'drop', 'explode', 'fold', 'puff', 'slide', 'scale', 'size', 'pulsate' bounce
function AW(wid, size) {$(function() {$('#'+wid).dialog({show: "fade", hide: "fade", autoOpen: true, width: size,});});}









