
    function rotation() {
      var num = rotationlist.length;
      var sel = Math.floor( (Math.random()* (num -2)) )
      var txt = rotationlist[sel+1]
      var info= txt.split('|')
      document.write("<img src=http://www.susantellergallery.com/work/" +  info[1] + " border=0><br>")
      document.write(info[2] + ': ' + info[3] + ', ' + info[4])
    }

    function selImg() {
      var num = MyImages.length;
      var sel = Math.floor( (Math.random()* (num -1)) )
      var txt = MyImages[sel+1]
      var info= txt.split('|')
      document.write("<img src=images/" +  info[1] + " border=0><br>")
      document.write(info[2] + ': ' + info[3] + ', ' + info[4])
    }

    function popPDF(page) {
 	size = 'width=500,height=670' + ',resizable'
 	popPd = window.open(page,'series',size)
 	popPd.document.close()
 	popPd.focus()
    }

    function popMac(page) {
 	size = 'width=740,height=610' + ',resizable,scrollbars=yes'
 	popMc = window.open(page,'mac',size)
 	popMc.document.close()
 	popMc.focus()
    }

    function popBio(page) {
 	size = 'width=350,height=600' + ',resizable,scrollbars=yes'
 	popBi = window.open(page,'bio',size)
 	popBi.document.close()
 	popBi.focus()
    }

    function popImg(page) {
 	size = 'width=700,height=800' + ',resizable,scrollbars=yes'
 	popIm = window.open(page,'img',size)
 	popIm.document.close()
 	popIm.focus()
    }

    function mailLink(typ) {
      document.write("<a class=art HREF=MAILTO:info\@SusanTellerGallery.com>info\@susantellergallery.com</a>")
    }
