// opens calendar
function OpenCalendar(formfield,language,type,date,mapdir) {

	url = mapdir + '/js/calendar2.cfm?language=' + language + '&type=' + type + '&formfield=' + formfield + '&date=' + escape(date);
	win = window.open(url,'calendar','height=200,width=270');
	win.focus();

}