function jsonload(fs_onload) { } function isnumeric(fs_supposedly_numeric_variable,fs_emptyallowed,fs_fixednodigits) { var lv_count,lb_isnumeric=true; allowed='0123456789'; if(lb_isnumeric&&fs_supposedly_numeric_variable=='') { if(fs_emptyallowed!=1) lb_isnumeric=false; } else if(lb_isnumeric&&fs_fixednodigits!=0) { if(fs_supposedly_numeric_variable.length!=fs_fixednodigits) lb_isnumeric=false; } if(lb_isnumeric) { for (lv_count=0;lv_count10) { if(datefield.length==0) date_ok=fs_emptyallowed; else date_ok=0; } else { v_date=datefield.split('-'); if(v_date.length==3) { if(isnumeric(v_date[0],0,0)&&isnumeric(v_date[1],0,0)&&isnumeric(v_date[2],0,0)) { if(v_date[2].length==2) { v_date[2]='20'+v_date[2]; } else if(v_date[2].length!=4) { date_ok=0; } if(!(v_date[2]>1900&&v_date[2]<2010)) { date_ok=0; } if(date_ok==1) { day=v_date[0]; month=v_date[1]; year=v_date[2]; if(!(day>0&&day<32&&month>0&&month<13)) date_ok=0; } } else { alert('numeric'); date_ok=0; } } else { date_ok=0; } } if(date_ok==0) { return false; } else { // alert('goed'); return true; } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i