function isage(str){
var mydate=new date;
var now=mydate.getfullyear();
if (str < now-60 || str > now-18){
return false;
}
return true;