if(document.images)
{
   buttonpreviouson = new Image
   buttonpreviousoff = new Image

   buttonpreviouson.src = "../previousbuttonon.gif"
   buttonpreviousoff.src = "../previousbutton.gif"

   buttonthumbnailson = new Image
   buttonthumbnailsoff = new Image

   buttonthumbnailson.src = "../thumbnailsbuttonon.gif"
   buttonthumbnailsoff.src = "../thumbnailsbutton.gif"

   buttonnexton = new Image
   buttonnextoff = new Image

   buttonnexton.src = "../nextbuttonon.gif"
   buttonnextoff.src = "../nextbutton.gif"
     
}
else
{
   buttonpreviouson = ""
   buttonpreviousoff = ""
   buttonprevious = ""  
   
   buttonthumbnailson = ""
   buttonthumbnailsoff = ""
   buttonthumbnails = ""

   buttonnexton = ""
   buttonnextoff = ""
   buttonnext = ""    
}

function imageRoll(imageField, newImage)
{
   if(document.images)
   {
   document[imageField].src=eval(newImage + ".src")
   }
}

function frameDisplay(page)
{
   if (top.location == self.location)
   {
      self.location.replace(page)
   }
}