/* ------------------------------------------|
 |  JavaScripts for www.puresauce.co.uk      |
 |  Author: Peter Smith                      |
 |  URL www.syntaxsandbox.co.uk              |
 |  Date Last Edited: 26/07/2010             |
 |-------------------------------------------| */


function setMsg(msg)
{
   window.status = msg;
   return true;
}


/* ------ antiSpam email function ------ */

function noSpam(usr)
{

var strVic = new String("mailto:");
strVic += "%76%69%63%6b%69%40%70%75%72%65%73%61%75%63%65?s";
strVic += "ubject=%50%75%72%65%73";
strVic += "%61%75%63%65%20%45%6e%71%75%69%72%79";

var strAl = new String("mailto:");
strAl += "%61%6c%69%63%65%40%70%75%72%65%73%61%75%63%65?s";
strAl += "ubject=%50%75%72%65";
strAl += "%73%61%75%63%65%20%45%6e%71%75%69%72%79";


   switch(usr)
   {
      case "vicki":
      window.location.href = strVic;
      break;

      case "alice":
      window.location.href = strAl;
      break;
      default:
   }

}

/* ------ frame buster ------ */


if(top != self)
{
   top.location = location;
}


/* ------ end javascripts ------ */





