// JavaScript Document

		jQuery(function() {

   		 	jQuery.getFeed({
     		   	url: 'jfeed/proxy.php?url=http://filemakerbits.wordpress.com/feed/',
       		 	success: function(feed) {
            
         		   	var html = '';
            
          		  	for(var i = 0; i < feed.items.length && i < 4; i++) {
            
           		     	var item = feed.items[i];
                
           		     	html += '<div>'
           		     	+ '<a style="color:#666; font-size:10px; font-weight:bold;" target="_blank" href="'
                		+ item.link
               		 	+ '">'
               		 	+ item.title
                		+ '</a>'
                		+ '</div>';
						
						var test = item.updated.indexOf("+0000",0);
						var testing = item.updated.substring(0, test)
						
						html += '<div style="color:#666; font-size:9px;">'
                		+ testing
                		+ '</div>';
           			}
            
           			jQuery('#result').append(html);
        		}    
   			});
		});
