<!--
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_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_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];}
}


var thePictures = new Array()

thePictures[0] = 'graphics/header/picture_1.jpg'
thePictures[1] = 'graphics/header/picture_2.jpg'
thePictures[2] = 'graphics/header/picture_3.jpg'
thePictures[3] = 'graphics/header/picture_4.jpg'
thePictures[4] = 'graphics/header/picture_5.jpg'
thePictures[5] = 'graphics/header/picture_6.jpg'
thePictures[6] = 'graphics/header/picture_7.jpg'

var j = 0
var p = thePictures.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = thePictures[i]
}
var whichImage = Math.round(Math.random()*(p-1));

function showPicture(){
	document.write('<img src="'+thePictures[whichImage]+'" width=285 height=163 alt="Brickyard Animal Hospital">');
}

var theSlogans = new Array()

theSlogans[0] = 'graphics/header/slogan_1.jpg'
theSlogans[1] = 'graphics/header/slogan_2.jpg'
theSlogans[2] = 'graphics/header/slogan_3.jpg'

var jx = 0
var px = theSlogans.length;
var preBufferx = new Array()
for (ix = 0; ix < px; ix++){
   preBufferx[ix] = new Image()
   preBufferx[ix].src = theSlogans[ix]
}
var whichImagex = Math.round(Math.random()*(px-1));

function showSlogan(){
	document.write('<img src="'+theSlogans[whichImagex]+'" width=166 height=163 alt="801-486-0123">');
}
//-->
