anchor.diff:      updateShows()
   
     })
  -  
  -
  -  $.get('shows', callbackShows)
   
     var weekday = new Array(7);
     weekday[0] =  "Sunday";
  
positive.code:   var monthNames = ["January", "February", "March", "April", "May", "June",
      "July", "August", "September", "October", "November", "December"
    ];
    
    function addZero(i) {
      if (i < 10) {
          i = "0" + i;
      }
      return i;
    }
    var show_html = ""
    function updateShows() {
      show_html = ""
      for (i = 0; i < data["shows"].length; i++) {
        var show = data["shows"][i]
        var date = new Date(0)
        date.setUTCSeconds(show['time'])
        var weekDay = weekday[date.getDay()]
  
negative.code:       var ampm = Math.floor(date.getHours() / 12) == 0 ? 'AM' : 'PM'
        var min = addZero(date.getMinutes());
        var time = hour+":"+min+" "+ampm;
        show['weekDay'] = weekDay
        show['month'] = month
        show['dayOfMonth'] = dayOfMonth
        show['hour'] = hour
        show['ampm'] = ampm
        show['min'] = min
        show['time'] = time
        return show
      })
    }
    
  
    function callbackShows(response, textStatus, xhr) {
      fullData['shows'] = addDateDataToShows(response['shows'])
      data['shows'] = fullData['shows'].slice(0)
      if ($.isReady) {
        updateShows()
      } else {
        $(function() { updateShows() })
        }
    }
  
  
    $.get('shows', callbackShows)
  
    
  
  
    
  
    var show_html = ""
    function updateShows() {
      show_html = ""
      for (i = 0; i < data["shows"].length; i++) {
        var show = data["shows"][i]
        
        var group = show["group"];
        if(group.search("SOLD OUT") >= 0 || group.search("ticket") >= 0){
          group = "";
        }
        var info = show.hour+":"+show.min+" "+show.ampm+" "+show.weekDay+"<br>"+show.month+" "+show.dayOfMonth+", "+show.year+"<br>"+show["location"]+"<br><b>"+group+"</b>"
  
        var buy_text = "Buy"
        if(show["sellreq"] > 0)
  