

// Dreamweaver Rollover Scripts

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// End of Dreamweaver Rollover Scripts

// Write in Menu

function insertMenu() {
document.write('<div id=\"menudiv\" style=\"height:32px\"><a href=\"index.html\"><img src=\"images/01off.gif\"  ');
document.write('alt=\"Home\" name=\"home\" border=\"0\" id=\"home\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'home\',\'\',\'images/01ovr.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"team.html\"><img src=\"images/07off.gif\"  ');
document.write('alt=\"Staff\" name=\"staff\" border=\"0\" id=\"staff\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'staff\',\'\',\'images/07ovr.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"footcare.html\"><img src=\"images/03off.gif\"  ');
document.write('alt=\"Foot Care\" name=\"footcare\" border=\"0\" id=\"footcare\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'footcare\',\'\',\'images/03ovr.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"footproblems.html\"><img src=\"images/04off.gif\"  ');
document.write('alt=\"Foot Problems\" name=\"problems\" border=\"0\" id=\"problems\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'problems\',\'\',\'images/04ovr.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"fees.html\"><img src=\"images/05off.gif\"  ');
document.write('alt=\"Fees\" name=\"fees\" border=\"0\" id=\"fees\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'fees\',\'\',\'images/05ovr.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"surgery.html\"><img src=\"images/06off.gif\"  ');
document.write('alt=\"Surgery\" name=\"surgery\" border=\"0\" id=\"surgery\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'surgery\',\'\',\'images/06ovr.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"employment.html\"><img src=\"images/02off.gif\"  ');
document.write('alt=\"Employment\" name=\"employment\" border=\"0\" id=\"employment\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'employment\',\'\',\'images/02ovr.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\"  ');

document.write('/></a><a href=\"contactus.html\"><img src=\"images/08off.gif\"  ');
document.write('alt=\"Contact us\" name=\"contactus\" border=\"0\" id=\"contactus\" title=\"\"  ');
document.write('onmouseover=\"MM_swapImage(\'contactus\',\'\',\'images/08ovr.gif\',1)\"  ');
document.write('onmouseout=\"MM_swapImgRestore()\" /></a></div>  ');
}

// Slideshow Script starts here

// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 3000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 1;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1] = 'images/thumbs/Andrew.jpg'
Picture[2] = 'images/thumbs/AndrewT.jpg'
Picture[3] = 'images/thumbs/Kimberley.jpg'
Picture[4] = 'images/thumbs/michael_mccarrick138x178.jpg'
Picture[5] = 'images/thumbs/Dean.jpg'
Picture[6] = 'images/thumbs/Melanie.jpg'
Picture[7] = 'images/thumbs/Caitlyn.jpg'
Picture[8] = 'images/thumbs/Ines.jpg'
Picture[9] = 'images/thumbs/Sarah.jpg'
Picture[10] = 'images/thumbs/Virginnia.jpg'
Picture[11] = 'images/thumbs/stevenedwards.jpg'
Picture[12] = 'images/thumbs/ruthong.jpg'

// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "Dr Andrew Kingsford";
Caption[2]  = "Andrew Thompson";
Caption[3]  = "Kimberley Scott";
Caption[4]  = "Michael McCarrick";
Caption[5]  = "Dean Samaras";
Caption[6]  = "Melanie Cricco";
Caption[7]  = "Caitlyn Strachan";
Caption[8] = "Ines Durand";
Caption[9] = "Sarah Boothey";
Caption[10] = "Virginnia Kingsford";
Caption[11] = "Steven Edwards";
Caption[12] = "Ruth Ong";


// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;
var running=false;
var paused=false;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
running=true;

if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
//if (document.getElementById) document.getElementById("CaptionBox").innerHTML= '<a href="' + Caption[jss] +'.html">' + Caption[jss] + '</a>';
if (document.getElementById) document.getElementById("CaptionBox").innerHTML=Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}
function pause()
   {
      if(running==true)
      {
         if(paused==false)
         {
            paused=true;
            document.getElementById("pause").value="Resume";
            clearTimeout(tss);
            document.getElementById('number').innerHTML="Paused";
         }
         else
         {
            runSlideShow()
            paused=false;
            document.getElementById("pause").value="Pause";
         }
      }
   }


