/*  Ian Stephen's new and improved damspam script
Copyright 2003, Ian Stephen
See the readme file distributed with this script
Or see http://www.tradeswest.ca/damspam.html */

function johnDoe(recipient,linkText){
alphaArray = new Array("a","A","b","B","c","C","d","D","e","E","f","F","g","G","h","H","i","I","j","J","k","K","l","L","m","M","n","N","o","O","p","P","q","Q","r","R","s","S","t","T","u","U","v","V","w","W","x","X","y","Y","z","Z",":","@",".","<",">","/","-","=","_"," ","1","2","3","4","5","6","7","8","9","0");
linkStartArray = new Array(55,0,61,14,34,8,10,59,24,0,16,22,38,28,52);
linkEndArray = new Array(55,57,0,56);

switch (recipient)
{
case 'IanStephen':
recipientArray = new Array(16,0,26,53,16,36,58,8,22,8,4,38,34,16,4,54,4,0);
break;
}

// Write the start of the link
for (var Index = 0; Index < linkStartArray.length; Index ++)
{document.write(alphaArray[linkStartArray[Index]])}

// Write the unique bit
for (var Index = 0; Index < recipientArray.length; Index ++)
{document.write(alphaArray[recipientArray[Index]])}

// Finish the opening tag
document.write('>');

// Write the visible text for the link.
if ((linkText == null) || (linkText.length == 0)){
 for (var Index = 0; Index < recipientArray.length; Index ++)
  {document.write(alphaArray[recipientArray[Index]])}}
else {document.write(linkText)}

// Write the closing tag
for (var Index = 0; Index < linkEndArray.length; Index ++)
{document.write(alphaArray[linkEndArray[Index]])}

// End johnDoe
}

function asideWin(params,file){
  /*  if (asidewin && asidewin.open && !asidewin.closed) {asidewin.close()}; */
  asidewin = window.open(file,'',params);
  asidewin.focus();
  // End asideWin
}



