"; setData+=" Viewdetails for case number "+data_listP_a[1]+" "; } } refreshCaptcha(); document.getElementById('showList').style.display='block'; document.getElementById('showList1').innerHTML=setData; document.getElementById('showList2').innerHTML=setData1; } function viewHistory(case_no,cino,sel_court_code,fir_no_year,type,str1) { document.getElementById('firstpage').style.display='none'; var send_str="state_code="+state_code; send_str+="&dist_code="+dist_code; send_str+="&cino="+cino; //if(type=='C') { send_str+="&case_no="+case_no; }	send_str+="&court_code="+sel_court_code; send_str+="&appFlag="+""; send_str+="&str1="+str1; send_str+="&lang="; var data_list= xmlHTTP_send_post('o_civil_case_history.php',send_str); document.getElementById('back_top').style.display=''; document.getElementById('back_bottom').style.display=''; document.getElementById('secondpage').innerHTML=data_list; document.getElementById('firstpage').style.display='none'; } function funBack() { document.getElementById('firstpage').style.display=''; document.getElementById('back_top').style.display='none'; document.getElementById('back_bottom').style.display='none'; document.getElementById('secondpage').innerHTML=''; refreshCaptcha(); } function refreshCaptcha() { var captchaObj=document.getElementsByName('captcha'); if(APPSCAN == 'N') captchaObj[0].value=''; else captchaObj[0].value='abcde'; captchaObj[0].focus(); if (typeof window.captcha_image_audioObj !== 'undefined') captcha_image_audioObj.refresh(); document.getElementById('captcha_image').src = '../securimage/securimage_show.php?' + Math.random(); this.blur(); } function playAudioInline(sesscode) { var myarray=sesscode.split(''); var audio1 = document.getElementById('audio1'); var audio2 = document.getElementById('audio2'); var audio3 = document.getElementById('audio3'); var audio4 = document.getElementById('audio4'); for(i=0;i<4 || yearlen >4 ) { alert("Enter year in yyyy format"); document.getElementById('firyear').value=""; document.getElementById('firyear').focus(); return false; } if(checkInteger(document.getElementById('firyear').value) == false) { alert("Enter numeric value"); document.getElementById('firyear').value=''; document.getElementById('firyear').focus(); return false; } if(document.getElementById('firyear').value <1901|| document.getElementById('firyear').value >curr_year) { alert("Enter year from 1901 to" + curr_year); document.getElementById('firyear').value=""; document.getElementById('firyear').focus(); return false; } if(document.getElementById('firyear').value > curr_year) { alert("Year should not be later than current year"); document.getElementById('firyear').value=""; document.getElementById('firyear').focus(); return false; }	} if(document.getElementById('captcha').value == "") { alert("Please Enter Captcha Text" );	document.getElementById('captcha').focus(); return false; }	document.getElementById('showList').style.display='none'; document.getElementById('errSpan').style.display='none'; document.getElementById('divWait').style.display='block'; document.getElementById('waitmsg').focus(); setTimeout(function(){ funShowRec(showRec_send_str); }, 1000); } function funonReset() {	document.getElementById('showList').style.display='none'; document.getElementById('errSpan').style.display='none'; document.getElementById('court_complex_code').value=0; document.getElementById('court_code').value=0; fun_clear_combo(document.getElementById('police_st_code'));	document.getElementById('police_st_code').value=0; document.getElementById('fir_no').value=''; document.getElementById('firyear').value='';	document.getElementById('radP').checked=true; document.getElementById('court_code').focus(); refreshCaptcha(); } //]]>