<!-- Copyright 2000 William Bontrager
//
// This JavaScript will let you put a "bookmark me" instructional prompt 
//      on your web pages. Because different browsers handle bookmarks 
//      differently, the prompt can be different depending on the browser. 
//      You can construct either a clickable link or a button when the 
//      browser is IE. When the browser is Netscape, you can instruct the 
//      visitor that the "Control" and "D" combination will bookmark the 
//      page. You can specify a different text prompt when the browser is 
//      neither Netscape nor IE. (Note: The IE versions we tested on 
//      Macintosh does not act the same as IE versions on PC. Thus, the Mac 
//      gets its own text prompt.)
//
// Customization of this JavaScript code is only two steps. Then, wherever 
//      you want the bookmark prompt, use the example code presented in the 
//      BODY section of this example web page.
//


// Step 1:
// Specify the text prompt for Macintosh and the different PC browsers.
TextPromptMacintosh = "<b>Use Command/Apple-D to bookmark this page.</b>";
TextPromptIE = "<b>Bookmark our site!</b>";
TextPromptNetscape = "<b>Use Control-D to bookmark this page.</b>";
TextPromptOther = "<b>Don't forget to bookmark us!</b>";


// Step 2:
// The PC IE prompt can be a link or a button; specify "yes" or "no" for each.
IElinkPrompt = "no";
IEbuttonPrompt = "yes";


// End of customization.


// PrintPrompt() determines which prompt is appropriate and writes it.
function PrintPrompt() {
if((navigator.userAgent.indexOf('Mac') != -1) && ((navigator.appName.indexOf('Netsca') != -1) || (navigator.appName.indexOf('Naviga') != -1) || (navigator.appName.indexOf('Micros') != -1))) {
        document.write(TextPromptMacintosh);
        return;
        }
if((navigator.appName.indexOf('Netsca') != -1) || (navigator.appName.indexOf('Naviga') != -1)) {
        document.write(TextPromptNetscape);
        return;
        }
if(navigator.appName.indexOf('Micros') != -1) {
        if((IElinkPrompt == 'yes') || (IEbuttonPrompt != 'yes')) { document.write('<a href="javascript:BookmarkIEonPC()">' + TextPromptIE + '</a>'); }
        if(IEbuttonPrompt == 'yes') { document.write('<form><input type="button" value="' + TextPromptIE + '" onClick="BookmarkIEonPC()"></form>'); }
        return;
        }
document.write(TextPromptOther);
}

// BookmarkIEonPC() launches IE's bookmark dialog box (on PC only).
function BookmarkIEonPC() {
if(navigator.appName.indexOf('Microsoft') != -1) { window.external.AddFavorite(location.href,document.title); }
}

//-->

<!--
if (document.images){
img1on = new Image();
img1on.src="images/01.jpg";
img2on = new Image();
img2on.src="images/02.jpg";
img3on = new Image();
img3on.src="images/03.jpg";
img4on = new Image();
img4on.src="images/04.jpg";
img5on = new Image();
img5on.src="images/05.jpg";

img1off = new Image();
img1off.src="images/01off.jpg"
img2off = new Image();
img2off.src="images/02off.jpg"
img3off = new Image();
img3off.src="images/03off.jpg"
img4off = new Image();
img4off.src="images/04off.jpg"
img5off = new Image();
img5off.src="images/05off.jpg"
}

function imgOn (imgName){
  if(document.images){
        document[imgName].src=eval(imgName + "on.src");
        }
}
function imgOff (imgName){
  if(document.images){
        document[imgName].src=eval(imgName +"off.src");
        }
}
//-->


<!-- Begin
var interval = 11; // delay between rotating images (in seconds)
var random_display = 1; // 0 = no, 1 = yes
interval *= 1000;

var image_index = 0;
image_list = new Array();
image_list[image_index++] = new imageItem("images/alt/alt.jpg");
image_list[image_index++] = new imageItem("images/alt/alt01.jpg");
image_list[image_index++] = new imageItem("images/alt/alt02.jpg");
image_list[image_index++] = new imageItem("images/alt/alt03.jpg");
image_list[image_index++] = new imageItem("images/alt/alt04.jpg");
image_list[image_index++] = new imageItem("images/alt/alt05.jpg");
image_list[image_index++] = new imageItem("images/alt/alt06.jpg");
image_list[image_index++] = new imageItem("images/alt/alt07.jpg");
image_list[image_index++] = new imageItem("images/alt/alt08.jpg");
image_list[image_index++] = new imageItem("images/alt/alt09.jpg");
image_list[image_index++] = new imageItem("images/alt/alt10.jpg");
image_list[image_index++] = new imageItem("images/alt/alt11.jpg");
image_list[image_index++] = new imageItem("images/alt/alt12.jpg");
image_list[image_index++] = new imageItem("images/alt/alt13.jpg");
image_list[image_index++] = new imageItem("images/alt/alt14.jpg");
image_list[image_index++] = new imageItem("images/alt/alt15.jpg");
image_list[image_index++] = new imageItem("images/alt/alt16.jpg");
image_list[image_index++] = new imageItem("images/alt/alt17.jpg");
image_list[image_index++] = new imageItem("images/alt/alt18.jpg");
image_list[image_index++] = new imageItem("images/alt/alt19.jpg");
image_list[image_index++] = new imageItem("images/alt/alt21.jpg");
var number_of_image = image_list.length;
function imageItem(image_location) {
this.image_item = new Image();
this.image_item.src = image_location;
}
function get_ImageItemLocation(imageObj) {
return(imageObj.image_item.src)
}
function generate(x, y) {
var range = y - x + 1;
return Math.floor(Math.random() * range) + x;
}
function getNextImage() {
if (random_display) {
image_index = generate(0, number_of_image-1);
}
else {
image_index = (image_index+1) % number_of_image;
}
var new_image = get_ImageItemLocation(image_list[image_index]);
return(new_image);
}
function rotateImage(place) {
var new_image = getNextImage();
document[place].src = new_image;
var recur_call = "rotateImage('"+place+"')";
setTimeout(recur_call, interval);
}
//  End -->


defaultStatus="North Scottsdale Animal Hospital";

<!--
function openWin(url,xsize,ysize) {
        windowDescription = "width=" + xsize + ",height=" + ysize
        newWin = window.open(url,"nuWin",windowDescription)
        }
// -->


