// -------------------------- // bio captcha // -------------------------- function bio_captcha( formID, action ) { if(!document.getElementById("security_code")) { var fld = document.createElement('input'); fld.setAttribute('type', 'hidden'); fld.setAttribute('name', 'security_code'); fld.setAttribute('value', '0'); fld.id = 'security_code'; document.getElementById(formID).appendChild(fld); } var wgCl = new gausClientInterface(); var gCl = new gausClient(wgCl); var act = encodeURI(action); gCl.identify('http://captcha.gaus24.com/nolang/scr/captcha/process.php/rvqqj18nik00t2q0nsmktcf4v0/'+act); } // --------------------------- // include and initialize gaus client js & css // --------------------------- function init_gaus_client() { if(!document.getElementById("gaus_client_js")) { var client = document.createElement('script'); client.setAttribute('type', 'text/javascript'); client.src = "http://captcha.gaus24.com/rus/scr/gaus-client/gausclient.js.php"; client.id = "gaus_client_js"; document.getElementsByTagName('head')[0].appendChild(client); } if(!document.getElementById("gaus_inface_js")) { var inface = document.createElement('script'); inface.setAttribute('type', 'text/javascript'); inface.src = "http://captcha.gaus24.com/rus/scr/gaus-client/gausclientinterface.js.php"; inface.id = "gaus_inface_js"; document.getElementsByTagName('head')[0].appendChild(inface); } if(!document.getElementById("gaus_client_css")) { var css = document.createElement('link'); css.setAttribute('type', 'text/css'); css.setAttribute('rel', 'stylesheet'); css.href = "http://captcha.gaus24.com/system/application/vf_controllers/gaus-client/gausclient.css"; css.id = "gaus_client_css"; document.getElementsByTagName('head')[0].appendChild(css); } } init_gaus_client();