function changeMouse(obj) {
 obj.style.cursor='pointer';
 }

function ChangeColour(trID,NewColour) {
 trOb=document.getElementById(trID);
 trOb.style.backgroundColor=NewColour
 }

function showMenu(SubMenu,Visibility,tdID,NewBG,pageID) {
 submen=document.getElementById(SubMenu);
 submen.style.display=Visibility;

 tdOb=document.getElementById(tdID);
 tdOb.style.backgroundImage = "url(" + menuBG[NewBG] + ")";
 window.status=pageID;
 }

function holdMenu(SubMenu,Visibility) {
 menuOb=document.getElementById(SubMenu);
 menuOb.style.display=Visibility
 }

function holdMenuParent(SubMenu,ParentMenu,Visibility){
 menuOb=document.getElementById(SubMenu);
 menuOb.style.display=Visibility

 menuParOb=document.getElementById(ParentMenu);
 menuParOb.style.display=Visibility
 }

function ChangeBG(trID,NewBG,pageID) {
 trOb=document.getElementById(trID);
 trOb.style.backgroundImage = "url(" + menuBG[NewBG] + ")";
 window.status=pageID;
 }

function clickit(event) {
 if (event.button=='2') alert("Website copyright (c) 2008 DS Services");
 }

function showPic(imgIdx) {
 addr="photoview.php?image=" + imgIdx;
 window.open(addr, null,"top=25,left=25,scrollbars=yes,height=575,width=670,status=no,toolbar=no,menubar=no,location=no,resizable=yes")
 }


function startTrans(slideIdx) {

   imgSlide=document.getElementById("imgViewer");
   imgSlide.filters.blendTrans.Apply();
   imgSlide.src = "thumbnail.php?size=32&qual=75&image=" + slideIdx;
   imgSlide.filters.blendTrans.Play();
   imgSlide.name = slideIdx
}

function sprintNavigate(linkAdrs,menuID) {

	menuOb=document.getElementById(menuID);
	menuOb.style.display='none';
	window.location.href=linkAdrs
  }