<!--
var curX, curY;
function Move(evt) {
      var e = evt ? evt : event;
      curX = (screenLeft + e.x);
      curY = (screenTop + e.y);

}
if (document.layers)
      document.captureEvents(Event.MOUSEMOVE); 
document.onmousemove = Move;

function getbrowserwidth() {
      var bWidth;
      if (navigator.userAgent.indexOf("MSIE") > 0) {
            bWidth = document.body.clientWidth;
      } else {                                                
            bWidth = window.outerWidth;
      }
      return bWidth;   
}

function getbrowserheight() {
      var bheight;
      if (navigator.userAgent.indexOf("MSIE") > 0) {
            bheight = document.body.clientHeight;
      } else {                                                
            bheight = window.outerHeight;
      }
      return bheight;
}

var preloadFlag = false;

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		Nav01 = newImage("images/navigation/acupuncture-faqs-over.jpg");
		Nav02 = newImage("images/navigation/acupuncture-over.jpg");
		Nav03 = newImage("images/navigation/boarding-bathing-over.jpg");
		Nav04 = newImage("images/navigation/coupons-and-specials-over.jpg");
		Nav05 = newImage("images/navigation/doctors-over.jpg");
		Nav06 = newImage("images/navigation/dr-danna-over.jpg");
		Nav07 = newImage("images/navigation/dr-hafner-over.jpg");
		Nav08 = newImage("images/navigation/dr-matthews-over.jpg");
		Nav09 = newImage("images/navigation/dr-todd-over.jpg");
		Nav10 = newImage("images/navigation/dr-tucker-over.jpg");
		Nav11 = newImage("images/navigation/facility-photos-over.jpg");
		Nav12 = newImage("images/navigation/faqs-over.jpg");
		Nav13 = newImage("images/navigation/home-over.jpg");
		Nav14 = newImage("images/navigation/medical-services-over.jpg");
		Nav15 = newImage("images/navigation/new-clients-over.jpg");
		Nav16 = newImage("images/navigation/pharmacy-over.jpg");
		Nav17 = newImage("images/navigation/staff-over.jpg");
		Nav18 = newImage("images/navigation/staff-over.jpg");
		Rdm01 = newImage("images/random/large/large-1.jpg");
		Rdm02 = newImage("images/random/large/large-2.jpg");
		Rdm03 = newImage("images/random/large/large-3.jpg");
		Rdm04 = newImage("images/random/large/large-4.jpg");
		Rdm05 = newImage("images/random/large/large-5.jpg");
		Rdm06 = newImage("images/random/large/large-6.jpg");
		Rdm07 = newImage("images/random/large/large-7.jpg");
		Rdm08 = newImage("images/random/large/large-8.jpg");
		T01 = newImage("images/random/testimonials/testimonial-1.jpg");
		preloadFlag = true;
	}
}

var winLegal = null;
function goPrivacy() {
	var windowWidth = 500;
	var windowHeight = 500;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=1';
	
	if ((winLegal != null) && !winLegal.closed) {
		winLegal.close();
	};
	
	winLegal = open('privacy.aspx', 'winLegal', windowFeatures);
	winLegal.focus();
}

var winLegal = null;
function goNotices() {
	var windowWidth = 500;
	var windowHeight = 500;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=1';
	
	if ((winLegal != null) && !winLegal.closed) {
		winLegal.close();
	};
	
	winLegal = open('notices.aspx', 'winLegal', windowFeatures);
	winLegal.focus();
}

function checkMsg (msg, focusField) {
	if (msg == '')
		return true;
	else {
		msg = 'There Has Been An Error Processing Your Request.\nPlease Try Again!\n\n' + msg;
		alert (msg);
		focusField.focus();
		return false;
	}
}

function cancel (url) {
	window.location.replace(url);
}
// -->