function entry_boat(rent_boat, type) {
	boat = list_boat();
	rent_boat.options.length = 0;
	if (type == 0)
	{
		for (i=0; i<boat.length; i++)
		{
			rent_boat.options[i] = new Option(boat[i][3], boat[i][1] + ',' + boat[i][2]);
		}
	}
	else
	{
		index = 0;
		for (i=0; i<boat.length; i++)
		{
			if (boat[i][0] == type)
			{
				rent_boat.options[index++] = new Option(boat[i][3], boat[i][1] + ',' + boat[i][2]);
			}				
		}
	}
}
