// JavaScript Document

var count=0;

function prev()
{
n--;
if (n<0){n=p} 
document.form1.imgswap.src=arrypix[n];
sectorpiccaption=document.getElementById("imgcap");
sectorpiccaption.innerHTML = arryhead[n]+ "<br>"+arrycaps[n];
//sectorpictitle=document.getElementById("imgtitle");
//sectorpictitle.innerHTML = arrytitles[n];
//sectorpichead=document.getElementById("imghead");
//sectorpichead.innerHTML = arryhead[n];
}
function next()
{
n++;
alert("here");
if (n>p){n=0} 
document.form1.imgswap.src=arrypix[n];
caption=document.getElementById("imgcap");
alert(arryhead[n]);
caption.innerHTML = arryhead[n]+ "<br>"+arrycaps[n];
//sectorpichead=document.getElementById("imghead");
//sectorpichead.innerHTML = arryhead[n];
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
alert("here");
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function pdfwin() {
MM_openBrWindow("pdf_alert.asp","PDF","width=700,height=500,resizeable=yes")
}
function jump(targ,selObj,restore){ //v3.0
  location.replace(selObj.options[selObj.selectedIndex].value);
}
