function formatDate(date) {
	//date = new Date();
	year = date.getYear();
	if (year < 1000) year+=1900;
	s = new String(year);
	s = s.substring(2,4);
	day = date.getDate();
	//month = date.getMonth();
	monthd = date.getMonth() + 1;
	if (monthd<10) monthd = "0" + monthd;
	//string str;
	return (day + "/" + monthd + "/" + s);
}

