									function request_validation(theForm){
									
										tf = 'true';
										message = 'Please fill in the following fields\n';
										
										if(theForm.roomTypeID.value == ''){
											tf = 'false';
											message += '-----> Room Type\n';
										}
										
										if(theForm.firstName.value == ''){
											tf = 'false';
											message += '-----> First name\n';
										}
										
										if(theForm.lastName.value == ''){
											tf = 'false';
											message += '-----> Last name\n';
										}										

										
										if(theForm.country.value == ''){
											tf = 'false';
											message += '-----> Country\n';
										}
										
										if(theForm.nationality.value == ''){
											tf = 'false';
											message += '-----> Nationality\n';
										}										
										
										
										if(theForm.email.value == ''){
											tf = 'false';
											message += '---> \"email\" field\n';
										}
										else{
											if((theForm.email.value.indexOf('@') == -1)||(theForm.email.value.indexOf('.') == -1)){
												tf = 'false';
												message += '---> \"email\" field is not correct\n';
											} 
										}
									
										if(!theForm.agree.checked){
											message = "Please check the box for policy agreement";
											tf = 'false';
											theForm.agree.focus();
										}
										
										if(tf != 'true'){
											alert(message);
											return false;
										}
										else{
											return true;
										}
									}
