//gallery.js

        currentImage = 0;
        imageWidth = 100;
        imageHeight = 66;


        function initialize() {
            if (document.images) {
               if (document.getElementById("slide01")) {
                document.getElementById("slide01").src = thumbsArray[0];}
               if (document.getElementById("slide02")) {
                document.getElementById("slide02").src = thumbsArray[1];}
               if (document.getElementById("slide03")) { 
                document.getElementById("slide03").src = thumbsArray[2];}
            }
        }

        function Back() {
            if (document.images) {
                if (currentImage > 0) currentImage = currentImage - 1 ;
                document.getElementById("slide01").src = thumbsArray[currentImage];
                document.getElementById("slide02").src = thumbsArray[currentImage+1];
                document.getElementById("slide03").src = thumbsArray[currentImage+2];
            }
        }


        function Forward() {
            if (document.images) {
                if (currentImage < thumbsArray.length - 3)  currentImage = currentImage + 1;
                document.getElementById("slide01").src = thumbsArray[currentImage];
                document.getElementById("slide02").src = thumbsArray[currentImage+1];
                document.getElementById("slide03").src = thumbsArray[currentImage+2];
            }
        }


// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 100;
PositionY = 60;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var autoClose = true;

// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charat(0))>=4)
{
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;
}

var optNN='scrollbars=no,width=670,height=500,left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=670,height=500,left='+PositionX+',top='+PositionY;

function popImage(imageURL,imageTitle){
         if (isNN){imgWin=window.open('about:blank','',optNN);}
         if (isIE){imgWin=window.open('about:blank','',optIE);}
         with (imgWin.document){
              writeln('<html><head><title>Loading...</title><style>body{margin:10px;}</style>');
              writeln('<sc'+'ript>');
              writeln('var isNN,isIE;');
              writeln('if (parseInt(navigator.appVersion.charat(0))>=4){');
              writeln('isNN=(navigator.appName=="Netscape")?1:0;');
              writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
              writeln('function reSizeToImage(){');
              writeln('if (isIE){');
              writeln('window.resizeTo(100,100);');
              writeln('width=100-(document.body.clientWidth-document.images[0].width)+40;');
              writeln('height=100-(document.body.clientHeight-document.images[0].height)+60;');
              writeln('window.resizeTo(width,height);}');
              writeln('if (isNN){');       
              writeln('window.innerWidth=document.images["imidz"].width+20;');
              writeln('window.innerHeight=document.images["imidz"].height+80;}}');
              writeln('function doTitle(){document.title="'+imageTitle+'";}');
              writeln('</sc'+'ript>');
              if (!autoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
              else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
              writeln('<img name="imidz" src='+imageURL+' style="display:block">');
              writeln('<br /><div align="center"><a href="JavaScript:window.close();" style="font-size:small; text-decoration:none; color:#EEEEEE; font-weight:bold" >Close</a></div>');
              writeln('</body></html>');
close();		
}}
      

