function selectdate(formname,currentdate)
	{
	{LeftPosition=(screen.width)?(screen.width-250)/2:100;TopPosition=(screen.height)?(screen.height-240)/2:100;}
	self.name = 'opener';
	remote = open('include/chooseDate.asp?name=' + formname + '&sdate=' + currentdate, 'remote', 'width=250,height=240,top=' + TopPosition + ',left=' + LeftPosition + ',location=no,scrollbars=no,menubars=no,toolbars=no,resizable=no,fullscreen=no');
 	remote.focus();
	}
function limite(zone,max)
	{
	if(zone.value.length>=max){zone.value=zone.value.substring(0,max);}
	}
function popup_upload_file(parameters)
	{
	{LeftPosition=(screen.width)?(screen.width-600)/2:100;TopPosition=(screen.height)?(screen.height-250)/2:100;}
	self.name = 'opener';
	remote = open('include/UploadFile.asp?' + parameters, 'remote', 'width=600,height=250,top=' + TopPosition + ',left=' + LeftPosition + ',location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no,fullscreen=no');
 	remote.focus();
	}