function getRemaining() {
	today = new Date();
	targetdate = new Date("February 14, 2010"); 
	milliseconds = (24 * 60 * 60 * 1000);
	remaining = ((targetdate.getTime() - today.getTime()) / milliseconds); 
	if (remaining < 0) {
		return "!";
	} else {
		return Math.round(remaining);
	}
}
$(document).ready(function(){
	$(".content-homepage").prepend("<div id='countdown_text'>" + getRemaining() + "</div>");
});