// <!--


//Load images for Javascript manipulation

  if(document.images) {
    footer_out=new Image
    footer_over=new Image

    footer_out.src="images/ftr_parch_right_out.gif"
    footer_over.src="images/ftr_parch_right_ovr.gif"
  }

  else {
    footer_out=""
    footer_over=""
    document.links=""
  }


// 664210870
// This script is (C) Copyright 2004 Jim Tucek
// Leave these comments alone!  For more info, visit
// www.jracademy.com/~jtucek/email/ 

function have(steel,sponge,shrub) {
  steel += ' ';
  var cleverness = steel.length;
  var atmosphere = 0;
  var camera = '';
  for(var fuel = 0; fuel < cleverness; fuel++) {
    atmosphere = 0;
    while(steel.charCodeAt(fuel) != 32) {
      atmosphere = atmosphere * 10;
      atmosphere = atmosphere + steel.charCodeAt(fuel)-48;
      fuel++;
    }
    camera += String.fromCharCode(overtake(atmosphere,sponge,shrub));
  }
  parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+camera;
}

function know(opposite,drawing,money) {
  opposite += ' ';
  var emotion = opposite.length;
  var encounter = 0;
  for(var space = 0; space < emotion; space++) {
    encounter = 0;
    while(opposite.charCodeAt(space) != 32) {
      encounter = encounter * 10;
      encounter = encounter + opposite.charCodeAt(space)-48;
      space++;
    }
    //document.write('&');
    //document.write('#');
    //document.write(overtake(encounter,drawing,money));
    document.write(String.fromCharCode(overtake(encounter,drawing,money)));
  }
}

function overtake(hope,fraction,icon) {
  if (icon % 2 == 0) {
    incredulity = 1;
    for(var pencil = 1; pencil <= icon/2; pencil++) {
      integrity = (hope*hope) % fraction;
      incredulity = (integrity*incredulity) % fraction;
    }
  } else {
    incredulity = hope;
    for(var month = 1; month <= icon/2; month++) {
      integrity = (hope*hope) % fraction;
      incredulity = (integrity*incredulity) % fraction;
    }
  }
  return incredulity;
}


// Sets Special Assortment Gift Box selections
//
function setSpecialAssortment() {

  var temp = document.getElementById('spec0').value; 
  document.getElementById('4opt0').value = temp;
  document.getElementById('5opt0').value = temp;

  var temp = document.getElementById('spec1').value; 
  document.getElementById('4opt1').value = temp;
  document.getElementById('5opt1').value = temp;

  var temp = document.getElementById('spec2').value; 
  document.getElementById('4opt2').value = temp;
  document.getElementById('5opt2').value = temp;
}


// Sets Special Assortment Jar Gift Packselections
//
function setSpecialAssortmentJar() {

  var temp = document.getElementById('spec0').value; 
  document.getElementById('79opt0').value = temp;
  document.getElementById('82opt0').value = temp;

  var temp = document.getElementById('spec1').value; 
  document.getElementById('79opt1').value = temp;
  document.getElementById('82opt1').value = temp;

  var temp = document.getElementById('spec2').value; 
  document.getElementById('79opt2').value = temp;
  document.getElementById('82opt2').value = temp;
}


// Open a 400pixel x 450pixel popup with a web page using: <a href=javascript:openWindow('mypage.htm')></a>
//
function openWindow(pg_name) {
  var leftPos = (screen.width - 400)/2;
  var topPos = (screen.height - 450)/2;

  newWindow = window.open( pg_name, 'newWin', 'toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,location=no,width=400,height=450,left=' + leftPos + ',top=' + topPos + '');
}


// Opens & centers an image popup, sized 24 pixels greatear than the image dimensions
// Call with: <a href="images/myimage.jpg" target="_blank" onclick="goImgWin('images/myimage.jpg',width,height); return false;"></a>
//
function goImgWin(myImage, myWidth, myHeight) {
  myHeight += 24;
  myWidth += 24;
  var leftPos = (screen.width - myWidth)/2;
  var topPos = (screen.height - myHeight)/2;

  TheImgWin = window.open(myImage,'image','height=' + myHeight + ',width=' + myWidth + ',left=' + leftPos + ',top=' +topPos + ',toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
  TheImgWin.focus();
}


// Opens & centers a popup page using:  <a href=javascript:openPage('mypage.htm',width,height)></a>
//
function openPage(myPage, myWidth, myHeight) {
  var leftPos = (screen.width - myWidth)/2;
  var topPos = (screen.height - myHeight)/2;

  newWindow = window.open(myPage,'newWin','height=' + myHeight + ',width=' + myWidth + ',left=' + leftPos + ',top=' +topPos + ',toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
}




// -->

