var ip='38.107.179.228'; var OP = (navigator.userAgent.indexOf("Opera") != -1);var IE = (navigator.userAgent.indexOf("MSIE") != -1) && !OP;var FF = !IE && !OP HH=new Array();WW=new Array();TT=new Array();LL=new Array();cr_terug=2;cr_src="";cr_dest="";ustat=0;rstat=0;u=0;menuitem="";preid="";mail="";mailid="0";pwd="";vat="";acc_quot="";acc_exp="";short_msg="";orderpm="";availh=0;busy=false;keyfile="";NOsize=false session="0";convtxt="";cursor=0;rrate=3000;mon_timeout = setTimeout("", 10);TO=false;noise=new Date();retry=0;block=false;pproot="https://www.eucrypt.com/pp.php";cook_pwd="";cook_uid="";bridge=false;pwdremind_acco="";etemplates="";template_current="" _on=""; _off=""; button1='' button2='

' msg_decrypt="With a decrypt-licence you can only encrypt to email-adresses with a valid bridge-licence attached." var xmlhttp=false; try {xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");} catch (e) { try {xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");} catch (E) {xmlhttp = false;}} if (!xmlhttp && typeof XMLHttpRequest!='undefined') {try {xmlhttp = new XMLHttpRequest();} catch (e) {xmlhttp=false;}} if (!xmlhttp && window.createRequest) {try {xmlhttp = window.createRequest();} catch (e) {xmlhttp=false;}} var xmlhttp2=false; try {xmlhttp2 = new ActiveXObject("Msxml2.XMLHTTP");} catch (e) { try {xmlhttp2 = new ActiveXObject("Microsoft.XMLHTTP");} catch (E) {xmlhttp2 = false;}} if (!xmlhttp2 && typeof XMLHttpRequest!='undefined') {try {xmlhttp2 = new XMLHttpRequest();} catch (e) {xmlhttp2=false;}} if (!xmlhttp2 && window.createRequest) {try {xmlhttp2 = window.createRequest();} catch (e) {xmlhttp2=false;}} function drop(ok,cr_original,cr_public,terug) { noise=new Date; if (ok=="1") { if (terug=="0") { src="safe.php?src="+cr_public+"&dst=eu_"+cr_original+'.jpg'+"&id="+session; document.getElementById("id_button").innerHTML="
Use the right mouse-button and save the envelope to disk

" } else { tmp="Ready." document.getElementById("id_button").innerHTML=tmp } } else { switch (ok) { case "NOK1" : document.getElementById("id_button").innerHTML="Invalid session; processing interupted" break; case "NOK2" : document.getElementById("id_button").innerHTML="Communication error; processing interupted" break; case "NOKL" : document.getElementById("id_button").innerHTML="Invalid key" break; case "NOKD" : document.getElementById("id_button").innerHTML="The document cannot be decrypted" break; case "NOK3" : document.getElementById("id_button").innerHTML="An envelope can be decrypted only once. This envelope is useless and you can delete it." break; case "NOKI" : document.getElementById("id_button").innerHTML="Illegal decrypt attempt. This event is reported. Make sure you authenticate with the email-adress indicated as 'destination' on the envelope" break; case "NOK4" : document.getElementById("id_button").innerHTML="Invalid format" break; default : document.getElementById("id_button").innerHTML="Processing error" } } } function gologin() { var sel noise=new Date; mail=escape(document.getElementById("id_login_mail").value) pwd=escape(document.getElementById("id_login_pwd").value) if (cook_uid!="") { cook_uid=mail year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="uid="+mail+";expires="+year.toGMTString()+";secure" } if (cook_pwd!="") { cook_pwd=pwd year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="pwd="+pwd+";expires="+year.toGMTString()+";secure" } old=document.getElementById("id_button").innerHTML document.getElementById("id_button").innerHTML="One moment please ...." xmlhttp2.open("POST","login.php",false); info="id="+session+"&mail="+escape(mail)+"&pwd="+escape(pwd)+"&ip="+ip; xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result.substring(0,2)!="OK") { retry+=1 if (retry>4) {location="index.php";} document.getElementById("id_toon_content").innerHTML="

Maximum 4 retries allowed" toon("",300,"Invalid "+retry) document.getElementById("id_button").innerHTML=old } else { etemplates="" a=result.split("|") bridge=false; if (a[1]=="1") {bridge=true;} acc_quot=a[2];acc_exp=a[3];short_msg=a[4];etemp=a[5].split(","); for (i=1;i'+b[1]+'' } if (acc_quot!="0") {bridge=true} retry=0 ustat=5 menuclci(0) } } function subscribe() { noise=new Date; mail=document.getElementById("id_subscribe").value if ((mail.length>50) || (mail.length<4) || (mail.indexOf("@")<0) || (mail.indexOf(".")<0)) { alert("Invalid mail address") return } document.getElementById("id_button").innerHTML="One moment please ...." xmlhttp2.open("POST","subscribe.php",false); info="id="+session+"&mail="+escape(mail)+"&ip="+ip xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result=="mailsend") { document.getElementById('id_subscr_form').style.visibility='hidden' tmp='Thanks for trusting us !' tmp=tmp+'

Now we will verify that you are the adressee of '+document.getElementById('id_subscribe').value tmp=tmp+'

Go to your email program and wait for a verification email and follow the instructions.' tmp=tmp+'Then return to this page.' tmp=tmp+'

Your request is beeing processed....' ustat=3 menuclci(0) } else if (result=="mailexist") { ustat=2 menuclci(0) toon("msg_already_exist",300,mail) } } function subscribe_2() { noise=new Date; tmp=document.getElementById("id_subscribe_2").value if (tmp.length!=64) { retry=retry+1 if (retry>3) { ustat=0 menuclci(0) } toon("msg_improper_code",300,tmp) return } document.getElementById("id_button").innerHTML="One moment please ...." xmlhttp2.open("POST","subscribe2.php",false); info="id="+session+"&id2="+tmp xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result=="connection") { ustat=2 menuclci(0) toon("",300,"Connection error") } else if (result=="inserterror") { ustat=2 menuclci(0) toon("",300,"Subscription error") } else if (result.indexOf("subscribed")==0) { a=result.split("|"); pwd=a[1] cook_uid=mail pwdremind_acco=mail year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="uid="+mail+";expires="+year.toGMTString()+";secure" cook_pwd=pwd year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="pwd="+pwd+";expires="+year.toGMTString()+";secure" bridge=true;ustat=4 menuclci(0) } } function chngpwd() { noise=new Date; tmp=document.getElementById("id_pwd").value if (tmp.length<6) { toon("msg_improper_pwd",300,"invalid password") return } document.getElementById("id_button").innerHTML="" xmlhttp2.open("POST","subscribe3.php",false); info="id="+session+"&id2="+tmp xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result=="OK") { cook_uid=pwdremind_acco year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="uid="+cook_uid+";expires="+year.toGMTString()+";secure" cook_pwd=tmp year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="pwd="+pwd+";expires="+year.toGMTString()+";secure" ustat=0 menuclci(0) } else { menuclci(0) toon("",300,"invalid password") } } function pwdremind() { noise=new Date; tmp="Forgotten passwords cannot be recovered. Eucrypt can generate a password-renewal request" tmp+=" unless 'allow password-reminder' is switched off for this account.

Enter the email-address below :" tmp+="

" tmp+="

" document.getElementById("id_toon_content").innerHTML=tmp document.getElementById("id_pwdrmnd").value=document.getElementById("id_login_mail").value toon("",400,"password renewal"); } function pwdremind2() { noise=new Date; tmp=document.getElementById("id_pwdrmnd").value pwdremind_acco=tmp document.getElementById("id_toon_content").innerHTML="
One moment please ...
" xmlhttp2.open("POST","pend.php",false); info="id="+session+"&p=1&v="+escape(tmp); xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result=="OK") { sluit() tmp='

Mailbridge code

' tmp=tmp+'



Now go to your Email program and retrieve your security code. Paste (CTRL-V) the code below ' tmp=tmp+'and press the finish-button to complete your request.

' tmp=tmp+'' tmp=tmp+'' tmp=tmp+'
Enter the code you receive :  ' tmp=tmp+'



' document.getElementById("id_dialog1").innerHTML=tmp } else { tmp="
Request is not possible for this account
" document.getElementById("id_toon_content").innerHTML=tmp } } function pwdremind3() { noise=new Date; tmp=document.getElementById("id_subscribe_2").value if (tmp.length!=64) { retry=retry+1 if (retry>3) { ustat=0 menuclci(0) } toon("msg_improper_code",300,tmp) return } document.getElementById("id_button").innerHTML="One moment please ...." xmlhttp2.open("POST","pend.php",false); info="id="+session+"&p=2&v="+tmp xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result.indexOf("subscribed")==0) { a=result.split("|"); pwd=a[1]; tmp='

Password reset

' tmp=tmp+' ' tmp=tmp+'' tmp=tmp+'
Use the one provided or enter your own.

' tmp=tmp+'Take care because it appears as visible tekst. Press "save" when you are finished.

' tmp=tmp+'
' document.getElementById("id_dialog1").innerHTML=tmp cook_uid=pwdremind_acco year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="uid="+cook_uid+";expires="+year.toGMTString()+";secure" cook_pwd=tmp year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="pwd="+pwd+";expires="+year.toGMTString()+";secure" } else { document.getElementById("id_button").innerHTML="Invalid code" } } function poll() { if (busy || (session=="-1")) {return;} busy=true; what="id="+session+"&c="+cursor xmlhttp.open("GET","poll.php?"+what,true); xmlhttp.onreadystatechange=function() {if (xmlhttp.readyState==4) { convtxt=xmlhttp.responseText; status=0 try {parse(convtxt)} catch (errr) {status=1} ; busy=false; }} xmlhttp.send(null); } function mon() { if (ustat>=5) { NU=new Date() if ((noise-NU)>600000) {TO=true;ustat=0;menuclci(0);toon("",300,"Timeout; Logged off")} } if (!block) { clearTimeout(mon_timeout); poll(); mon_timeout = setTimeout("mon()", rrate) } } function parse(txt) { a=txt.split('#') b=a[0].split("|") if (b[0]=='session') { session=b[1] } else if (b[0]=="invalidsession") { document.getElementById("id_5").innerHTML="invalid session:"+session } else if (b[0]=="subscribeerror") { document.getElementById("id_5").innerHTML="invalid code:"+session } else if (b[0]=="mailexist") { document.getElementById("id_5").innerHTML="Mailaddress already exists" ustat=2 menuclci(0) } else if (b[0]=="subscribed") { ustat=4 menuclci(0) } else { try { if (cursor=='undefined') { cursor=0 session=0 document.getElementById("id_5").innerHTML="New session request" } else { if (a[1]=="log") { b=a[2].split(";"); tmp="" for (i=0;i0) { c=b[i].split(":") tmp+="" } } tmp+="
"+c[0]+" : "+c[1]+"
" document.getElementById("id_dialog2").innerHTML=tmp } else if ((a[1]=="block")||(a[1]=="black")) { block=true ustat=0 menuclci(0) document.getElementById("id_3").innerHTML="" } else { if (a[1]!=null) { document.getElementById("id_5").innerHTML=a[1] } } } } catch(e) {} } cursor=a[0] } for (i=0;i<10;i++) {HH[i]=0;WW[i]=0;LL[i]=0;TT[i]=0} HH[1]=173;HH[6]=311; WW[1]=750;WW[6]=397; WW[5]=WW[1]-WW[6] HH[5]=HH[6] menus="captionl;caption;captionr;menu;content;other;logo;logo2".split(";") firstTime=true bordertxt="#dddddd 1px solid" SIZEtimeout=setTimeout("",10); function delaySIZE(SIZEdelay) { clearTimeout(SIZEtimeout) SIZEtimeout = setTimeout("sizen()", SIZEdelay); } function f_filterResults(n_win, n_docel, n_body) { var n_result = n_win ? n_win : 0; if (n_docel && (!n_result || (n_result > n_docel))) n_result = n_docel; return n_body && (!n_result || (n_result > n_body)) ? n_body : n_result; } function f_clientWidth() { return f_filterResults ( window.innerWidth ? window.innerWidth : 0, document.documentElement ? document.documentElement.clientWidth : 0, document.body ? document.body.clientWidth : 0 ); } function f_clientHeight() { return f_filterResults ( window.innerHeight ? window.innerHeight : 0, document.documentElement ? document.documentElement.clientHeight : 0, document.body ? document.body.clientHeight : 0 ); } function sizen() { if (NOsize) {return;} noise=new Date; var e=document.getElementById("menu1") var ee=document.body.childNodes if (FF) { availw=document.body.clientWidth availh=document.body.clientHeight } else { availh=f_clientHeight() availw=f_clientWidth() } if (availw<1024) { WW[0]=0; WW[2]=0; document.body.style.overflow="scroll" } else { WW[0]=Math.floor((availw-WW[1])/2); WW[2]=availw-WW[1]-WW[0]; //if (WW[2]<30) {WW[7]=WW[0]} else {WW[7]=30} document.body.style.overflow="hidden" } HH[5]=availh-HH[1]-HH[6]; if (HH[5]<50) {HH[5]=50} HH[4]=HH[5]+HH[6] HH[3]=HH[4]; HH[0]=availh;HH[2]=availh; x=0;y=0;extra=0 for (var i=0;i0) {ee.style.visibility="visible"} else {ee.style.visibility="hidden"} break; case 1: //caption TT[i]=0;LL[i]=WW[0];ee.style.visibility="visible";ee.style.zIndex=2 break; case 2: // captionR break; case 3: // menu extra=Math.floor(WW[0]/4) TT[i]=HH[1];LL[i]=extra;WW[i]=200+extra;ee.style.visibility="visible" break; case 4: //content WW[4]=availw-WW[3]-WW[6]-extra if (WW[4]<660) {WW[4]=660} TT[i]=HH[1];LL[i]=LL[3]+WW[3];ee.style.visibility="visible" ee.style.border=bordertxt if (FF) {ee.style.overflowY="scroll"; HH[i]-=25} else {ee.style.overflowY="auto"} break; case 5: // other if (HH[5]==50) {ee.style.overflowy="scroll"} else {ee.style.overflow="hidden"} TT[i]=TT[3];LL[i]=LL[4]+WW[4];WW[5]=WW[6];ee.style.visibility="visible" if (FF) {LL[i]+=25} break; case 6: //logo TT[i]=TT[5]+HH[5];LL[i]=LL[4]+WW[4];ee.style.visibility="visible" if (FF) {LL[i]+=25} break; case 7: // punt TT[i]=TT[6]+180;LL[i]=LL[6]-27;HH[i]=30;WW[i]=40;ee.style.visibility="visible";ee.style.zIndex=1;break } ee.style.top=TT[i]+"px";ee.style.left=LL[i]+"px";ee.style.width=WW[i]+"px";ee.style.height=HH[i]+"px"; } ee=document.getElementById("id_dyn") ee.style.top=TT[1]+"px";ee.style.left=LL[1]+"px";ee.style.width=WW[1]+"px";ee.style.height=HH[1]+"px";ee.style.visibility="visible";ee.style.zIndex=1 if (firstTime) { var a=document.cookie.split(";"); for (i=0;i"+b[1]+"" } txt+="" document.getElementById("id_3").innerHTML=txt } function shop(e) { if (e==1) { tmp="

Pending order


You have a pending order; Please complete it first." document.getElementById("id_toon_content").innerHTML=tmp menuclci(6) invoice_log() toon("",400,"Pending order") } else { pcode=document.getElementById("id_pcode").value if (pcode!="") { xmlhttp2.open("POST","pend.php",false); info="id="+session+"&prc="+pcode xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); tmp=xmlhttp2.responseText; account_detail(); document.getElementById("id_toon_content").innerHTML=tmp toon("",400,"Promotion code") } else { tmp=document.getElementById("id_pp").innerHTML.replace(/__/g,"idpp_") document.getElementById("id_4").innerHTML=tmp document.getElementById("id_4").scrollTop=0 calc() } } } function enternkey(e,ee) { noise=new Date; var key = window.event ? e.keyCode : e.which; var keychar = String.fromCharCode(key) reg = /\d/; setTimeout("calc()", 500); if (keychar.charCodeAt(0)==8){ return true } else if (reg.test(keychar)) { if (ee.id=="id_bestelv_n1") { if (keychar!="0" && keychar!="1") return false } return true } else { return false } } function calc(){ noise=new Date; vatt=0;if (vat=="") {vatt=19} else if (vat.substring(0,2)=="NL") {vatt=19} e1=document.getElementById("idpp_pp_1");u1=e1.parentNode.nextSibling.nextSibling e2=document.getElementById("idpp_pp_2");u2=e2.parentNode.nextSibling.nextSibling if ((e1.value>0 || bridge) && e2.value>0) {toon("help_dubble",300,"warning")} if (1*e1.value>12) {e1.value=12} if (1*e2.value>10) {e2.value=10} if (1*e1.value==0) {up1=15} else {up1=15.5-0.5*(e1.value)} if (1*e2.value==0) {up2=15} else {up2=15.5-0.5*(e2.value)} u1.innerHTML="€ "+goformat(up1) u2.innerHTML="€ "+goformat(up2) u1.nextSibling.innerHTML="€ "+goformat(e1.value*up1) u2.nextSibling.innerHTML="€ "+goformat(e2.value*up2) x=e1.value*up1+e2.value*up2 o=e1.value+"_"+e2.value+"_"+goformat(up1)+"_"+goformat(up2)+"_" o+=goformat(e1.value*up1)+"_"+goformat(e2.value*up2)+"_"+goformat(x)+"_"+goformat(vatt) o+="_"+goformat(x*(vatt/100))+"_"+goformat(x*(1+vatt/100)) document.getElementById("idpp_subtotal").innerHTML="€ "+goformat(x) document.getElementById("idpp_pbtw").innerHTML=goformat(vatt)+" %" document.getElementById("idpp_vat").innerHTML="€ "+goformat(x*(vatt/100)) document.getElementById("idpp_total").innerHTML="€ "+goformat(x*(1+vatt/100)) //document.getElementById("idpp_amount").value="€ "+goformat(x*(1+vatt/100)) orderpm="id="+session+"&o="+o } function order() { noise=new Date; xmlhttp2.open("POST","pp.php",false); info=orderpm xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result=="OK") { tmp='

Order

' tmp+='

Your order is processed and an invoice is send to your email-address.
' tmp+='Please add the invoice to your administration and respect the expiration date.' document.getElementById("id_toon_content").innerHTML=tmp menuclci(6) invoice_log(); toon("",400,"Order processed") } else { tmp='

Error

An error occurred while processing; Please try again or use the contact menu to contact us.' document.getElementById("id_toon_content").innerHTML=tmp toon("",400,"Error processing order") } } function goformat(e) { var deel var komma=(1/2)+"0" var heel=Math.floor(e) komma=komma.substring(1,2) if (e-heel==0) { deel=komma+"00" } else { deel=e-heel+"00"; deel=deel.substring(1,4) } return heel+deel.substring(0,3) } function menuover(e) {if (menuitem!=e) {e.style.textDecoration="underline";menuitem=e} } function menuout(e) {e.style.textDecoration="none";menuitem=null} function menuclci(e) { menuclc(document.getElementById(preid+"_"+e)) } function menuclc(e) { noise=new Date; try { document.getElementById("id_toon").style.visibility="hidden" ee=document.getElementById("id_"+i) } catch (ex) {} var a=document.getElementById(preid).innerHTML.split(";") for (var i=0; i

Please use the menu on your left to get acquainted with Eucrypt.' tmp=tmp+'

If you want to send or receive "eucrypted" documents with a particular email address you need to enter ' tmp=tmp+'that email-address below and we will send you a verification email.' tmp=tmp+'

Subscription and decryption services are free of charge.' tmp+=" "; tmp=tmp+'

  • Be sure you know and agree to the rules and conditions before you subscribe.' tmp=tmp+'
  • Prepare your Email software. Immediately after you press the subscribe button you will receive a verification email' tmp=tmp+'' tmp=tmp+'' tmp=tmp+'' ee.innerHTML=tmp ustat=0 } if (ustat==3) { tmp='

    Mailbridge code

    ' tmp=tmp+'



    Now go to your Email program and retrieve your security code. Paste (CTRL-V) the code below ' tmp=tmp+'and press the finish-button to complete your subscription.

    ' tmp=tmp+'

  • Enter the email address to subscribe :  ' tmp=tmp+'



  • ' tmp=tmp+'' tmp=tmp+'
    Enter the code you receive :  ' tmp=tmp+'



  • ' ee.innerHTML=tmp ustat=0 } if (ustat==4) { tmp='

    '+mail+' Subscribed

    ' tmp=tmp+'



    You successfully subscribed to Eucrypt !' tmp=tmp+'

    ' tmp=tmp+'' tmp=tmp+'
    Your first key is a password. Use the one provided or enter your own. ' tmp=tmp+'Take care because it appears as visible tekst. Press "save" when you are finished.' tmp=tmp+'
    ' ee.innerHTML=tmp } if (ustat==5) { tmp='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='

    '+mail+'



    Eucrypt provides five functions. ' tmp+='We have preprared an animation to demonstrate transport and the encryption/decryption process :

    ' tmp+='  .' tmp+='
  • Decrypt is for recipients to open an envelope that contains encrypted information.' tmp+='
  • Encrypt is for senders to secure a file and to wrap it in an envelope. ' tmp+='The sender must use his own email-program (or any other medium) to send the envelope.
  • ' tmp+='
  • Forward does the same as encrypt, but the envelope is send immediately by Eucrypt to its destination.
  • The message function can be used to send a short encrypted message immediately to a destination.
  • The receipt function can be used to verify the reception and successfull decryption of a document. ' tmp+='The receipt cannot be forged by the sender and can be verified by a third party.

  • ' tmp+='      
     
    ' ee.innerHTML=tmp } if (ustat==6) {//target="crypt_result_iframe" tmp='

    Back
    ' tmp+='
    ' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='

    Decrypt
     

    Point to the envelope to be decrypted :
    Destination :


    ' tmp+='' tmp+='' tmp+='' tmp+='
    ' ee.innerHTML=tmp document.getElementById("id_source").value=mail document.getElementById("id_source2").value=mail document.getElementById("id").value=session ustat=5 } if (ustat==7) {//target="crypt_result_iframe" tmp='
    Back
    ' tmp+='
    ' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' if (bridge) { tmp+='' } else { tmp+='' } tmp+='' tmp+='' tmp+='' tmp+='' tmp+='

    Encrypt
     

    Point to the file to be encrypted :
    Enter a valid destination email-address :
    Choose an envelope style :
    Source :
    ' tmp+='' tmp+='' tmp+='' tmp+='
    ' ee.innerHTML=tmp if (bridge) { document.getElementById("id_test").innerHTML="" document.getElementById("id_button").innerHTML=button2 } else { document.getElementById("id_test").innerHTML=button1 document.getElementById("id_button").innerHTML=msg_decrypt } document.getElementById("id_source").value=mail document.getElementById("id_source2").value=mail document.getElementById("id").value=session ustat=5 } if (ustat==8) { tmp='
    Back
    ' tmp+='
    ' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' if (bridge) { tmp+='' } else { tmp+='' } tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='

    Forward
     

    Point to the file to be encrypted :
    Enter a valid destination email-address :
    Subject :
    Enter a short message for the recipient. This will not be encrypted' tmp+='


    Choose an envelope style :
    Source :
    ' tmp+='' tmp+='' tmp+='' tmp+='
    ' ee.innerHTML=tmp if (bridge) { document.getElementById("id_test").innerHTML="" document.getElementById("id_button").innerHTML=button2 document.getElementById("ibutton_encrypt").value="Forward" } else { document.getElementById("id_test").innerHTML=button1 document.getElementById("id_button").innerHTML=msg_decrypt } document.getElementById("id_body").value=short_msg document.getElementById("id_source").value=mail document.getElementById("id_source2").value=mail document.getElementById("id").value=session ustat=5 } if (ustat==9) { //target="crypt_result_iframe" tmp='
    Back
    ' tmp+='
    ' tmp+='' tmp+='' tmp+='' if (bridge) { tmp+='' } else { tmp+='' } tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='

    Message
     

    Enter a valid destination email-address :
    Subject :
    Enter a short message for the recipient. This will not be encrypted' tmp+='


    Enter a confidential message for the recipient. This will be encrypted and wrapped in the envelope
    Choose an envelope style :
    Source :


    ' tmp+='' tmp+='' tmp+='' tmp+='
    ' ee.innerHTML=tmp document.getElementById("id_body").value=short_msg if (bridge) { document.getElementById("id_test").innerHTML="" document.getElementById("id_button").innerHTML=button2 document.getElementById("ibutton_encrypt").value="Send Message" } else { document.getElementById("id_test").innerHTML=button1 document.getElementById("id_button").innerHTML=msg_decrypt } document.getElementById("id_source").value=mail document.getElementById("id_source2").value=mail document.getElementById("id").value=session ustat=5 } if (ustat==10) { tmp='
    Back
    ' tmp+='
    ' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='' tmp+='

    Receipt verification
     

    ' tmp+='

    When the recipient decrypts your envelop, Eucrypt will send you a receipt. ' tmp+='A receipt is a unique code (a hash, signed by Eucrypt) that is calculated from the envelop contents at the moment of decryption. ' tmp+='If you (or a third party) need(s) proof that the recipient received and decrypted a document, ' tmp+='you can enter the receipt and the recipient address here and point to the original document. ' tmp+='Eucrypt will testify whether the recipient received and decrypted this exact document.

    ' tmp+='

    Point to the original document
    Recipient
    Receipt


    ' tmp+='' tmp+='' tmp+='' tmp+='
    ' ee.innerHTML=tmp document.getElementById("id_source").value=mail document.getElementById("id_source2").value=mail document.getElementById("id").value=session ustat=5 } } if (a[a.length-1]=="5") { } if (a[a.length-1]=="3") { if (ustat>=5) { document.getElementById("id_v_1").value=mail document.getElementById("id_v_1").disabled=true } } if (a[a.length-1]=="7") { } if (a[a.length-1]=="8") { } if (a[a.length-1]=="a") { } sizen() } function handle2(e) { switch (e.parentNode.id) { case "id_save_uid": if (e.src.indexOf("disk")>=0) { w8clc("save_uid_on") cook_uid=e.parentNode.firstChild.value;mail=cook_uid year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="uid="+cook_uid+";expires="+year.toGMTString()+";secure" e.src="img/wis.png" e.title="Dont store on this computer" } else { w8clc("save_uid_off") document.cookie="uid=;expires=Fri, 02-Jan-1970 00:00:00:00 GMT" cook_uid="";mail=cook_uid e.parentNode.firstChild.value="" e.src="img/disk.jpg" e.title="Store on this computer" } break; case "id_save_pwd": if (e.src.indexOf("disk")>=0) { w8clc("save_pwd_on") cook_pwd=e.parentNode.firstChild.value;pwd=cook_pwd year=new Date();year.setFullYear(year.getFullYear()+1); document.cookie="pwd="+cook_pwd+";expires="+year.toGMTString()+";secure" e.src="img/wis.png" e.title="Dont store on this computer" } else { w8clc("save_pwd_off") document.cookie="pwd=;expires=Fri, 02-Jan-1970 00:00:00:00 GMT" cook_pwd="";pwd=cook_pwd e.parentNode.firstChild.value="" e.src="img/disk.jpg" e.title="Store on this computer" } break; } } function handle(e) { switch (e.parentNode.parentNode.id) { case "id_signal": document.getElementById("id_toon_content").innerHTML=document.getElementById("help_signal").innerHTML toon("",400,"Signal decryption event") break; case "id_remind": document.getElementById("id_toon_content").innerHTML=document.getElementById("help_remind").innerHTML toon("",400,"Password reminder") break; case "id_pwdchange": document.getElementById("id_toon_content").innerHTML=document.getElementById("help_pwdchng").innerHTML toon("",400,"Password change") break; case "id_accounttype": document.getElementById("id_toon_content").innerHTML=document.getElementById("help_account").innerHTML toon("",400,"Account types") break; case "id_company": case "id_vat": document.getElementById("id_toon_content").innerHTML=document.getElementById("help_company").innerHTML toon("",400,"Tax versus privacy") document.getElementById("id_i_company").value=document.getElementById("id_v_company").innerHTML document.getElementById("id_i_vat").value=document.getElementById("id_v_vat").innerHTML break; case "id_mb": document.getElementById("id_toon_content").innerHTML=document.getElementById("help_mb").innerHTML toon("",400,"Encryption volume") break; case "id_expiration": document.getElementById("id_toon_content").innerHTML=document.getElementById("help_expiration").innerHTML toon("",400,"Licence validity") break; } } function enter_vat() { document.getElementById("id_dialog2").innerHTML="One moment please ..."; var vat=document.getElementById("id_i_vat").value var comp=document.getElementById("id_i_company").value sluit() xmlhttp2.open("POST","pend.php",false); info="id="+session+"&b="+escape(vat)+"&bc="+escape(comp); xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result=="0") { account_detail(); } else if (result=="1") { document.getElementById("id_dialog2").innerHTML="Invalid VAT number"; } else if (result=="2") { document.getElementById("id_dialog2").innerHTML="European database temporarily unavailable; please try again."; } else { document.getElementById("id_dialog2").innerHTML="Unknown error"; } } function switch_key() { sluit(); ee=document.getElementById("id_dialog2").innerHTML="One moment please ..." xmlhttp2.open("POST","pend.php",false); info="id="+session+"&c=key"; xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result=="0") { ee=document.getElementById("id_dialog2").innerHTML="Key dropped" } else { tmp="Key generated. Use the right-mouse-key on the image below and use 'save as' to store it; Use a filename and extension to disguise it." tmp+="

    " tmp+="

    You can remove the key before the document is decrypted. The recipient will not be able to open the envelope after this action." tmp+="

    " document.getElementById("id_toon_content").innerHTML=tmp toon("",400,"Key removal") } function remove_key(id) { w8clc("ibutton_removekey") ee=document.getElementById("id_dialog2").innerHTML="Key removal" xmlhttp2.open("POST","pend.php",false); info="id="+session+"&f="+id.substring(4); xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; ee=document.getElementById("id_dialog2").innerHTML=result sluit() account_pending() } function shortmsg_save() { document.getElementById("id_savemsgshrt").src="img/spacer.gif" short_msg=document.getElementById("id_body").value xmlhttp2.open("POST","pend.php",false); info="id="+session+"&msg="+escape(short_msg) xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; document.getElementById("id_savemsgshrt").src="img/disk.jpg" } function account_log(){ document.getElementById("id_dialog2").innerHTML="One moment please ..." window.open("req.php?id="+session) } function invoice_log(){ document.getElementById("id_dialog2").innerHTML="One moment please ..." xmlhttp2.open("POST","pend.php",false); info="id="+session+"&i=0"; xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; document.getElementById("id_dialog2").innerHTML=result } function getinvoice(e) { window.open("req.php?id="+session+"&i="+e.id) } function eu_1() { var ok=true var msg="" if (document.getElementById("id_data")!=null) { if (document.getElementById("id_data").value=="") { ok=false msg="No file indicated yet" } } if (ok && document.getElementById("id_subject")!=null) { if (document.getElementById("id_subject").value=="") { ok=false msg="No subject" } } if (ok && document.getElementById("id_body2")!=null) { if (document.getElementById("id_body2").value=="") { ok=false msg="No message to encrypt" } } if (ok) { tmp="One moment please ...." document.getElementById("id_button").innerHTML=tmp document.getElementById("id_crypt").submit() } else { tmp=button2+"
    "+msg document.getElementById("id_button").innerHTML=tmp } } function eu_2() { tmp="IMPORTANT ! SAVE THE RESULTS FIRST. The envelope is decrypted only once." tmp+="

    One moment please ....
    " document.getElementById("id_button").innerHTML=tmp document.getElementById("id_crypt").submit() } function eu_test() { document.getElementById("id_button").innerHTML="One moment please ..." document.getElementById("id_test").innerHTML="" xmlhttp2.open("POST","pend.php",false); info="id="+session+"&t="+document.getElementById("id_destination").value; xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; if (result=="OK") { document.getElementById("id_test").innerHTML="" document.getElementById("id_button").innerHTML=button2 } else { document.getElementById("id_test").innerHTML=button1 document.getElementById("id_button").innerHTML=document.getElementById("id_destination").value+" has no bridge-licence attached." } } function eu_test_reset() { if (document.getElementById("id_button").innerHTML.indexOf("button")>=0) { document.getElementById("id_button").innerHTML=msg_decrypt document.getElementById("id_test").innerHTML=button1 } } function template_chng(e,def) { template_current=e.id.substring(9) tmp="" if (def==1) { tmp+="
    " tmp+="
    " } else { tmp+="
    " } tmp+="
    " tmp+="

    " document.getElementById("id_toon_content").innerHTML=tmp toon("",400,"Change template") } function template_add() { //target="crypt_result_iframe" tmp="

    An envelope template serves as an image to transport and present encrypted information to a recipient." tmp+="

  • Make sure that the recipient understands the purpose of the image." tmp+="
  • The width of the image must be 624 pixels. The minimum height is 400 pixels." tmp+="
  • Eucrypt prints three fields on the envelope : source, destination and a label. " tmp+="Accomodate a light background between the coordinates (x,y) : (200,230) and (300,600)

    " tmp+='
    ' tmp+='' tmp+='' tmp+="" tmp+="" tmp+="
    Name :
    Image :
    " document.getElementById("id_toon_content").innerHTML=tmp toon("",400,"Add template") } function template_rename(def) { xmlhttp2.open("POST","pend.php",false); info="id="+session+"&e=2&spec="+escape(document.getElementById("id_templd_name").value)+"&envelop="+template_current+"&default="+def; xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); etemplates=xmlhttp2.responseText; sluit();account_templates(); } function template_submit() { document.getElementById("id_templateform").submit() } function template_delete() { xmlhttp2.open("POST","pend.php",false); info="id="+session+"&e=4&envelop="+template_current xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); etemplates=xmlhttp2.responseText; sluit();account_templates(); } function toon2(e) { ee=document.getElementById("id_toon2").innerHTML=document.getElementById(e).innerHTML } function sendit(e) { xmlhttp2.open("POST","pend.php",false); info="id="+session+"&m="+escape(document.getElementById("id_v_1").value)+"&mm="+escape(document.getElementById("id_v_2").value); xmlhttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); xmlhttp2.send(info); result=xmlhttp2.responseText; document.getElementById("id_4").innerHTML="

    Message is send

    A copy is send to your EMail address." } function toon(e,l,t) { w8clc(t);noise=new Date; ee=document.getElementById("id_toon") ee.style.overflowY="scroll" ee.style.border=bordertxt ee.style.top="0px" ee.style.height=null ee.style.left=(availw-l)+"px" ee.style.width=l+"px" if (e!="") { ex=document.getElementById(e) document.getElementById("id_toon_content").innerHTML=ex.innerHTML } document.getElementById("id_toon_titel").innerHTML=t ee.style.visibility="visible" ee.style.zIndex=4 if (ee.clientHeight>(availh-20)) {ee.style.height=availh-20} } function sluit() {document.getElementById("id_toon").style.visibility="hidden"} function anim(x) { noise=new Date; if (x==1) { document.getElementById("id_anim_b").innerHTML="" } else { document.getElementById("id_anim_b").innerHTML="" } document.getElementById("id_anim_a").innerHTML="" }