     $(function() {
         $(function() {
             $.ajax({
                 type: "GET",
                 url: "/wp-content/plugins/akismet/directors.xml",
                 dataType: "xml",
                 success: function(xml) {

                   /*

                     Markup this generates for every month

                     <div>
                       <h2>Month Name
          <table>
            <tr>
              <td>Field</td>
              <td>Field</td>
              <td>Field</td>
              <td>Field</td>
              <td>Field</td>
            </tr>
          </table>
        </div>

                   */


         // Div container for h2/table
        var container = $('<div></div>');

        // Create the table
        var table = $('<table width="97%" cellpadding="0" cellspacing="0"></table>');
		var firstrow = $('<tr class="chartheadrow"></tr>').appendTo(table);
        
		$('<td width="50%" class="charthead">POSITION</td> <td width="50%" class="charthead">NAME</td>').appendTo(firstrow);

		

        // Create rows and append them to the table
        $(xml).find('entry').each(function(){

          // Create row
          var row = $('<tr></tr>');
		
          // Generate the columns
          var gameArray = ['position','name'];
          for (var i=0;i<gameArray.length;i++) {
            // Generate cell and attach to row
			$('<td></td>').addClass(gameArray[i]).html($(this).find(gameArray[i]).text()).appendTo(row); 
          }

          // Attach row to table
          row.appendTo(table);          
        });

        // Put table in our div container
        table.appendTo(container);

        // Attach our month to the schedule area
        
		container.appendTo('#directors');
        $("#directors tr:odd").css("background-color", "#a9a290");
                 }
         
             }); //close $.ajax(
         }); //close click(
     }); //close $(

