function countdownCounter( dateObj ){

	/*
	Creating countdownCounter Object
	  - month, day, year. hh, mm, ss
	 Example (Create Object):
	    var fedexCupCountdown = new countdownCounter( {month:6, day:16, year:2006, hh:11, mm:00, ss:00} );

	 Example (Call the time function):
	    document.getElementById('countdown_d1').innerHTML = fedexCupCountdown.time( 'day', 0, 1 );
	*/

	this.targetDate = new Date( dateObj.year, dateObj.month-1, dateObj.day, dateObj.hh, dateObj.mm, dateObj.ss );

	this.time = function( timeUnit, start, length ){
		start ++;
		var nowDate = new Date();
		var diff = this.targetDate.getTime() - nowDate.getTime();
		diff = Math.ceil(diff / 1000);
		var output = new Object();

		output.addition    = 0;
		output.day         = String( Math.floor( diff / 60 / 60 / 24 ) );
		output.addition   += parseFloat(output.day*24*60*60);
		output.hh          = String( Math.floor( (diff - output.addition) / 60 / 60  ) );
		output.addition   += parseFloat(output.hh*60*60);
		output.mm          = String( Math.floor( (diff - output.addition) / 60 ) );
		output.addition   += parseFloat(output.mm*60);
		output.ss          = String( Math.floor( (diff - output.addition) ) );
		if( ! length ) length = output[timeUnit].length;
		if( ! start ) start = output[timeUnit].length;
		return ( start <= output[timeUnit].length ) ? output[timeUnit].substr( output[timeUnit].length-start, length) : '0';
	}
}