AI OnAI Off
if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate();
It just checks if there is a function Page_ClientValidate()
In my opinion everything you need is to implement your own validation.
That means you just need to add Page_ClientValidate() function which is not added by default.
Regards,
Dariusz