/*
 *
 *	jQuery Timer plugin v0.1
 *		Matt Schmidt [http://www.mattptr.net]
 *
 *	Licensed under the BSD License:
 *		http://mattptr.net/license/license.txt
 *
 */
jQuery.timer=function(b,d){b=b||100;if(!d)return false;_timer=function(e,f){this.stop=function(){clearInterval(a.id)};this.internalCallback=function(){f(a)};this.reset=function(c){a.id&&clearInterval(a.id);c=c||100;this.id=setInterval(this.internalCallback,c)};this.interval=e;this.id=setInterval(this.internalCallback,this.interval);var a=this};return new _timer(b,d)};

