 
<!-- hide script from old browsers
 				
  // GET QUOTES ***********************************************************************************************
jQuery.noConflict();
(function($) { 
	
	$(document).ready(function() {		

		 $.ajaxSetup({
			cache: false
		 });
  
		
		$.ajax({
			url: 'xml/posts.xml',
			type: 'GET',
			dataType: 'xml', 
			error: function(){
				alert('Error loading Posts XML document');
			},
			success: xmlPosts
		});
		
		
		function xmlPosts(xml)
		{

					var posthtml = ""; 					
					$(xml).find("item").each(function(a) {
					
						// PARSE ID
						var id = $(this).attr("id");
						var idname = $(this).find("title").text(); 
						var hyperlink= idname.replace(/ /g,'');
						var img = $(this).find("img").text(); 		
						  		
						posthtml = posthtml + "<li id='col" + a + "'>";
						
						//PARSE HYPERLINK 
						 posthtml = posthtml + "<a href='blog.html'>";
						
						//PARSE CAPTION AREA 
						posthtml = posthtml + "<div class='snippet' " + "style='background:url(img/posts/"+ img + ".jpg) no-repeat;' >";
						
						//PARSE HEADLINE
						var headline = $(this).find("headline").text();
						posthtml = posthtml + "<h2>" + headline + "</h2>";
						
						//PARSE CALLOUT
						var callout = $(this).find("callout").text();
						posthtml = posthtml + "<p>" + callout + "</p>";
						
						// END PARSE 
						posthtml = posthtml + "</div>"; 
					 	posthtml = posthtml + "</a>";
						posthtml = posthtml + "</li>";  
												
					});	 
					$("#recentposts .post-list").html(posthtml);
					
					
					$(".posts").jCarouselLite({
                                    btnNext: ".old",
                                    btnPrev: ".new",
                                    visible:3,
                                    vertical:false,
                                    easing: "backout",
                                    speed: 1000
                                });
					 
				 



		
		}


// END JQUERY **************************************************************** 
});
})(jQuery);	
 
// END QUOTES ***********************************************************************************************
	 
  // end hiding script from old browsers -->
   

  
