<!--

function pop(url,nam)
{
var newWin;
newWin =window.open(url,nam,'resizable=yes,scrollbars=yes,status=no,width=860,height=760,toolbar=no,location=no,titlebar=no,alwaysRaised,dependent');
}
//-------------------------------------------------------

function noSpam(user,domain,com,extra) {
  locationstring = "mai" + "lto:" + user + "@" + domain + "." + com + extra;
  window.location = locationstring;
}

function PidProbMail(tid,pid,email) {
  locationstring = "mai" + "lto:" + "probid@" + "pearlware.com" +
   "?subject=Check Purchase ID"+
   "&body=The Purchase ID on my purchase confirmation "+
   "is not recognised by your web site%0A"+
   "Please correct the problem as soon as possible%0A"+
   "My Purchase ID is "+tid+"%0A"+
   "My PicSafe ID is "+pid+"%0A"+
   "My email is "+email+"%0A";
  window.location = locationstring;
}

function MaxKeysMail(tid,pid,email) {
  locationstring = "mai" + "lto:" + "morekeys" + "pearlware.com" +
   "?subject=More keys"+
   "&body=Please enable more registration keys for my PicSafe licence%0A"+
   "My Purchase ID is "+tid+"%0A"+
   "My PicSafe ID is "+pid+"%0A"+
   "My email is "+email+"%0A";
  window.location = locationstring;
}

//***********************************************

function flashframes() 
{
var fram;
 if(document.all) 
 {
   for (i=1; i < frame.length; i++)
   {
  		ff_val[i]=ff_val[i]+ff_dir[i]
  		if (ff_val[i] > 100) { ff_val[i] = 100; ff_dir[i] = -ff_dir[i] }
  		if (ff_val[i] < 0) { ff_val[i] = 0; ff_dir[i] = -ff_dir[i]; ff_image[i]++; 	if (ff_image[i] >= ff_images.length) {ff_image[i]=0} }
  	 fram = frame[i]
 			fram.innerHTML="<img width=50 height=50 style='filter:alpha(opacity="+ff_val[i]+")' src="+ff_images[ff_image[i]]+" border=0 alt='PicSafe Viewer Frame'>";
 		}
		var timer=setTimeout("flashframes()",500)
	}
}

//***********************************************

function CopyToClipboard() 
{
Copied = mess.keytext.createTextRange();
Copied.execCommand("Copy");
}

function newImage(arg) 
{
 if (document.images) 
 {
  rslt = new Image();
  rslt.src = arg;
  return rslt;
 }
}

//

function preloadImages(path) 
{
 if (document.images) 
 {
  pl_spc1 = newImage(path+"spacer.gif");
  pl_spc2 = newImage(path+"spacerb.gif");
 }
}

//var pl_but = new Array();

function preloadButtons() 
{
 if (document.images) 
 {
  for (i=1; i < buttons.length; i++)
  {
    pl_but[i] = newImage(buttons[i]);
  }
 } 
}

-->
