
if (self != top)
{
  top.location = self.location
}


function show(thingtoshow)
{
if(document.layers) // Netscape 4 can't do this
 {
 return
 }

if(document.all) // Internet Explorer
 {
 eval('document.all.' + thingtoshow + '.style.display="block"')
 }

if(!document.all && document.getElementById) // Mozilla-Netscape 6
 {
 document.getElementById(thingtoshow).style.display="block";
 }
}

//--------------------------------------------------------
// This function creates a new window for showing the WPA air photo maps. It was needed because IE6
// has automatic image resize that makes the image too small

var NewWindow

function MakeNewWindow(title, filename)
{

  if (!NewWindow || NewWindow.closed)
  {
    NewWindow = window.open("","","status=0,10,10,toolbar=1,dependent=1,scrollbars=1,resizable=1")
  }
 
  NewWindow.resizeTo(screen.availWidth*.8,screen.availHeight*.85)
  
  if (!NewWindow.opener)
  {
    NewWindow.opener = window
  }

var NewContent = ""

NewContent = "<HTML><HEAD><TITLE>"
NewContent+=title
NewContent+="</TITLE></HEAD><BODY TOPMARGIN='0' LEFTMARGIN='0' MARGINHEIGHT='0' MARGINWIDTH='0' BGCOLOR='#FFFFFF'><CENTER><img src='"

NewContent+=filename

NewContent+="' alt='Map of a Waterfowl Production Area'></CENTER></BODY></HTML>"

NewWindow.document.write(NewContent)
NewWindow.moveTo(20,20)
NewWindow.document.close()
NewWindow.focus()

}


<!-------------Slide Show---------------------->

<!-- Original:  CodeLifter.com (support@codelifter.com) -->
<!-- Web Site:  http://www.codelifter.com -->
<!-- Modified by Susan L. Bolander, Webworks7, to run two slide shows simultaneously -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

// Slide show #1 is the far left position and #2 is the far right position

// Set slideShowSpeed (milliseconds)
var slideShowSpeed1 = 5400;
var slideShowSpeed2 = 5700;

// Duration of crossfade (seconds)
var crossFadeDuration1 = 3;
var crossFadeDuration2 = 3;

var Pic1 = new Array();
var Alt1 = new Array();

var Pic2 = new Array();
var Alt2 = new Array();

var t1;
var t2;

var j1 = 0;
var j2 = 0;

var preLoad1 = new Array();
var preLoad2 = new Array();

Pic1[0] = 'home10.jpg'
Pic1[1] = 'home11.jpg'
Pic1[2] = 'home12.jpg'
Pic1[3] = 'home13.jpg'
Pic1[4] = 'home14.jpg'
Pic1[5] = 'home15.jpg'
Pic1[6] = 'home16.jpg'


Pic2[0] = 'home20.jpg'
Pic2[1] = 'home21.jpg'
Pic2[2] = 'home22.jpg'
Pic2[3] = 'home23.jpg'
Pic2[4] = 'home24.jpg'
Pic2[5] = 'home25.jpg'
Pic1[6] = 'home26.jpg'

var p1 = Pic1.length;
var p2 = Pic2.length;

function slideShow()
{
  for (i1 = 0; i1 < p1; i1++)
  {
    preLoad1[i1] = new Image();
    preLoad1[i1].src = Pic1[i1];
  }

  for (i2 = 0; i2 < p2; i2++)
  {
    preLoad2[i2] = new Image();
    preLoad2[i2].src = Pic2[i2];
  }

  runSlideShow1();
  runSlideShow2();
  
}

function runSlideShow1()
{
  if (document.all)
  {
    document.images.SlideShow1.style.filter="blendTrans(duration=2)";
    document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration1)";
    document.images.SlideShow1.filters.blendTrans.Apply();
  }
  document.images.SlideShow1.src = preLoad1[j1].src;
 // document.images.SlideShow1.alt = Alt1[j1];

  if (document.all)
  {
    document.images.SlideShow1.filters.blendTrans.Play();
  }
  j1 = j1 + 1;
  if (j1 > (p1 - 1)) j1 = 0;
  t1 = setTimeout('runSlideShow1()', slideShowSpeed1);
}

function runSlideShow2()
{
  if (document.all)
  {
    document.images.SlideShow2.style.filter="blendTrans(duration=2)";
    document.images.SlideShow2.style.filter="blendTrans(duration=crossFadeDuration2)";
    document.images.SlideShow2.filters.blendTrans.Apply();
  }
  document.images.SlideShow2.src = preLoad2[j2].src;
 // document.images.SlideShow2.alt = Alt2[j2];

  if (document.all)
  {
    document.images.SlideShow2.filters.blendTrans.Play();
  }
  j2 = j2 + 1;
  if (j2 > (p2 - 1)) j2 = 0;
  t2 = setTimeout('runSlideShow2()', slideShowSpeed2);
}












