   function getif(picInx) {
      document.albform.picInx.value=picInx ;
      document.albform.submit() ;
   }
   function loadPrev() {
      if (currInx > 0) {
         loadf3(currInx-1) ;
      }
   }
   function loadNext() {
      if (currInx < picMaxInx) {
         loadf3(currInx+1) ;
      }
   }
   function loadf3( picInx) {
      var obj = document.getElementById('ifrm') ;
      if (obj ) {
	 var inx = picInx +picOfst ;
	 obj.src = myInfoList[inx].txt ;   
	 inx = myInfoList[inx].prnt ;
	 var hdr = document.getElementById('h2id') ;
	 var txt = "" ;
	 while (inx >= 0) {
	     txt = ":"+myInfoList[inx].txt +txt;
	     inx = myInfoList[inx].prnt ;
	 }
	 txt = "Hdr1"+txt ;
	 var txtNode = document.createTextNode(txt) ;
	 hdr.replaceChild(txtNode, hdr.firstChild) ;

	 var imgObj = myListDoc.getElementById('img'+currInx) ;
	 imgObj.className = 'imgn' ;
	 currInx = picInx ;
	 imgObj = myListDoc.getElementById('img'+currInx) ;
	 imgObj.className = 'imgh' ;
	 document.getElementById('pButt').disabled = (currInx < 1) ;
	 document.getElementById('nButt').disabled = (currInx > (picMaxInx-2)) ;
	 var obj2 = document.getElementById('iflnkid') ;
	 if (obj2) {
	    obj2.src = lnkUrlPref+'#anc'+picInx ;
	 }
      }
   }
   function setFirst(listDoc, hdrList, pOfst) {
      myInfoList = hdrList ;
      myListDoc = listDoc ;
      picOfst = pOfst ;
      picMaxInx = hdrList.length - pOfst ;
      loadf3(currInx) ;
      return ;
   }
   function pLoadf(hdrInx) {
      parent.loadf3(hdrInx) ;
   }
