
	function showtime( yr , m , d , h, mi , s )
	{

		var id 		= 'showtime';
		var time_target	= '';
		obj		= document.getElementById(id);

		theyear 	= yr;
		themonth 	= m;
		theday 		= d;
		thehour 	= h;
		theminute 	= mi;
		thesecond 	= s;

		var today	= new Date();
		var todayy	= today.getYear();
		var montharray	= new Array( 'Jan' , 'Feb' , 'Mar' , 'Apr' , 'May' , 'Jun' , 'Jul' , 'Aug' , 'Sep' , 'Oct' , 'Nov' , 'Dec' );

		if (todayy < 1000) todayy += 1900;

		var todaym	= today.getMonth();
		var todayd 	= today.getDate();
		var todayh 	= today.getHours();
		var todaymin	= today.getMinutes();
		var todaysec 	= today.getSeconds();
		var todaystring	= montharray[todaym]+' '+todayd+', '+todayy+' '+todayh+':'+todaymin+':'+todaysec;
		futurestring	= montharray[m-1]+' '+d+', '+yr+' '+h+':'+mi+':'+s;
		dd		= Date.parse(futurestring)-Date.parse(todaystring);
		dday		= Math.floor(dd/(60*60*1000*24)*1);
		dhour		= Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1);
		dmin		= Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1);
		dsec		= Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1);
		som		= dday + dhour + dmin + dsec;

		if ( som > 0 )
		{

			if ( dday > 0 )
			{
				showstr		= 'Kijk hier over<br /><font color=red size=3 >' + dday + '</font> dag, <font color=red size=3 >'+dhour+'</font> uren,<br /><font color=red size=3 >'+dmin+'</font> minuten en <font color=red size=3 >'+dsec+'</font> secondes';

			}else {
				showstr		= 'Kijk hier over<br /><font color=red size=3 >'+dhour+'</font> uren,<br /><font color=red size=3 >'+dmin+'</font> minuten en <font color=red size=3 >'+dsec+'</font> secondes';
			}
		}else{
			showstr = '<a href=\"/out.php?id=21\" target=\"_blank\"><img src=\"/images/logo_jeugd_tt.jpg\" border=\"0\" alt=\"\" /></a>';
		}

		obj.innerHTML	= showstr;

		setTimeout('showtime( theyear , themonth , theday , thehour , theminute , thesecond )',1000);

	}

