/*
	jRespond.js (a simple way to globally manage javascript on responsive websites)
	version 0.7.2
	(c) 2012 Jeremy Fields [jeremy.fields@viget.com]
	released under the MIT license
*/
(function(win,doc,undefine) {
	
	'use strict';
	
	win.jRespond = function(breakpoints) {
		
		// array for registered functions
		var mediaListeners = [];
		
		// array that corresponds to mediaListeners that holds the cuurrent on/off state
		var mediaInit = [];
	
		// array of media query breakpoints; adjust as needed
		var mediaBreakpoints = breakpoints;
		
		// store the current breakpoint
		var curr = '';
		
		// window resize event timer stuff
		var resizeTimer;
		var resizeW = 0;
		var resizeTmrFast = 100;
		var resizeTmrSlow = 500;
		var resizeTmrSpd = resizeTmrSlow;
		
		// cross browser window width
		var winWidth = function() {
			
			var w = 0;
			
			// IE
			if (!window.innerWidth) {
				
				if (!(document.documentElement.clientWidth === 0)) {
				
					// strict mode
					w = document.documentElement.clientWidth;
				} else {
					
					// quirks mode
					w = document.body.clientWidth;
				}
			} else {
				
				// w3c
				w = window.innerWidth;
			}
			
			return w;
		};
		
		// send media to the mediaListeners array
		var addFunction = function(elm) {
			
			var brkpt = elm['breakpoint'];
			var entr = elm['enter'] || undefined;
			
			// add function to stack
			mediaListeners.push(elm);
			
			// add corresponding entry to mediaInit
			mediaInit.push(false);
			
			if (testForCurr(brkpt)) {
				if (entr !== undefined) {
					entr.call();
				}
				mediaInit[(mediaListeners.length - 1)] = true;
			}
		};
		
		// loops through all registered functions and determines if they should be fired
		var cycleThrough = function() {
			
			var enterArray = [],
				exitArray = [];
			
			for (var i = 0; i < mediaListeners.length; i++) {
				var brkpt = mediaListeners[i]['breakpoint'];
				var entr = mediaListeners[i]['enter'] || undefined;
				var exit = mediaListeners[i]['exit'] || undefined;
				
				if (testForCurr(brkpt)) {
					if (entr !== undefined && !mediaInit[i]) {
						enterArray.push(entr);
					}
					mediaInit[i] = true;
				} else {
					if (exit !== undefined && mediaInit[i]) {
						exitArray.push(exit);
					}
					mediaInit[i] = false;
				}
			}
			
			// loop through exit functions to call
			for (var j = 0; j < exitArray.length; j++) {
				exitArray[j].call();
			}
			
			// then loop through enter functions to call
			for (var k = 0; k < enterArray.length; k++) {
				enterArray[k].call();
			}
		};
		
		// checks for the correct breakpoint against the mediaBreakpoints list
		var returnBreakpoint = function(width) {
			
			for (var i = 0; i < mediaBreakpoints.length; i++) {
				if (width >= mediaBreakpoints[i]['enter'] && width <= mediaBreakpoints[i]['exit'] && curr !== mediaBreakpoints[i]['label']) {
					
					// update curr variable
					curr = mediaBreakpoints[i]['label'];
					
					// run the loop
					cycleThrough();
				}
			}
		};
		
		// takes the breakpoint/s arguement from an object and tests it against the current state
		var testForCurr = function(elm) {
			
			if (typeof elm === 'object') {
				if (elm.join().indexOf(curr) >= 0) {
					return true;
				}
			} else if (typeof elm === 'string') {
				if (curr === elm) {
					return true;
				}
			}
		};
		
		// self-calling function that checks the browser width and delegates if it detects a change
		var checkResize = function() {
			
			// get current width
			var w = winWidth();
			
			// if there is a change speed up the timer and fire the returnBreakpoint function
			if (w !== resizeW) {
				resizeTmrSpd = resizeTmrFast;
				
				returnBreakpoint(w);
			
			// otherwise keep on keepin' on
			} else {
				resizeTmrSpd = resizeTmrSlow;
			}
			
			resizeW = w;
			
			// calls itself on a setTimeout
			setTimeout(checkResize, resizeTmrSpd);
		};
		checkResize();
		
		// make addFunction public
		return {
			addFunc: function(elm) { addFunction(elm); }
		};
	
	};
	
}(this,this.document));
@@ -203,16 +203,17 @@
 undefine
+d
 ) %7B%0A%09%0A%09'

Update js/jRespond.js