// JavaScript Document




function getNext(index,num)
{
if (index > (num-1))  {
      document.location.href = "text.htm";
   } else
   		document.location.href = "pic"+((index)*1+1)+".htm";
}

function getLast(index)
{
if (index < 2)  {
      document.location.href = "text.htm";
   } else
   		document.location.href = "pic"+((index)*1-1)+".htm";
}
