function Apply(id) {

	var text = 	"<h3>Application:</h3>" +


			"<form enctype='multipart/form-data' method='post' action='?a=calendar&do=add&id="+id+"'>" +
			"<div>Name:</div><div><input type='text' name='name'></div>" + 
			"<div>Description:</div><div><textarea name='description' style='width: 250px; height: 200px;'></textarea></div>" + 
			"<div>Attachment: <img src='images/word.jpg'> <img src='images/excel.jpg'> <img src='images/adobe.jpg'></div><div><input type='file' name='upfile' size='20' /></div>" + 
		"<div><input type='submit' value='Add'></div><input type='hidden' name='posted' value='yes'><input type='hidden' name='form_name' value='application_add'></form>";

	

	document.getElementById('calendar_form').innerHTML = text;
}
