function setTheClass(classToSet)
{
 if(classToSet.className=="menuBut")
 { 
  classToSet.className="menuBut2";
  status="View The "+classToSet.innerText+" Section";
 }
 else
 {
  classToSet.className="menuBut";
  status="Hillsboro Fine Art";
 }  
}
function getPage(classToGet)
{
 location.href="?si="+classToGet.id;
}
function openWin(artID,imgID)
{
 var page="artist.asp?ai="+artID+"&an="+imgID;
 var newWin=window.open(page,null,"height=470,width=385,status=no,location=no,scrollbars=no,toolbar=no,menubar=no,resizable=no,titlebar=no");
 newWin.focus();
}
function doStatus(obj)
{
 status="Go Back To Previous Page.";
 obj.style.textDecoration="underline";
 obj.style.cursor="pointer";
}
function undoStatus(obj)
{
 status="Hillsboro Fine Art";
 obj.style.textDecoration="none";
 obj.style.cursor="default";
}
function goBack()
{
  history.go(-1);
}
var verified=false;
function verify(theForm)
{
 var d=document.forms[theForm];
 if(d.elements["email"].value==d.elements["email"].value&&!verified)
 {
  alert("Please ensure your e-mail address is correct,\nthen click Submit.\n\n"+d.elements["email"].value);
  verified=true;
  d.elements["email"].focus();
  return false;
 }
}
var imgNum=1;
function changeImg()
{
  str="images/hillsboro";
  strEnd=".jpg";
  if(imgNum==1)
  {
   img.src=str+strEnd;
   imgNum++;
  }
  else
  {
   img.src=str+imgNum+strEnd;
   imgNum>imgCount-1?imgNum=1:imgNum++;
  }
}
function runShow()
{
  setInterval("changeImg()",10000);
}

var imgNum2=1;
function changeImg2()
{
  str="images/gallery";
  strEnd=".jpg";
  if(imgNum2==1)
  {
   img2.src=str+strEnd;
   imgNum2++;
  }
  else
  {
   img2.src=str+imgNum2+strEnd;
   imgNum2>imgCount-1?imgNum2=1:imgNum2++;
  }
}
function runShow2()
{
  setInterval("changeImg2()",10000);
}
