function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function P7_LH(){ //1.5 by PVII
 P7_downImage();MM_preloadImages('images/home_down.jpg','images/about_down.jpg','images/services_down.jpg','images/training_products_down.jpg','images/resources_down.jpg','images/contact_us_down.jpg');
}
function P7_LoadHandler(a){ //1.5 by PVII
 if(a==1||a==3){onload=P7_LH;}if(a>1){onresize=P7_RH;}
}
P7_LoadHandler(1);

function P7_downImage(){ //v1.0 byPVII
var g,dd="_down";
if((g=MM_findObj(g7))!=null){gg=g.src;
tu=gg.lastIndexOf(".");
g.src=gg.substring(0,tu)+dd+gg.substring(tu,gg.length);}
}

// This script is (C) Copyright 2004 Jim Tucek
// Leave these comments alone!  For more info, visit
// www.jracademy.com/~jtucek/email/ 

function forgive(animal,art,seat) {
animal += ' ';
var assistant = animal.length;
var amount = 0;
var whine = '';
for(var discord = 0; discord < assistant; discord++) {
amount = 0;
while(animal.charCodeAt(discord) != 32) {
amount = amount * 10;
amount = amount + animal.charCodeAt(discord)-48;
discord++;
}
whine += String.fromCharCode(stand(amount,art,seat));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+whine;
}

function ring(distance,emotion,philosophy) {
distance += ' ';
var fire = distance.length;
var people = 0;
for(var human = 0; human < fire; human++) {
people = 0;
while(distance.charCodeAt(human) != 32) {
people = people * 10;
people = people + distance.charCodeAt(human)-48;
human++;
}
//document.write('&');
//document.write('#');
//document.write(stand(people,emotion,philosophy));
document.write(String.fromCharCode(stand(people,emotion,philosophy)));
}
}

function stand(impression,pencil,place) {
if (place % 2 == 0) {
male = 1;
for(var orange = 1; orange <= place/2; orange++) {
doctor = (impression*impression) % pencil;
male = (doctor*male) % pencil;
}
} else {
male = impression;
for(var nitrogen = 1; nitrogen <= place/2; nitrogen++) {
doctor = (impression*impression) % pencil;
male = (doctor*male) % pencil;
}
}
return male;
}