$(function() {
										$( "#datepicker" ).datepicker({ dateFormat: 'dd-mm-yy' });
									});
									
									var yourname = new LiveValidation( 'yourname' );
									yourname.add( Validate.Presence );
									var emailadd = new LiveValidation( 'emailadd' );
									emailadd.add( Validate.Email );
									emailadd.add( Validate.Presence );
									var reason = new LiveValidation( 'reason' );
									reason.add( Validate.Presence );
									var comments = new LiveValidation( 'comments' );
									comments.add( Validate.Presence );
									var yournumber = new LiveValidation( 'yournumber' );
									yournumber.add( Validate.Presence );
									yournumber.add( Validate.Numericality, { onlyInteger: true } );								
									yournumber.add( Validate.Length, { minimum: 8 } );
									yournumber.add( Validate.Length, { maximum: 12 } );
																								
									if (document.getElementsByTagName) {
										var inputElements = document.getElementsByTagName("input");
										for (i=0; inputElements[i]; i++) {
											if (inputElements[i].className && (inputElements[i].className.indexOf("disableAutoComplete") != -1)) {
												inputElements[i].setAttribute("autocomplete","off");
											}//if current input element has the disableAutoComplete class set.
										}//loop thru input elements
									}//basic DOM-happiness-check 
