// Paint the link of recently two news title to blue 

$(document).ready(function(){	
	var i = 0;
	
	//Old method
	/*
	$('.home_blog').each(function(){
		
		if (i<2)
			$(this).find('a').css('color', '#2988cc').parent().append('<img src="./mysite/images/new.png" style="margin-left:7px;" />');
		i++;
		
	});
	*/
	
	/* New method -- select the element which <(lt) index 2*/
	$('.home_blog a:lt(2)').css('color','#2988CC').parent().append('<img id="new_news" src="./mysite/images/new.gif"/>');
})