function processSubmit(){ //document.CollectMFPToEvaluate.action = contextPath+"/flow/ArRFCreateUser.jsp"; //document.CollectMFPToEvaluate.submit(); } var client; function riskInit(){ try{ client = new ca.rm.Client(); var contextPath = "/CAClientPages/new_images/FLASH"; client.setProperty("baseurl", contextPath); collectingSystemInfo(); }catch(e){ } } function collectingSystemInfo() { try{ client.setProperty("externalip", "207.241.233.81"); client.setProperty("format", "json"); client.setProperty("didname", "RFDEVICEID_COOKIE_KEY"); client.loadFlash(readyCallback); }catch(e){ } } function readyCallback(flag){ processDDNA(); } function getCallerID() { return "11981192"; } function processDDNA() { client.processDNA(); var dna = client.getDNA(); var time = client.getTimeTaken(); var did = client.getDID(); document.mainform.MFP.value = dna ; document.mainform.IpAddress.value = '207.241.233.81'; document.mainform.CallerID.value = getCallerID(); document.mainform.DeviceID.value = did; document.mainform.deviceDNA.value = dna; document.mainform.executionTime.value = time; }