/* ------------------------------------------- 
Xpass2 - copyright COMPRIS
info@compris.nl 
---------------------------------------------*/

Jsd = "../shared/scripts/"

xp =" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890./%?&#*+=-_;:~"

xpl = (xp.length-1)/2

function mx(R)
{
str=xp
while (R>0)
 {
 str1=" "
 for (T=xpl*2;T>xpl;T--) {str1+=str.charAt(T) + str.charAt(T-xpl)}
 str=str1
 R--
 }
}

function No()
{
nw=window.open("", "", "width=400,height=200")
nw.document.write('<html><body><center><br><b>Deze pagina is beschermd door een CODE<\/b><br>' +
'Vraag deze evt. aan via email: <a href="mailto: info@compris.nl">info@compris.nl<\/a><br>' +
'<br><a href="Javascript:window.close()" title="EXIT">Venster sluiten<\/a><\/center><\/body><\/html>')
}

function disp(x) {document.write(x)}

function xsh(x)  {document.write('<textarea rows="20" cols="90">' + x + '</textarea>')}
 
function ctw(code)
{
word=""
mx(code.substring(1,2))
for (T=code.length-2;T>=2;T-=2) {word+=str.charAt(code.substring(T,T+2))}
return word
}

function js(word)
{
return ('<script language="JavaScript" src="' + word +'"><\/script>')
}

function dt()
{
mn=new Array("jan","feb","mrt","apr","mei","juni","juli","aug","sep","okt","nov","dec")
d = new Date(document.lastModified)
return (d.getDate() + " " + mn[d.getMonth()] + " " + d.getFullYear())
}

