function Help()
{var hwindow; options = "location=yes,menubar=yes,resizable=yes,titlebar=yes,scrollbars=yes,width=515,height=260"; hwindow = window.open("help.htm", "help", options);}

function Skim()
{var swindow; options = "location=yes,menubar=yes,resizable=yes,titlebar=yes,scrollbars=yes,width=425,height=410"; swindow = window.open("skim/index3.htm", "skim", options);}


function Index()
{var swindow; options = "location=yes,menubar=yes,resizable=yes,titlebar=yes,scrollbars=yes,width=425,height=250"; swindow = window.open("skim/1185.htm", "index", options);}

SlideCount = 132;  
SlideIndex = 0;  
SlideNames = new Object();
SlideNames2 = new Object();

for (buildPresentation = 0; buildPresentation < SlideCount; buildPresentation++)
{
    fileIndex = buildPresentation;
    mergedName = (1000 + fileIndex + ".htm");
    SlideNames[buildPresentation] = mergedName;
	fileIndex = buildPresentation; 
	mergedName2 = (0 + fileIndex + 0);
	SlideNames2[buildPresentation] = mergedName2;
}


function slideChange(iterator) 
{
  SlideIndex = SlideIndex + iterator;
  if (SlideIndex < 0) SlideIndex = SlideCount - 1;
  if (SlideIndex == SlideCount) SlideIndex = 0;

   if (document) top.frames.photos["left"].document.location.href = SlideNames[SlideIndex];

  document.form1.num.value = SlideNames2[SlideIndex]; 
}


function jump(slidenum) 
{
  SlideIndex = SlideIndex + slidenum;
  if (document) top.frames.photos["left"].document.location.href = SlideNames[SlideIndex];

  document.form1.num.value = SlideNames2[SlideIndex]; 

if (SlideIndex < 0)	
	alert("Beyond start of text.\nTo reset, please click\nthe +10 button.");

if (SlideIndex >= SlideCount)	
	alert("Beyond end of text.\nTo reset, please click\nthe --10 button.");
}


 function goto_slide(num)
  {
  var mynum = document.form1.num.value;
  mynum = mynum -0;
	SlideIndex =  mynum;
	  if (document) top.frames.photos["left"].document.location.href = SlideNames[SlideIndex]; 
 }

	
