// JavaScript Document
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function checkdate(passform) { 
var lowage=search.from_age.value;

var highage=search.to_age.value;

if (highage < lowage){
alert('The FROM age you selected is lower than the TO age you selected. This will retrun 0 records. \n\nPlease Fix this and resubmit the form.');
return false;
}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '/images/photo06.jpg'
Pic[1] = '/images/photo01.jpg'
Pic[2] = '/images/photo02.jpg'
Pic[3] = '/images/photo03.jpg'
Pic[4] = '/images/photo04.jpg'
Pic[5] = '/images/photo05.jpg'
// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->

<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_findObj(n, d)
{
  var p, i, x;
  if((p=n.indexOf("?")) > 0 && parent.frames.length)
    {
      document=parent.frames[n.substring(p+1)].document;
      n=n.substring(0,p);
    }
  if(!(x=document[n]) && document.all) x=document.all[n];
  for (i=0; !x && i<document.forms.length; i++) x=document.forms[i][n];
  for(i=0; !x && document.layers && i<document.layers.length; i++)
    x=MM_findObj(n,document.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n);
  return x;
}

function checkdate(passform) { 
  var lowage=search.from_age.value;
  var highage=search.to_age.value;
  if (highage < lowage) {
    alert('The FROM age you selected is lower than the TO age you selected. This will retrun 0 records. \n\nPlease Fix this and resubmit the form.');
  return false;
  }
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {
    if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
      document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;
    }
  }
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->