<div id="mainWrapperHome">
	  <div id="header">
	        <img src="http://foodforpaws.com/_lib/images/Header3Blog.jpg" alt="Natasha's Food for Paws Logo" width="749" height="158" usemap="#Map" border="0" title="Natasha's Food for Paws Logo" />
<map name="Map" id="Map">
          <area shape="rect" coords="6,3,128,155" href="http://www.foodforpaws.com/blog/index.php" alt="Visit our Blog for news and information on animal health" title="Visit our Blog for news and information on animal health" />
          <area shape="rect" coords="338,4,744,45" href="index.html" alt="Food For Paws Home Page" title="Food For Paws Home Page" />
        <area shape="rect" coords="158,6,213,52" href="http://twitter.com/foodforpaws/" />
</map></div>
<div id="menu">
    <div id="menu_alt">
    				<p align="center"> <a href="http://www.adobe.com/products/flashplayer/">You need to download Flash to see this menu. Click here to download.</a><br />
   				      <a href="http://foodforpaws.com/index.html">Home</a> - <a href="http://foodforpaws.com/dish.html">Dish on Kibble</a> - <a href="http://foodforpaws.com/paws.html">Pawstory</a> - <a href="http://foodforpaws.com/products.html">Products</a> - <a href="http://foodforpaws.com/faqs.html">FAQs</a> - <a href="http://foodforpaws.com/mediawiki/index.php?title=Main_Page">Wiki</a></p>
	</div>
			
	<script type="text/javascript">
				// <![CDATA[
					var so = new SWFObject("_lib/swfs/menu.swf", "homeSwf", "749", "49", "6", "#f5d793");
					so.addParam("menu", "false");
					so.write("menu_alt");
				// ]]>
		</script>
  </div>// script.aculo.us slider.js v1.7.0, Fri Jan 19 19:16:36 CET 2007

// Copyright (c) 2005, 2006 Marty Haught, Thomas Fuchs 
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web site: http://script.aculo.us/

function K2Slider(handle, track, options) {
	var self = this;

	this.handle  = jQuery(handle);
    this.track   = jQuery(track);
    this.options = options || {};

    this.value     = this.options.value || 0;

    this.maximum   = this.options.maximum || 1;
    this.minimum   = this.options.minimum || 0;

    this.trackLength  = this.track.width();
    this.handleLength = this.handle.width();
	this.handle.css('position', 'absolute');

    this.active   = false;
    this.dragging = false;

    this.setValue(this.value);
   
    this.handle.mousedown(function(event) {
		self.active = true;

        var pointer	= self.pointerX(event);
		var offset	= self.track.offset();

		self.setValue(
			self.translateToValue(
				pointer-offset.left-(self.handleLength/2)
          	)
		);

		var offset = self.handle.offset();
		self.offsetX = (pointer - offset.left);
	});

	this.track.mousedown(function(event) {
		var offset	= self.track.offset();
        var pointer	= self.pointerX(event);

		self.setValue(
			self.translateToValue(
				pointer-offset.left-(self.handleLength/2)
          	)
		);
	});

	jQuery(document).mouseup(function(event){
		if (self.active && self.dragging) {
			self.active = false;
			self.dragging = false;

			self.updateFinished(self);
		}
		self.active = false;
		self.dragging = false;
	});

	jQuery(document).mousemove(function(event){
		if (self.active) {
			if (!self.dragging) self.dragging = true;

			self.draw(event);

			// fix AppleWebKit rendering
			if (navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);
		}
	});

	this.initialized = true;
};

K2Slider.prototype.getNearestValue = function(value) {
	if (value > this.maximum) return this.maximum;
	if (value < this.minimum) return this.minimum;
	return value;
};

K2Slider.prototype.setValue = function(value) {
	this.value = this.getNearestValue(value);

	this.handle.css('left', this.translateToPx(this.value));
   
	if (!this.dragging || !this.event) this.updateFinished(this);
};

K2Slider.prototype.setValueBy = function(delta) {
	this.setValue(this.value + delta);
};

K2Slider.prototype.translateToPx = function(value) {
	return Math.round(
		((this.trackLength-this.handleLength)/(this.maximum-this.minimum)) * 
		(value - this.minimum)) + "px";
};

K2Slider.prototype.translateToValue = function(offset) {
	return Math.round(
		((offset/(this.trackLength-this.handleLength) * 
		(this.maximum-this.minimum)) + this.minimum));
};

K2Slider.prototype.draw = function(event) {
	var pointer = this.pointerX(event);
	var offset	= this.track.offset();
	pointer		-= this.offsetX + offset.left;

    this.event = event;
	this.setValue( this.translateToValue(pointer) );

	if (this.initialized && this.options.onSlide)
		this.options.onSlide(this.value);
};

K2Slider.prototype.updateFinished = function(self) {
	if (self.initialized && self.options.onChange) 
		self.options.onChange(self.value);

	self.event = null;
};

K2Slider.prototype.pointerX = function(event) {
	return event.pageX || (event.clientX +
		(document.documentElement.scrollLeft || document.body.scrollLeft));
};

K2Slider.prototype.isLeftClick = function(event) {
	return (((event.which) && (event.which == 1)) ||
		((event.button) && (event.button == 1)));
};
